Rolle's Theorem: Statement, Proof & Examples

#Calculus
TL;DR
Rolle's Theorem states that if a function $f$ is continuous on the closed interval $[a,b]$, differentiable on the open interval $(a,b)$, and $f(a) = f(b)$, then there is at least one point $c$ in $(a,b)$ where $f'(c) = 0$. Geometrically, a smooth curve that starts and ends at the same height must have a horizontal tangent somewhere in between. It is the special case of the Mean Value Theorem where the two endpoints sit at equal height.
BT
Bhanzu TeamLast updated on September 23, 202612 min read

What Is Rolle's Theorem?

Rolle's Theorem is a result in calculus about where the derivative of a function must equal zero. It states the following precisely.

If $f$ is continuous on the closed interval $[a,b]$, differentiable on the open interval $(a,b)$, and $f(a) = f(b)$, then there exists at least one number $c$ in $(a,b)$ such that $f'(c) = 0$.

The three requirements are called the hypotheses of the theorem, and all three must hold:

  • Continuity on $[a,b]$: the graph has no breaks or jumps anywhere on the closed interval, endpoints included.

  • Differentiability on $(a,b)$: the graph has no sharp corners or vertical tangents anywhere strictly between $a$ and $b$.

  • Equal endpoint values: $f(a) = f(b)$, so the curve returns to the height it started from.

When these hold, the theorem promises a point $c$ where the slope of the tangent line is zero. It does not tell you where $c$ is, or how many such points exist, only that at least one is guaranteed to be there.

Table: The three hypotheses of Rolle's Theorem and what each one rules out.

Hypothesis

Plain meaning

What breaks it

Continuous on $[a,b]$

No breaks or holes across the whole closed interval

A jump or a removable hole

Differentiable on $(a,b)$

Smooth, with a well-defined tangent inside the interval

A corner (like $\lvert x\rvert$) or a vertical tangent

$f(a) = f(b)$

Same height at both ends

Endpoints at different heights

What Does Rolle's Theorem Mean Geometrically?

Draw any smooth curve, put your pencil down at a point, and lift it at a second point that is exactly the same height. Rolle's Theorem says the curve must level off at least once on the way.

If the curve rises after leaving the first point, it has to come back down to reach the equal-height second point, and at the turning point between rising and falling the tangent is flat. If it falls first, the same argument applies to the lowest turning point. Either way there is a point $c$ where $f'(c) = 0$, a horizontal tangent.

That is the whole geometric content: between two points of equal height on a smooth graph, there is always somewhere the tangent line runs perfectly flat.

How Do You Prove Rolle's Theorem?

The proof rests on one earlier result, the Extreme Value Theorem, which says a function continuous on a closed interval $[a,b]$ attains both a maximum and a minimum value somewhere on that interval.

Start from the three hypotheses. Because $f$ is continuous on $[a,b]$, it reaches a maximum value $M$ and a minimum value $m$ on the interval. There are two cases.

  • The extremes are both at the endpoints. Then $M = m$, because $f(a) = f(b)$ forces the highest and lowest values to be equal, so $f$ is constant on $[a,b]$. A constant function has $f'(x) = 0$ everywhere in $(a,b)$, and any interior point serves as $c$.

  • At least one extreme is inside. Suppose the maximum (or minimum) occurs at an interior point $c$ in $(a,b)$. Because $f$ is differentiable there, Fermat's theorem on interior extrema applies: at an interior maximum or minimum of a differentiable function, the derivative is zero. So $f'(c) = 0$.

In both cases a point $c$ in $(a,b)$ with $f'(c) = 0$ exists, which is exactly what the theorem claims. The continuity hypothesis is what delivers the extreme values, and the differentiability hypothesis is what lets Fermat's theorem turn an interior extreme into a zero derivative. Remove either one and the argument collapses, which is why both are required.

How Do You Apply Rolle's Theorem? (Worked Examples)

Applying the theorem is a fixed routine: check the three hypotheses, then solve $f'(x) = 0$ and keep the solutions that lie inside $(a,b)$.

Example 1: $f(x) = x^2 - 4x + 3$ on $[1, 3]$.

Check the hypotheses. As a polynomial, $f$ is continuous on $[1,3]$ and differentiable on $(1,3)$. The endpoints:

$$f(1) = 1 - 4 + 3 = 0, \qquad f(3) = 9 - 12 + 3 = 0$$

