Canonical: https://knowlpedia.com/real-analysis/rolles-theorem/

# Rolle's theorem

A differentiable function equal at two endpoints has a critical point in between.

**Rolle's theorem:** Let \(f:[a,b]\to\mathbb{R}\) be continuous on \([a,b]\) and [differentiable](https://knowlpedia.com/real-analysis/differentiability-1d/) on \((a,b)\). If \(f(a)=f(b)\), then there exists \(c\in(a,b)\) such that
\[
f'(c)=0.
\]

This is a foundational consequence of the existence of a [local extremum](https://knowlpedia.com/real-analysis/local-extremum/) for continuous functions on compact intervals, and it is the key ingredient in the [mean value theorem](https://knowlpedia.com/real-analysis/mean-value-theorem/).
