If a differentiable function starts and ends at the same height, its graph must have at least one point where the tangent is horizontal. This is Rolle's Theorem, and it is the key step in proving the Mean Value Theorem.
| Condition | Conclusion |
|---|---|
| continuous on | |
| f'(x) exists on | There exists with f'(c)=0 |
Statement of Rolle's Theorem

Let be a function with the following properties:
- is continuous everywhere on the closed interval .
- f'(x) exists at each point of the open interval .
If , then there is at least one point in the open interval such that f'(c)=0.
This theorem is intuitively clear: as increases from to , cannot always increase or always decrease, since . Hence, for at least one value of between and , the function must stop increasing and begin decreasing (or vice versa). By Fermat's Theorem, the derivative must be zero at that turning point.
The conditions require:
- At least one point where f'(c)=0, but there may be more than one.

Roots of Derivatives
In a special case where , Rolle's Theorem states that between any pair of roots of lies a root of f'(x).
Example. Let . This function has zeros at . Since is a polynomial, it is continuous and differentiable everywhere. Rolle's Theorem guarantees that f'(x) has at least one zero in each of the intervals $(2,3)$, , , and .

Another example. Consider , which has zeros at . Rolle's Theorem guarantees g'(x)=4x^3-2x=2x(2x^2-1) has at least one zero between and . In fact, g' has three roots: and .

Examples
Show that the equation has exactly one real solution.
Solution
Let . Since is a polynomial, it is continuous everywhere. Because and , by Bolzano's Theorem, has at least one zero between and $1$. If had more than one zero, Rolle's Theorem would guarantee the existence of a zero of f'(x). However: f'(x)=3x^2+1>0\quad\text{for all }x. Since f' has no zeros, cannot have more than one root.
When Rolle's Theorem Does Not Apply
The function must be continuous at all points in the closed interval , including the endpoints, but its derivative does not need to exist at the endpoints. If is discontinuous even at one point of the closed interval, or if f'(x) does not exist at an interior point, then Rolle's Theorem does not apply.

Consider on . Can we apply Rolle's Theorem?
Solution
This function is continuous on and . The derivative is: f'(x)=\begin{cases}1 & \text{if }0![Graph of y = |x| on [-2, 2] showing the corner at x = 0 where f' is undefined](https://adaptivebooks.org/book-images/calculus1/Ch6-Rolle-Derivative-Root7.png)
Consider on . Can we apply Rolle's Theorem?
Solution
The function is continuous on and . Its derivative: f'(x)=\frac{-x}{\sqrt{1-x^{2}}} exists everywhere on except at the endpoints . The conditions of Rolle's Theorem do not require differentiability at endpoints. Indeed, f'(0)=0, confirming the theorem's conclusion.
A Physical Interpretation
Consider a train moving along a straight track. If we observe the same train at the same station at 10 am and again at 4 pm, we know its speed must have been zero at some point between those times. If it never left the station, its speed was zero throughout. If it left and returned, it had to stop (even briefly) to reverse direction. This is exactly what Rolle's Theorem states.