So $f(1) = f(3)$, and all three hypotheses hold. Now solve $f'(x) = 0$:

$$f'(x) = 2x - 4 = 0 ;\Rightarrow; x = 2$$

Since $2$ lies in $(1,3)$, it is the guaranteed point.

Final answer: $c = 2$.

Example 2: $f(x) = \sin x$ on $[0, \pi]$.

The sine function is continuous and differentiable everywhere, so the first two hypotheses hold on $[0,\pi]$. The endpoints:

$$f(0) = \sin 0 = 0, \qquad f(\pi) = \sin \pi = 0$$

So $f(0) = f(\pi)$. Using the standard derivative of a trigonometric function, solve $f'(x) = 0$:

$$f'(x) = \cos x = 0 ;\Rightarrow; x = \frac{\pi}{2} \text{ in } (0, \pi)$$

Final answer: $c = \dfrac{\pi}{2}$.

Example 3: $f(x) = x^3 - x$ on $[-1, 1]$ (more than one $c$).

The polynomial is continuous and differentiable everywhere. The endpoints:

$$f(-1) = -1 + 1 = 0, \qquad f(1) = 1 - 1 = 0$$

So $f(-1) = f(1)$. Solve $f'(x) = 0$:

$$f'(x) = 3x^2 - 1 = 0 ;\Rightarrow; x^2 = \frac{1}{3} ;\Rightarrow; x = \pm\frac{1}{\sqrt{3}} \approx \pm 0.5774$$

Both values lie in $(-1, 1)$, so this time the theorem's guaranteed point is not necessarily unique: there are two.

Final answer: $c = \pm\dfrac{1}{\sqrt{3}} \approx \pm 0.5774$.

Example 4: $f(x) = \lvert x \rvert$ on $[-1, 1]$ (a hypothesis fails).

Check the endpoints first: $f(-1) = 1$ and $f(1) = 1$, so $f(-1) = f(1)$, and $f$ is continuous on $[-1,1]$. But the absolute value function has a sharp corner at $x = 0$, so it is not differentiable at $0$, which lies inside $(-1, 1)$. The differentiability hypothesis fails, so Rolle's Theorem makes no promise here.

And indeed there is no such point: $f'(x) = -1$ for $x < 0$ and $f'(x) = +1$ for $x > 0$, so $f'(x)$ is never $0$. This is not a failure of the theorem, it is a case where the theorem simply does not apply.

Final answer: no $c$ exists; the differentiability hypothesis is not satisfied.

The Mean Value Theorem (MVT) is the close cousin of Rolle's Theorem. For a function continuous on $[a,b]$ and differentiable on $(a,b)$, the MVT guarantees a point $c$ in $(a,b)$ where

$$f'(c) = \frac{f(b) - f(a)}{b - a}$$

that is, a point where the tangent is parallel to the straight line joining the two endpoints.

Rolle's Theorem is the special case where $f(a) = f(b)$. Then the numerator $f(b) - f(a)$ is zero, the whole right side is zero, and the conclusion becomes $f'(c) = 0$, exactly Rolle's statement.

The relationship runs the other way too, and this is how the MVT is usually proved. Given any $f$ satisfying the MVT hypotheses, define the tilted auxiliary function

$$g(x) = f(x) - \left[ f(a) + \frac{f(b) - f(a)}{b - a}(x - a) \right]$$

which subtracts off the straight secant line. Then $g(a) = 0$ and $g(b) = 0$, so $g$ satisfies all of Rolle's hypotheses. Rolle's Theorem gives a point $c$ with $g'(c) = 0$, and differentiating $g$ shows that means $f'(c) = \dfrac{f(b) - f(a)}{b - a}$. Rolle is the seed; the Mean Value Theorem grows straight out of it.

Why Does Rolle's Theorem Work?

The theorem can feel like magic until you see the two ordinary facts underneath it.

  • A continuous function on a closed interval has a highest and a lowest point. This is the Extreme Value Theorem. It is why continuity is required: without it, a curve could sneak off to infinity or skip its own peak, and no guaranteed extreme point would exist.

  • At a smooth peak or valley inside the interval, the tangent is flat. This is Fermat's theorem on interior extrema. If the graph is rising just before a maximum and falling just after, the only slope that fits at the top is zero.

