Mean Value Theorem

Category: Calculus   Level: 301

f'(c) = (f(b) - f(a))/(b - a) for some c in (a, b)

On a smooth curve, the average slope between two points equals the exact slope at some point in between. Somewhere, the tangent is parallel to the secant.

Step through it

Watch it

Animated walkthrough

Step by step

Step 1: Pick two points

Take the curve y = √x from a = 1 to b = 9. The endpoints are A = (1, 1) and B = (9, 3).

f(1) = 1, f(9) = 3

Step 1: Pick two points

Step 2: Draw the secant line

The line from A to B rises 2 over a run of 8. Its slope 1/4 is the average slope of the curve on [1, 9].

(f(9) - f(1))/(9 - 1) = 2/8 = 0.25

Step 2: Draw the secant line

Step 3: Try some tangent lines

At x = 2 the tangent is too steep. At x = 8 it is too shallow. Somewhere between, the slope must pass through 1/4.

f'(2) ≈ 0.354 > 0.25 > f'(8) ≈ 0.177

Step 3: Try some tangent lines

Step 4: Find the parallel tangent

At c = 4 the tangent slope is exactly 1/4, so the tangent runs parallel to the secant. Drive 8 miles in 32 minutes and at some moment the speedometer reads exactly your average speed.

f'(c) = 1/(2 √(c)) = 1/4 ⇒ c = 4

Step 4: Find the parallel tangent

All steps at once

Storyboard

Generate it yourself

cd svg-generator
python3 -m svgmath render mean-value-theorem --out /tmp/mean-value-theorem

Source: svgmath/diagrams/derivatives.py