Calculus

Central Difference

Pupils compare the two outer tiles around a central marker.

Central Difference definition

A central difference uses sample points on both sides of the point where a derivative is estimated.

In Spanish
diferencia centrada
Topic
Numerical approximation

Central Difference in a picture

Central Difference diagramFor f(x) = x² at x = 2, a step of 0.1 gives a centered estimate of exactly 4.Use x − h = 1.9 and x + h = 2.1Their values are 3.61 and 4.414.41 − 3.61 = 0.80The total separation is 0.20.80 ÷ 0.2 = 4This equals the true derivative here
For f(x) = x² at x = 2, a step of 0.1 gives a centered estimate of exactly 4.

How it works

With h > 0, the centered first-derivative quotient at x is [f(x + h) − f(x − h)]/(2h). The sampled points are equally far from x and are separated by 2h. For a sufficiently smooth function, its truncation error usually decreases proportionally to h² as h gets small.

Worked examples

Find the centered estimate for f(x) = x³ at x = 1 with h = 0.1.

(1.331 − 0.729)/0.2 = 3.01.

Why is the divisor 2h?

The left and right samples are 2h apart.

Can you use this formula at a domain boundary where x − h is undefined?

No. A one-sided formula can use available points.

Common mistake

Use symmetric sample points and divide by their full separation, 2h.

Quick check

Which points are sampled?

Show answer

x − h and x + h.

Does the formula need f(x)?

Show answer

No, this centered first-derivative quotient uses the two outer values.

What happens to the ideal h² error term when h is halved?

Show answer

It is divided by four.

Sources

Flashcard

Central Difference

Reveal the definition

A central difference uses sample points on both sides of the point where a derivative is estimated.

Effortless Math. “Central Difference.” Math Dictionary.