Rolle's Theorem is just these two facts joined together. Equal endpoint heights force the highest or lowest point to lie inside the interval rather than only at an end, and once an extreme point is trapped inside, differentiability makes the tangent there horizontal. The equal-height condition is what pins an extremum on the interior; smoothness is what flattens the tangent once it is pinned.

Who Discovered Rolle's Theorem?

The theorem carries a French name, but a recognisable version of the idea appears in India three centuries earlier.

Two more figures complete the picture:

  • Bhāskara II (1114–1185, India) recorded an early form of the idea in the 12th century, noting that a quantity which returns to its starting value must have a moment of zero instantaneous change, long before a formal proof existed.

  • Augustin-Louis Cauchy (1789–1857, France) gave the first rigorous modern proof in 1823, deriving it as a corollary while establishing the Mean Value Theorem, and placing Rolle's result on the firm footing of limits and continuity.

Where Is Rolle's Theorem Used In The Real World?

Rolle's Theorem is a guarantee, and guarantees are what applied mathematics builds on.

  • Physics and motion: an object that returns to its starting position has, by Rolle's Theorem, a moment of zero velocity in between, the turning point of a thrown ball or a bouncing spring.

  • Numerical analysis and error bounds: the theorem underlies the error formula for interpolation, guaranteeing the existence of a point where a certain derivative vanishes so an error term can be written down.

  • Root counting in algebra: between any two roots of a differentiable function, its derivative must have a root, which lets you bound how many solutions an equation can have.

  • Engineering and control: proving that a smooth signal returning to a set value must have a stationary instant helps certify that systems settle rather than drift.

  • Economics: if a quantity such as a price index ends a period at the value it began, Rolle's Theorem guarantees an instant of zero rate of change somewhere inside that period.

The same one-line promise, equal ends force a flat tangent between them, is what all of these rely on. A theorem that guarantees something exists is often more useful than a formula that computes it.

What Are The Most Common Mistakes With Rolle's Theorem?

These errors account for most lost marks on Rolle's Theorem, and they match the exact confusions students raise on r/learnmath, r/calculus, and Quora, and the questions Google surfaces under "People Also Ask".

Skipping the three hypothesis checks.

Where it slips in:

A student jumps straight to solving $f'(x) = 0$ without confirming continuity, differentiability, and $f(a) = f(b)$ first.

Don't do this:

Do not apply the conclusion before verifying every hypothesis. For $f(x) = \tan x$ on $[0, \pi]$, the endpoints match but $f$ is not even defined at $x = \tfrac{\pi}{2}$, so the theorem never applies.

The correct way:

Verify all three conditions explicitly, in order. If any one fails, stop and state that the theorem does not apply. See discontinuous functions for the kinds of breaks that void continuity.

Assuming the point $c$ is unique.

Where it slips in:

A student solves $f'(x) = 0$, finds one value, and stops, assuming there can only be one.

Don't do this:

Do not treat the guaranteed $c$ as the only one. Rolle's Theorem promises at least one point, not exactly one.

The correct way:

Solve $f'(x) = 0$ completely and keep every root inside $(a,b)$. For $f(x) = x^3 - x$ on $[-1, 1]$, there are two valid values, $c = \pm\tfrac{1}{\sqrt{3}}$.

Saying the theorem "fails" when a hypothesis is not met.

Where it slips in:

Seeing no valid $c$ for a function like $\lvert x \rvert$ on $[-1, 1]$, a student writes "Rolle's Theorem fails."

Don't do this:

Do not describe a hypothesis violation as the theorem failing. When differentiability breaks, the theorem simply makes no claim.

The correct way:

State that the theorem does not apply, and name the hypothesis that failed. The theorem is never wrong; it only speaks when its conditions are met.

Confusing Rolle's Theorem with the MVT or the Intermediate Value Theorem.

Where it slips in:

A student sets $f'(c) = \tfrac{f(b) - f(a)}{b - a}$ during a Rolle problem, or expects a target output value instead of a zero slope.

Don't do this:

Do not mix the three theorems. The Intermediate Value Theorem is about output values, the Mean Value Theorem about a slope equal to the average rate, and Rolle's Theorem about a zero slope.

The correct way:

For Rolle's Theorem the target is always $f'(c) = 0$, valid only because $f(a) = f(b)$ makes the average rate zero.

Practice Problems On Rolle's Theorem

