Central difference for the derivative
Dh
Estimate f′(x) from one value on each side of x: (f(x + h) − f(x − h))/(2h).
Dh=3.01
D h equals (1.331 minus 0.729) divided by (2 times 0.1), equals 0.602 divided by 0.2, equals 3.01
Den här sidan finns på svenska. Byt till svenska
Definition — what does that mean?
Take one value on each side of x instead of one on the side, and the error shrinks with h² instead of h.
In Swedish: Centraldifferens för derivatan
Dh
Estimate f′(x) from one value on each side of x: (f(x + h) − f(x − h))/(2h).
Dh=3.01
D h equals (1.331 minus 0.729) divided by (2 times 0.1), equals 0.602 divided by 0.2, equals 3.01
You are given
The two points are 2h apart, which is the denominator. Enter f(x + h), f(x − h) and h in the card above. It is the slope of the chord through the points on either side of x, where the one-sided difference quotient uses x itself and one neighbour.
f(1.1) = 1.331 and f(0.9) = 0.729:
The true f′(1) = 3. The error 0.01 is h² · f‴/6 = 0.01 · 6/6, which is the size the method predicts.
The central quotient is (e0.1 − e−0.1)/0.2 = 1.0017, an error of 0.0017. The one-sided (e0.1 − 1)/0.1 = 1.0517 is off by 0.05, thirty times more. Halving h cuts the central error to a quarter.
Is it exact for anything?
For every polynomial of degree 2 or less, since the h² error term involves the third derivative.
| Solve for | Rearranged | With the numbers | Comes to |
|---|---|---|---|
| Dh | f(x + h) | 1.331 | 3.01 |
| f(x + h) | f(x − h) | 0.729 | 1.331 |
| f(x − h) | f(x + h) | 1.331 | 0.729 |
| h | f(x + h) | 1.331 | 0.1 |
Last reviewed October 11, 2026 ·How pages are reviewed
Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.