Rolle's Theorem
Suppose a smooth trip starts and ends at the same altitude. Must the road be perfectly flat somewhere along the way? This must happen even for just an instant. Common sense says yes. You cannot go up and come back down to your starting height without pausing at some peak. Nor can you dip down and return without resting at some valley. Rolle's theorem makes this intuition rigorous. It translates a statement about heights (a function returning to the same value) into a statement about slopes (a derivative equal to zero). This small theorem is a hinge on which a great deal of calculus turns. It is the seed from which the Mean Value Theorem grows. Indeed, the Mean Value Theorem is proved by tilting the graph of a general function. This tilting continues until Rolle's theorem applies directly. From the Mean Value Theorem one derives several key results. These include the sign tests for increasing and decreasing functions. They also include the characterization of functions with zero derivative as constants. Taylor's theorem with remainder and L'Hôpital's rule follow as well. Much of the logical architecture connecting a function's derivative to its global behavior emerges too. Without Rolle's theorem, calculus would be different. It would be a collection of local facts about instantaneous rates of change. There would be no bridge to global statements about the function itself. The proof is a beautiful two-line argument. It is built entirely from two facts you already have in hand. The first is the Extreme Value Theorem. This guarantees a continuous function on a closed bounded interval attains a maximum and a minimum. The second is the interior-extremum criterion from Interior Extrema and the Vanishing Derivative. This says a differentiable function must have zero derivative at any interior point. Such a point is where the function attains a local extreme value. Rolle's theorem is essentially the observation that these two facts, placed side by side, cannot fail to produce a stationary point. This article states the theorem with all its hypotheses made explicit. It proves the theorem completely from the two prerequisite results. It examines what happens when each hypothesis is dropped. It also traces the theorem's history back to its 17th-century origin. This origin is a surprising one. Michel Rolle himself distrusted the infinitesimal calculus that now bears his name in this form.
- Rolle's theorem: if is continuous on , differentiable on , and , then some has .
- All three hypotheses (continuity on the closed interval, differentiability on the open interval, equal endpoint values) are load-bearing; dropping any one breaks the conclusion.
- The proof combines exactly two prior tools: the Extreme Value Theorem (existence of a max/min) and the interior-extremum criterion (a local extreme point has zero derivative there, if the derivative exists).
- The theorem guarantees existence of a critical point, not uniqueness, and gives no formula for finding it.
- It is the direct ancestor of the Mean Value Theorem, obtained by "tilting" an arbitrary function to make its endpoint values match.
- Key idea: a continuous function that returns to its starting value must attain an interior extremum, and at a point of interior extremum a differentiable function's slope is forced to zero.
Where this lives today
Rolle's theorem is the direct logical predecessor of the Mean Value Theorem: given any differentiable on (with no assumption that ), one defines the auxiliary function
which subtracts off the secant line joining to ; one checks , applies Rolle's theorem to , and translates the resulting back into . This single trick — reduce to Rolle by tilting — is the standard proof pattern reused throughout analysis. Beyond this direct descendant, Rolle's theorem (or its underlying Fermat-critical-point idea) recurs constantly:
- Root separation in numerical analysis: between any two consecutive real roots of a differentiable function, Rolle's theorem guarantees a root of the derivative, which underlies bisection-style root-isolation algorithms and Sturm's theorem on counting real roots of polynomials.
- Polynomial theory: Rolle's original algebraic statement bounds how the real roots of a polynomial and its derivative interlace, still used in establishing bounds on the number of real roots of a polynomial (Descartes' rule of signs proofs use related ideas).
- Physics and mechanics: any smooth motion that returns to its starting position at time having started at time must have zero instantaneous velocity at some intermediate time — a direct physical reading of the theorem, used in kinematics and control theory to argue the existence of "turning instants."
- Optimization and machine learning theory: the underlying interior-extremum principle Rolle's theorem depends on is the same principle behind first-order optimality conditions (gradient equals zero at an unconstrained optimum) used throughout convex optimization and the analysis of gradient descent.
- Complex and functional analysis generalizations: analogues and failures of Rolle's theorem in higher dimensions and for complex-differentiable functions are an active topic; the theorem does not generalize verbatim to complex analytic functions, which is itself an instructive boundary of the real-variable theory.
:::quiz[Let on . Why does this NOT contradict Rolle's theorem?]
- Because
- Because is not continuous on
- Because fails to be differentiable at the interior point , so a hypothesis of the theorem is not met ✓
- Because the Extreme Value Theorem fails for on
:::quiz[For on , which point(s) are guaranteed to exist, and confirmed, by Rolle's theorem?]
- only, since it is a root of
- , the midpoint of the interval
- , an interior point where ✓
- , the right endpoint
:::faq[Is Rolle's theorem true if is replaced by an unbounded interval, like ?] Not in general, precisely because the Extreme Value Theorem's compactness hypothesis (closed and bounded) fails. Consider for a bounded counterexample-adjacent case, or more simply note that a continuous function on with need not attain any extremum at all if the limiting behavior is only approached, never reached. The closed-and-bounded hypothesis on the interval is doing real work by way of guaranteeing compactness for the Extreme Value Theorem.
Ask the tutor: How does tilting a general function by its secant line turn Rolle's theorem into the Mean Value Theorem?
Let be real numbers and let be a function satisfying: 1. (Continuity) is continuous on the closed interval ; 2. (Differentiability) is differentiable at every point of the open interval ; 3. (Equal endpoints) . Then there exists at least one point such that
Intuition
Picture the graph of over : it starts at height , wanders around, and returns to the exact same height . If were constant, every point is a stationary point and there is nothing to prove. Otherwise the graph must rise above, or dip below, its starting height at some point in between — because it is continuous, it cannot jump directly from back to without doing something in between (unless it does nothing at all). Wherever the graph reaches its highest point (or its lowest point) strictly inside the interval, the tangent line there must be momentarily horizontal: an instant of zero velocity, exactly like the peak of a ball thrown straight up, where the ball's height stops increasing and starts decreasing, so its velocity passes through zero. The proof strategy exploits the Extreme Value Theorem, which is only about existence of a global max and global min on the closed interval, and combines it with the purely local fact that an interior extremum forces a zero derivative. The subtlety the proof must handle is that the max and min guaranteed by the Extreme Value Theorem might both occur at the endpoints and — and endpoints are not "interior," so the local criterion does not apply there. The resolution is a case split: if both extrema sit at the endpoints, then since , the max equals the min, forcing to be constant, and any interior point works. Otherwise, at least one extremum is genuinely interior, and the criterion applies directly to that point.
Let with , and let satisfy:
- is continuous on ,
- is differentiable on ,
- .
Then there exists with .
We use two previously established results and organize the argument as a case split. The technique is existence-by-extremum: locate a global extreme point using compactness, then show it must be interior, then invoke the local criterion there.
Step 1: Existence of a global maximum and minimum. Since is closed and bounded and is continuous on , the Extreme Value Theorem guarantees the existence of points such that
That is, attains a global minimum value and a global maximum value on .
Step 2: Case split on whether . Case A: . Then for every ,
which forces for all ; that is, is constant on . Pick any point in the (nonempty) open interval — such a point exists because . Since is constant near , the difference quotient
for all sufficiently small , so . This proves the theorem in Case A. Case B: . Since always, this means . We claim at least one of the extremum points found in Step 1 lies in the open interval , i.e., is not equal to or . Suppose, for contradiction, that both and lie in . Since by hypothesis, we would have regardless of which of each equals — because takes the same value at both endpoints. But and , so this would give , contradicting in this case. Hence at least one of is not an endpoint, i.e., lies in . Let denote this interior extremum point (if both happen to be interior, pick either one). By construction attains a global extreme value (maximum if , minimum if ) at , and in particular attains a local extreme value at relative to , since a global extreme value over is certainly a local extreme value there. Because , the point is an interior point of the domain at which has a local extremum, and is differentiable at (since and is differentiable throughout by hypothesis). By the interior-extremum criterion (sometimes called Fermat's interior extremum theorem), if a function is differentiable at an interior point of its domain and attains a local extremum there, its derivative at that point must vanish. Applying this to at gives
Conclusion. In both Case A and Case B we have produced a point with . Since these two cases are exhaustive ( or ), the theorem holds in general.
∎Worked examples
Example 1 (an asymmetric cubic). Let on the interval . Check the hypotheses. is a polynomial, hence continuous on , so certainly continuous on ; and differentiable everywhere, in particular on , with
Check the endpoint condition:
So : all three hypotheses of Rolle's theorem hold, even though the interval is not centered at a "nice" point and the function has no symmetry. Find the guaranteed point(s). Solve using the quadratic formula:
This gives or . The root is an endpoint, not in the open interval, so it is not the point Rolle's theorem promises (indeed the theorem only asserts existence of a point in the open interval — the appearance of as an algebraic root of is incidental here). The other root,
lies strictly inside the interval, confirming the theorem: , as required.
Example 2 (a case where the naive "midpoint guess" fails, testing the proof's logic). Let on . Check hypotheses. is a polynomial: continuous on and differentiable on . Endpoints:
So , satisfying the theorem's hypotheses. Locate the zero-derivative point. Expand:
Then
The roots of are and . Here is an endpoint (excluded from the open interval, consistent with the theorem only guaranteeing an interior point), while
is genuinely interior, and , confirming the conclusion. Note the midpoint of is , not : this example is deliberately asymmetric to show the guaranteed point need not be, and generally is not, the midpoint of the interval — Rolle's theorem promises existence of some interior critical point, never where it sits or that there is only one (here there would have been two critical points of inside had not been an endpoint, illustrating that the theorem's "" need not be unique when it exists in the interior more than once).
Consider on . Which hypotheses hold? is continuous on all of , in particular on — continuity holds. The endpoint condition holds: . But differentiability fails at the single interior point : the left-hand derivative there is and the right-hand derivative is , so does not exist. Thus exactly one hypothesis of Rolle's theorem — differentiability throughout the open interval — is violated, and only at a single point. The conclusion fails. For every , ; for every , ; and does not exist at all. So there is no point with . The theorem's conclusion is false here. Why the proof breaks. Revisit the proof: the Extreme Value Theorem still applies (it only needs continuity), producing a global minimum at , which is an interior point. But the interior-extremum criterion requires to be differentiable at that interior critical point to conclude the derivative vanishes there — and is not differentiable at . The proof's final step, "apply the interior-extremum criterion at ," has no valid target: the hypothesis " differentiable at " is simply false. This shows differentiability at every point of the open interval — not merely "differentiable at most points" — is essential; a single non-differentiable point, exactly at the location the extremum wants to occur, is enough to destroy the conclusion.
Scope, edge cases & common traps
| Situation | What happens |
|---|---|
| differentiable on (closed), not just | Hypotheses are still satisfied (differentiability on the open interval is implied); theorem applies as stated, with room to spare. |
| continuous on but only differentiable on for one bad point | Conclusion can fail — see the counterexample. |
| Rolle's theorem does not apply directly; this is precisely the setting generalized by the Mean Value Theorem. | |
| Domain is an open interval with no continuity assumed at endpoints (or endpoints not in domain at all) | The Extreme Value Theorem no longer guarantees a maximum/minimum is attained; the conclusion can fail (e.g. on , extended arbitrarily, has no interior critical point). |
| constant on | Every point of satisfies ; this is "Case A" of the proof and is the only situation where the guaranteed point is not unique in an essential way tied to a genuine extremum. |
| More than one point with | Perfectly consistent with the theorem — it asserts existence of at least one such point, never uniqueness. |
The mathematician behind it
Origins · 1 minMichel Rolle and how this was discovered
Michel Rolle was a self-taught French mathematician who worked as a clerk and later became a respected member of the Académie Royale des Sciences. He is best remembered today for a 1691 result, stated purely in the language of polynomial algebra, concerning the location of roots of a polynomial's derivative between consecutive roots of the polynomial itself — a discrete, algebraic ancestor of the theorem that now carries his name in the language of calculus. Ironically, Rolle was for years an outspoken critic of the newly invented infinitesimal calculus of Newton and Leibniz, viewing it as insufficiently rigorous, and he had no notion of a general continuous, differentiable function in the modern sense. The theorem's generalization to arbitrary differentiable functions, and its formulation via limits, emerged only later, notably in the rigorous treatments developed in the 19th century by mathematicians building the modern theory of Continuity and differentiation, including Cauchy, who used essentially this result as a stepping stone toward the Mean Value Theorem.
Does Rolle's theorem require , or just ?
Just — the common value need not be zero. Many textbook examples use functions vanishing at both endpoints because it makes finding the interval easy (just find two roots of ), but the theorem itself only cares that the two endpoint heights match, whatever that common height is. For instance on has , and Rolle's theorem still guarantees a point with , namely .
Why is the Extreme Value Theorem needed — couldn't we just look at where directly?
The whole difficulty is that we are not handed a formula for to solve directly; we only know is some differentiable function. Rolle's theorem is an existence statement valid for every differentiable function satisfying the hypotheses, including ones without a closed-form derivative. The Extreme Value Theorem is what guarantees, abstractly and for any continuous function on a closed bounded interval, that a highest and lowest point actually exist to reason about — without it, a function could in principle have a supremum that is never attained, and the whole argument would collapse.
What if is differentiable but is not continuous — does Rolle's theorem still apply?
Yes. Rolle's theorem only requires to be differentiable on ; it says nothing about the derivative function being continuous. A classic example is for and , whose derivative exists everywhere but is discontinuous at ; Rolle's theorem applies to such functions exactly as stated, because the interior-extremum criterion it relies on likewise never assumes continuity of the derivative.
Can Rolle's theorem produce more than one valid point ?
Absolutely, and this is not a contradiction of the theorem, which only claims existence of at least one point. For example on has , and vanishes at both and , both interior to . The theorem is silent on how many zeros of exist; it only guarantees the set is nonempty.
How does Rolle's theorem relate to finding roots of a derivative numerically?
It gives a sufficient condition for a root of to exist between two points where agrees, which underlies bracketing methods: if you can find two points with , Rolle's theorem certifies a critical point of lies strictly between them, and further subdividing (using the Intermediate Value Theorem on , if is continuous) can narrow down its location — this is one heuristic behind root-isolation techniques for derivatives in numerical root-finding and critical-point search algorithms.
Does an analogous theorem hold for complex-differentiable (holomorphic) functions?
No — Rolle's theorem is a distinctly real-variable phenomenon and fails for complex differentiable functions. For example satisfies , yet is never zero anywhere in , including on the segment . The proof of the real theorem relies essentially on the Extreme Value Theorem for real-valued continuous functions and the real-variable interior-extremum criterion, neither of which has a direct analogue for complex-valued functions in the same form.