Verify the hypotheses, then find every valid $c$. Answers follow each line.

  1. $f(x) = x^2 - 6x + 5$ on $[1, 5]$.
    (Answer: $f(1)=f(5)=0$; $f'(x)=2x-6=0$, so $c = 3$.)

  2. $f(x) = \cos x$ on $[0, 2\pi]$.
    (Answer: $f(0)=f(2\pi)=1$; $f'(x)=-\sin x=0$, so $c = \pi$.)

  3. $f(x) = x^2 - 9$ on $[-3, 3]$.
    (Answer: $f(-3)=f(3)=0$; $f'(x)=2x=0$, so $c = 0$.)

  4. $f(x) = (x-2)(x-6)$ on $[2, 6]$.
    (Answer: expand to $x^2-8x+12$; $f'(x)=2x-8=0$, so $c = 4$.)

  5. $f(x) = \lvert x - 1 \rvert$ on $[0, 2]$.
    (Answer: $f(0)=f(2)=1$, but $f$ is not differentiable at $x=1$; Rolle's Theorem does not apply, no $c$.)

  6. $f(x) = x^3 - 3x$ on $[-\sqrt{3}, \sqrt{3}]$.
    (Answer: $f(-\sqrt3)=f(\sqrt3)=0$; $f'(x)=3x^2-3=0$, so $c = \pm 1$.)

Where Should You Go Next After Rolle's Theorem?

Rolle's Theorem opens directly onto the core machinery of differential calculus, and a few natural doors follow from here.

  1. The derivative. Firm up what $f'(x)$ measures, since every step of Rolle's Theorem depends on reading the derivative as a slope.

  2. Tangents and normals. The horizontal tangent at $c$ is one case of the tangent line to a curve, the geometric object Rolle's Theorem is really about.

  3. Calculus. Step back to the wider subject and see where the Mean Value Theorem, which grows out of Rolle, leads next.

If your child is building these foundations, a live Bhanzu trainer teaches Rolle's Theorem from the geometry up, starting with the equal-height picture before the formal proof, in the Bhanzu math tutoring program.

Book a Free Demo

Was this article helpful?

Your feedback helps us write better content

Frequently Asked Questions

What are the three conditions of Rolle's Theorem?
The function must be continuous on the closed interval $[a,b]$, differentiable on the open interval $(a,b)$, and satisfy $f(a) = f(b)$. All three are required; if any one fails, the theorem makes no promise.
Is Rolle's Theorem the same as the Mean Value Theorem?
No, but they are closely tied. The Mean Value Theorem guarantees a point where $f'(c) = \tfrac{f(b)-f(a)}{b-a}$, and Rolle's Theorem is the special case where $f(a) = f(b)$, which makes that slope zero.
What does $c$ mean in Rolle's Theorem?
It is a point strictly inside $(a,b)$ where the derivative is zero, so the tangent line is horizontal. The theorem guarantees at least one such $c$ exists but does not tell you its value in advance.
Can there be more than one value of $c$?
Yes. Rolle's Theorem guarantees at least one point, not exactly one. For $f(x) = x^3 - x$ on $[-1, 1]$ there are two valid points, $c = \pm\tfrac{1}{\sqrt{3}}$.
Why does a function like $\lvert x \rvert$ not satisfy Rolle's Theorem?
Because it has a sharp corner at $x = 0$ and so is not differentiable there. The equal-height and continuity conditions hold, but the broken differentiability means the theorem does not apply, and no horizontal tangent exists.
Is the converse of Rolle's Theorem true?
No. A function can have a point where $f'(c) = 0$ without meeting Rolle's conditions, so a zero derivative does not imply the hypotheses were satisfied. The theorem runs in one direction only.
✍️ Written By
BT
Bhanzu Team
Content Creator and Editor
Bhanzu’s editorial team, known as Team Bhanzu, is made up of experienced educators, curriculum experts, content strategists, and fact-checkers dedicated to making math simple and engaging for learners worldwide. Every article and resource is carefully researched, thoughtfully structured, and rigorously reviewed to ensure accuracy, clarity, and real-world relevance. We understand that building strong math foundations can raise questions for students and parents alike. That’s why Team Bhanzu focuses on delivering practical insights, concept-driven explanations, and trustworthy guidance-empowering learners to develop confidence, speed, and a lifelong love for mathematics.
Related Articles
Book a FREE Demo ClassBook Now →