Rolle’s Theorem Explained with Worked Examples

Rolle’s theorem says that if is continuous on , differentiable on , and , then for some in .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Rolle’s theorem means

If a smooth curve starts and ends at the same height, somewhere in between it must have a horizontal tangent: a maximum or a minimum.

The conditions are important. Without continuity or differentiability, the conclusion can fail, as for on .

Rolle’s theorem is the special case of the mean value theorem where the endpoint values are equal. It is a special case of the mean value theorem, relies on the intermediate value theorem, and the stationary point it finds is as in stationary points. It also helps to know Derivative from first principles, which uses the same ideas.

This page is part of Differentiation in Calculus. Topics that work alongside it: Mean value theorem, Stationary points, Intermediate value theorem, L'Hôpital's rule, Curvature of a plane curve, Taylor’s theorem with Lagrange remainder and Logarithmic differentiation (x^x).

What is it used for?

Rolle’s theorem says that if a smooth function takes the same value at two points, then somewhere between them its gradient is zero.

How to use rolle’s theorem

  1. Check continuity and differentiability.
  2. Check .
  3. Solve .
  4. Pick the solution in .

Graph

f(x) = x² − 4x + 3 has f(1) = f(3) = 0f(1) = 0f(3) = 0f′(2) = 000.511.522.533.54-2-101234f(x) = x² − 4x + 3 has f(1) = f(3) = 0xyf(x)Graph with x from 0 to 4 and y from -2 to 4. Shows the curve f(x); point f(1) = 0 at (1, 0); point f(3) = 0 at (3, 0); point f′(2) = 0 at (2, -1).

The curve starts and ends at height 0 on [1, 3], so it must turn somewhere in between, where the tangent is flat.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: verify the theorem

Verify Rolle’s theorem for on and find .

Worked example Answer checked
Answer
c=2c=2
  1. Check the endpoints
  2. Differentiate
  3. Solve f′(c) = 0

Example 2: show a root of the derivative exists

has roots at . Show that has a root between 0 and .

Worked example
Answer
c=1c=1
  1. Rolle on [0, √3]
    Since , there is with .
  2. Find it

Example 3: a cubic on [−1, 1]

Verify Rolle’s theorem for on and find .

Worked example Answer checked
Answer
c=±13c = \pm\dfrac{1}{\sqrt3}
  1. Check the end values
  2. Find where f′(c) = 0
  3. Check c is inside the interval
    Both ±1/√3 ≈ ±0.577 lie in (−1, 1).

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

f = x² − 4x + 3 on [1, 3]

f(1) = f(3) = 0

f′(c) = 0 at c = 2.

f = x³ − x on [−1, 1]

3c² − 1 = 0

c = 0.5774.

f = sin x on [0, π]

cos c = 0

c = π/2 = 1.5708.

Endpoint check

f(1) and f(3)

0 and 0.

Word problems

If f is continuous on [a, b], differentiable on (a, b) and f(a) = f(b), then f′(c) = 0 for some c in (a, b).

Check endpoints

f = x² − 4x + 3: find f(1).

  1. 1 − 4 + 3
  2. Check: 0 = f(3) ✓0

Find c

Solve 2c − 4 = 0.

  1. c = 2
  2. Check: ✓2

Cubic Higher

f = x³ − x: 3c² = 1.

  1. √(1/3)
  2. Check: ✓0.5774

Sine Higher

f = sin x on [0, π]: cos c = 0.

  1. π/2
  2. Check: ✓1.5708

Common mistakes

f(a) ≠ f(b)

applies ✗

requires equal endpoints ✓

Else use MVT.

Non-differentiable

|x| on [−1, 1] ✗

fails at 0 ✓

Needs differentiability.

Unique c

one c ✗

at least one ✓

May be several.

c at an endpoint

allowed ✗

c in the open interval ✓

Strictly inside.

Exam tips

  1. f(a) = f(b).
  2. Continuous + differentiable.
  3. Solve f′(c) = 0.
  4. c inside (a, b).
  5. At least one c.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. c for x² − 6x on [0, 6] Foundation

3

2. c for x² − 2x on [0, 2] Foundation

1

3. f(0) for x³ − 4x Foundation

0

4. f(2) for x³ − 4x Higher

0

5. c² for x³ − 4x on [−2, 2]: 3c² = 4 (c to 4 d.p.) Higher

1.1547

6. c for cos x on [−π/2, π/2] Higher

0

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Rolle’s theorem
Equal endpoints ⇒ f′ = 0 somewhere.
Continuous
No breaks.
Differentiable
Smooth.
Stationary point
f′(c) = 0.
Open interval
(a, b).
Mean value theorem
Generalisation.

Frequently asked questions

What is Rolle’s theorem?

If f(a) = f(b) there is c with f′(c) = 0.

What conditions are needed?

Continuity on [a, b], differentiability on (a, b), equal endpoints.

Is c unique?

Not necessarily.

How does it relate to the MVT?

It is the special case f(a) = f(b).

Which page covers the mean value theorem?

mean value theorem.

Which page covers the intermediate value theorem?

intermediate value theorem.

More in Calculus and the formula sheets.