The proof of Rolle’s theorem rests on Weierstrass’s theorem, which guarantees the existence of an absolute maximum and minimum for a continuous function on a closed and bounded interval.

Proof

By Weierstrass, ff continuous on [a,b][a,b] admits a maximum MM and a minimum mm. If M=mM=m, ff is constant and f(c)=0f'(c)=0 for every cc. Otherwise, at least one of MM and mm is attained at an interior point c(a,b)c\in(a,b): indeed, since f(a)=f(b)f(a)=f(b), if the maximum were attained only at the endpoints we would have M=f(a)=f(b)=mM=f(a)=f(b)=m, a contradiction. At cc the derivative vanishes, because the vanishing of the derivative is a necessary condition for an interior extremum. \blacksquare

Topics: Calculus theorems
Concepts: Rolle’s theorem · Weierstrass’s theorem
Skills: Proving
People: Michel Rolle · Karl Weierstrass