Recovering a derivative from values controlled only in the uniform norm is an ill-posed problem: the differentiation map is not continuous in those norms. On , take . Then , while has uniform norm one for every . Arbitrarily small value perturbations can therefore conceal nonvanishing derivative changes.
Numerical differentiation can still be useful when additional smoothness bounds, a suitable sampling scale, or a regularization method control the admissible changes. The basic noise amplification by differentiation of a linear interpolant gives a finite-data version: endpoint uncertainty of size produces derivative uncertainty of order at spacing .
Linear interpolant 2026-10-31
A linear interpolant is the unique polynomial of polynomial degree at most one taking prescribed values at distinct interpolation nodes . It is an affine function, including the constant function case. For , its two displayed coefficients are nonnegative and sum to one, so changing each sampled value by at most changes every interpolated value by at most . Differentiation instead uses the difference of the two samples divided by , causing noise amplification by differentiation of a linear interpolant.
Write and for the quantities computed from the perturbed second sample. The endpoint linear interpolation and its derivative are
Compare them on their interpolation interval , with fixed . Put , . The Taylor series of the sine gives, uniformly in ,
Here the second equality compares with . More generally, the exact derivative is and
The input perturbation itself changes the value interpolant by exactly , and changes its derivative by exactly . Thus
For fixed nonzero , the value approximation has a bounded noise floor: its maximum error approaches , and at that error is exactly . It does not converge uniformly to the exact values as . However, it does not amplify the absolute sample perturbation on . The derivative error instead grows without bound like .
With exact samples, , both approximations do converge on the shrinking interval: the value error is for this particular sine, and the derivative error is . With step-dependent noise, value convergence requires , whereas derivative convergence requires the stronger , where denotes little o notation.
This is noise amplification by differentiation of a linear interpolant. Value interpolation has an absolute perturbation bound independent of on the sampled interval. Numerical differentiation has a perturbation factor , expressing the ill-posedness of numerical differentiation from values with fixed absolute uncertainty. The amplification follows from the mathematical data map even in exact arithmetic; it is distinct from additional roundoff error in a particular implementation. For fixed outside , the operation becomes extrapolation, and the value perturbation can also diverge.
Figure 1.
Fixed sample noise gives a bounded value-error floor while differentiation amplifies it as
. Details.