Exercise 956Calculus › Single-variable calculus › Differentiation › Taylor expansionsL3Added 3 Nov 2026
Finite difference formulas for f′
#finite differences#numerical differentiation#error estimate
Statement
Let be sufficiently smooth. Using Taylor expansions, show that
1. ,
2. .
Test on at with .
Hint
In the even-order terms cancel.
Show solutionHide solution
Solution
1. , so
Dividing by gives the first formula.
2. Let (from part 1, pushed one order further). Consider :
- the coefficient of is ,
- the coefficient of is ,
- the coefficient of is .
Explicitly,
which is the stated formula, with error .
Numerics. For , , (exact value ):
- formula 1 gives (error ),
- formula 2 gives (error ).
Remark. Cancelling terms through a clever combination gains two orders of accuracy for the price of two more function evaluations.