Engineers differentiate functions that only exist at whole numbers — is that legitimate or a useful lie?
I am a software engineering student and I keep meeting this in hardware courses. A quantity is only defined for whole numbers — how many adder stages, how many pipeline registers, how many parallel units — and the analysis writes down a continuous function, differentiates it, sets the derivative to zero and rounds the answer to the nearest integer.
That is presented as the method, not as an approximation. But the underlying function does not exist between the integers, so its derivative should not exist either.
Is there a justification for this, and does it ever give the wrong answer?
@discrete_dilek · 3d ago
You have identified something real. The honest description of what is happening has three steps, and only the middle one is calculus.
Step 1 is the part that is never stated and it is where the assumption lives. There is no unique continuous extension of a function on the integers — infinitely many curves pass through the same set of points, and they have their minima in different places. The one being used is whichever one the algebra happened to produce.
So it is not illegitimate, but it is a modelling choice being presented as a derivation.
Reply
Report