Rolle's Theorem
Statement
Let be continuous on and differentiable on . If , then there exists at least one point such that
In other words, whenever a smooth curve returns to its starting height, it must have had a horizontal tangent somewhere in between.
Visualization
Consider on .
Note and , so .
f(x) = (x-1)(x-3)
0 |*-----------* ← f(1)=0, f(3)=0
| \ /
-1 | \ /
| ·-----· ← tangent at c=2 is horizontal
-1 | \ /
| \ /
-1 | * ← minimum at x=2, f(2)=-1
+--+---+---+--
1 2 3
Derivative: , so .
| 1 | 0 | |
| 2 | 0 ✓ | |
| 3 | 0 |
The horizontal tangent at is guaranteed by Rolle's Theorem.
Proof Sketch
- Trivial case: If is constant on , then everywhere and any works.
- Non-trivial case: Since is continuous on the compact set , it attains its maximum and minimum (Extreme Value Theorem).
- Interior extremum: Since and is not constant, at least one of the extrema is attained at an interior point .
- Zero derivative: At an interior local extremum of a differentiable function, (Fermat's criterion). If or , then is locally monotone at , contradicting the extremum.
Connections
- Mean Value TheoremMean Value TheoremThere exists a point where the instantaneous rate of change equals the average rate of changeRead more → — the MVT is proved by applying Rolle's Theorem to where is the secant line
- Intermediate Value TheoremIntermediate Value TheoremA continuous function on a closed interval hits every value between its endpointsRead more → — the existence of an interior extremum uses continuity on a compact interval, the same hypothesis as IVT
- Taylor's TheoremTaylor's TheoremApproximate smooth functions by polynomials with explicit error boundsRead more → — Taylor's theorem in Lagrange remainder form uses the MVT repeatedly, which in turn rests on Rolle
Lean4 Proof
import Mathlib.Analysis.Calculus.LocalExtr.Rolle
/-- Rolle's Theorem: wraps Mathlib's `exists_hasDerivAt_eq_zero`. -/
theorem rolles_theorem {f f' : ℝ → ℝ} {a b : ℝ} (hab : a < b)
(hfc : ContinuousOn f (Set.Icc a b))
(hfI : f a = f b)
(hff' : ∀ x ∈ Set.Ioo a b, HasDerivAt f (f' x) x) :
∃ c ∈ Set.Ioo a b, f' c = 0 :=
exists_hasDerivAt_eq_zero hab hfc hfI hff'Referenced by
- Cauchy's Mean Value TheoremCalculus