Numerical Differentiation
Richardson Extrapolation
Improve derivative accuracy by combining two central-difference estimates with different step sizes: R = (4·D(h/2) - D(h)) / 3. Example: f(x)=x³, x=2, h=1 gives exact result R=12, error=0.
The result has O(h⁴) accuracy.
richardson-extrapolation
Richardson extrapolation cancels the leading O(h²) error term by combining two central-difference approximations: D1 = (f(x+h) - f(x-h)) / (2h) D2 = (f(x+h/2) - f(x-h/2)) / h R = (4·D2 - D1) / 3