Griffith observatory representing Rolles Theorum
Outlier Articles Home

Calculus

Rolle's Theorem: Definition, Examples & Conditions

08.11.2023 • 6 min read

Rachel McLean

Subject Matter Expert

Learn about Rolle's Theorem conditions, Lagrange’s Mean Value Theorem, and differentiable and continuous functions. We’ll also practice with solved examples.

In This Article

  1. What Is Rolle’s Theorem?

  2. Lagrange’s Mean Value Theorem

  3. What Are the 3 Conditions of Rolle’s Theorem?

  4. Rolle’s Theorem Proof

  5. Rolle’s Theorem Examples

  6. FAQs

What Is Rolle’s Theorem?

Rolle’s Theorem is one of the most critical theorems in calculus. Named after the French mathematician Michel Rolle, this theorem is a special case of Lagrange’s Mean Value Theorem.

Rolle’s Theorem goes like this:

Let the function ff be differentiable on the open interval (a,b)(a, b) and continuous on the closed interval [a,b][a, b]. If f(a)=f(b)f(a) = f(b), then at least 1 point cc is in the interval (a,b)(a, b) where f(c)=0f’(c) = 0.

 Graph showing the function f be differentiable on the open interval (a, b) and continuous on the closed interval

In other words, Rolle’s Theorem states that if your function has 2 points (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)) with the same y-value, then there must be at least 1 relative minimum or maximum between these 2 points where the function "turns around." The first derivative is 0 at this point.

Remember, this theorem only holds true as long as your function is also differentiable on (a,b)(a, b) and continuous on [a,b][a, b].

Visualizing this theorem using the Rolle’s Theorem example on the graph above might be helpful. This graph depicts the function y=(x2)2+5y = -(x-2)^2 + 5.

The 3 Rolle’s Theorem conditions are satisfied:

  • The 2 points in black, (0.586,3)(0.586, 3) and (3.414,3)(3.414, 3), have the same y-value.

  • Our parabola function is differentiable on (0.586,3.414)(0.586, 3.414).

  • Our parabola function is continuous on [0.586,3.414][0.586, 3.414].

Notice how a horizontal tangent line is at the point (2, 5), and so f’(2) = 0. This point sits in between the 2 black points since 0.586 < 2 < 3.414, so we’ve demonstrated that Rolle’s Theorem holds for the given function.

Michel Rolle (1652 - 1719) is best remembered for Rolle’s Theorem, but he also had several other mathematical contributions. For example, he created the notation xn\sqrt[n]{x} to represent the nth root of xx.

Lagrange’s Mean Value Theorem

What is Lagrange’s Mean Value Theorem? Lagrange’s Mean Value Theorem is an expanded version of Rolle’s Theorem. Consider the graph below to get a visual understanding of MVT calculus.

Graph showing MVT calculus

Lagrange’s Mean Value Theorem states that if the function ff is continuous on the closed interval [a,b][a, b] and differentiable on the open interval (a,b)(a, b), then there exists a point cc in the interval (a,b)(a, b) such that f(c)=f(b)f(a)baf'(c) = \frac{f(b) – f(a)}{b-a}.

In other words, Lagrange’s Mean Value Theorem states that a continuous and differentiable interval of a function must have a point where the tangent line’s slope is equal to the average slope over the interval. (This is also known as the slope of the secant line.) On a graph, this presents itself as 2 parallel lines.

Rolle's Theorem adds the extra condition that the average slope is 0. This means the function has a point where the tangent line’s slope is 0 within the given interval.

Let’s learn how to do Mean Value Theorem problems by using the graph above, where y=x32x+7y = x^3 - 2x + 7. Let a=1a = -1 and b=2b = 2. This function is differentiable on (1,2)(-1, 2) and continuous on [1,2][-1, 2], so the 2 conditions are satisfied.

Our next step is to find the average slope over the interval, which is f(b)f(a)ba=f(2)f(1)2(1)=1183=1\frac{f(b) – f(a)}{b-a} = \frac{f(2) – f(-1)}{2-(-1)} = \frac{11 – 8}{3} = 1. To find the point cc at which f(c)=f(b)f(a)ba=1f'(c) = \frac{f(b) – f(a)}{b-a} = 1, we can set the first derivative equal to 1.

So, we have:

f(x)=3x22=1f’(x) = 3x^2 - 2 = 1
3x2=33x^2 = 3
x2=1x^2 = 1
x=±1x = \pm 1

The open interval (1,2)(-1, 2) does not include its endpoints, so x=1x = -1 is outside our interval. So, c=1c = 1 is the point where f(c)=f(11)f(8)2(1)=1f'(c) = \frac{f(11) – f(8)}{2-(-1)} = 1 on (1,2)(-1, 2).

What Are the 3 Conditions of Rolle’s Theorem?

For Rolle’s Theorem to hold true, the 3 following conditions must be satisfied. You’ll notice ‌this theorem sounds ‌similar to Lagrange’s Mean Value Theorem, since Rolle’s Theorem is a special case of the Mean Value Theorem.

  1. The function ff is differentiable on (a,b)(a, b).

  2. The function ff is continuous on [a,b][a, b].

  3. f(a)=f(b)f(a) = f(b)

If these 3 conditions are true, then there exists at least 1 cc in the interval (a,b)(a, b) where f(c)=0f’(c) = 0.

Note the difference between (a,b)(a, b) and [a,b][a, b]. The interval (a,b)(a, b) is open, meaning that it doesn’t include its endpoints aa and bb. The interval [a,b][a, b] is closed. This means it does include its endpoints aa and bb.

How To Tell If a Function Is Continuous

If you can trace a curve on a graph without lifting your pencil, the function is continuous at every point. If you cannot trace a curve without lifting your pencil, the function is discontinuous at that point. This means it has a hole, break, jump, or vertical asymptote.

A function ff is continuous at the point x=ax = a if:

  • f(a)f(a) exists

  • limxaf(x)\lim_{x\to a}f(x) exists

  • f(a)=limxaf(x)f(a) = \lim_{x\to a}f(x)

What Does It Mean To Be Differentiable?

What does it mean for a function to be differentiable? If a function is differentiable, its derivative exists at every point in its domain. This means that we can find the derivative at every point on the function’s curve.

If a function is differentiable at a point x, the limit of the average rate of change of f over the interval [x, x +\Delta{x}] as \Delta{x} approaches 0 exists.

This limit looks like this:

f(x)=limΔx0ΔyΔx=limΔx0f(x+Δx)f(x)Δx=Lf’(x) = \mathop {\lim }\limits_{\Delta{x} \to 0} \frac{\Delta{y}}{\Delta{x}} = \mathop {\lim }\limits_{\Delta{x} \to 0} \frac{{f\left( {x + \Delta{x} } \right) - f\left( x \right)}}{\Delta{x} } = L

Knowing what corner points, cusps, vertical tangents, and discontinuities look like on a graph can help you identify the points where a function is not differentiable.

Here are some examples:

Corner Point

A corner point looks like 2 line segments of a function that meet at a sharp point. The slope to the left of a corner point is different from the slope to the right of the corner point.

Graph showing that a corner point looks like 2 line segments of a function meeting at a sharp point.

Cusp

A cusp looks like 2 curves that meet at a sharp point. The slope to the left of a corner point is different from the slope to the right of the corner point.

Graph showing a cusp and how it looks like 2 curves meeting at a sharp point

Vertical Tangent

At a vertical tangent, the slope of the tangent line approaches \pm infinity.

Graph showing a vertical tangent where the slope of the tangent line approaches infinity

Discontinuity

For example, at a jump discontinuity, the curve jumps abruptly to another point on the graph. The right and left-hand limits are not equal at this point.

A jump discontinuity, where curve jumps abruptly to another point on the graph

Rolle’s Theorem Proof

To start our proof of Rolle’s Theorem, let the function f be differentiable on the open interval (a, b) and continuous on the closed interval [a, b], and let f(a) = f(b). We will prove there’s at least 1 point c in the interval (a, b) where f’(c) = 0.

Since ff is continuous on [a,b][a, b], by the Extreme Value Theorem, we can say ‌there must be an absolute maximum and minimum on [a,b][a, b]. If these occur at the endpoints aa and bb, then ff is a constant function, and so f(x)=0f’(x) = 0 at any point.

Then every point satisfies Rolle’s Theorem, since we can pick any number cc in (a,b)(a, b) and have f(c)=0f'(c) = 0.

Suppose instead ‌the maximum occurs at an interior point x = c for a < c < b. Then f’(c) exists, since f is a differentiable function. Since ‌a local maximum is at x = c on (a, b), then f’(c) = 0 by Fermat’s Theorem.

Similarly, suppose instead ‌the minimum occurs at an interior point x = c for a < c < b. Then f’(c) exists, since f is differentiable. Since ‌a local minimum is at x = c on (a, b), then f’(c) = 0 by Fermat’s Theorem. This concludes our proof.

Rolle’s Theorem Examples

Let’s try some math problems using Rolle’s Theorem.

Example 1

Let f(x)=x22f(x) = x^2 - 2. Does Rolle’s Theorem guarantee the existence of cc such that f(c)=0f’(c) = 0 on (3,3)(-3, 3)? If so, find cc.

Since ff is a polynomial function, ff is continuous on [3,3][-3, 3] and differentiable on (3,3)(-3, 3). The first 2 conditions of Rolle’s Theorem are satisfied. Does f(3)=f(3)f(-3) = f(3)?

Let’s check:

f(3)=(3)22=7f(-3) = (-3)^2 - 2 = 7, and f(3)=(3)22=7f(3) = (3)^2 - 2 = 7, so f(3)=f(3)f(-3) = f(3). All 3 conditions are satisfied, so Rolle’s Theorem holds and guarantees the existence of cc such that f(c)=0f’(c) = 0 on (3,3)(-3, 3).

To find cc, we’ll set f(x)f’(x) equal to 0 and solve. Using the power rule, we have f’(x) = 2x. Setting f’(x) equal to 0 and solving, we have 2x = 0, so x = 0. Since -3 < 0 < 3, c = 0.

Example 2

Let g(x)=x37g(x) = x^3 - 7. Does Rolle’s Theorem guarantee the existence of cc such that g(c)=0g’(c) = 0 on (1,4)(1, 4)? If so, find cc.

Since gg is a polynomial function, gg is continuous on [1,4][1, 4] and differentiable on (1,4)(1, 4). The first 2 conditions of Rolle’s Theorem are satisfied. Does g(1)=g(4)g(1) = g(4)?

Let’s check: g(1)=17=6g(1) = 1 - 7 = -6, and g(4)=647=57g(4) = 64 - 7 = 57. Since g(1)g(4)g(1) \neq g(4), Rolle’s Theorem does not guarantee the existence of cc such that g(c)=0g’(c) = 0 on (1,4)(1, 4).

Example 3

Let h(x)=1x2h(x) = \frac{1}{x^2}. Does Rolle’s Theorem guarantee the existence of cc such that h(c)=0h’(c) = 0 on (1,1)(-1, 1)? If so, find cc.

The function hh is undefined at x=0x = 0, since ‌an infinite discontinuity is at x=0x = 0. Thus, hh is not a continuous function and the first 2 conditions are not satisfied, Rolle’s Theorem does not guarantee the existence of cc such that h(c)=0h’(c) = 0 on (1,4])(1, 4]).

FAQs

Here are a few commonly asked questions about Rolle’s Theorem.

What are the real-life applications of Rolle’s Theorem?

In math, Rolle’s Theorem is a vital tool for solving calculus problems that involve analyzing the behavior of function. It is also used to help prove the Mean Value Theorem and other important theorems. In physics, we can use Rolle’s Theorem to determine a projectile's trajectory. We can also use it in architectural settings to plan the construction of domes.

Is the Converse of Rolle's Theorem True?

The converse of Rolle’s Theorem is not true. The converse of Rolle Theorem supposes that the function ff is continuous in [a,b][a, b] and is differentiable in (a,b)(a, b), and states that if f(c)=0f'(c) = 0 for some cc in (a,b)(a, b), then f(a)=f(b)f(a) = f(b).

This statement is not true. If f(c)=0f’(c) = 0 for some cc on (a,b)(a, b), it is possible to find points (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)) where f(a)(f(b)f(a) \neq (f(b).

Consider the graph below as an example. We can see that f(c)=0f’(c) = 0, yet f(a)f(b)f(a) \neq f(b).

Graph showing converse of Rolle's Theorem being false

Explore Outlier's Award-Winning For-Credit Courses

Outlier (from the co-founder of MasterClass) has brought together some of the world's best instructors, game designers, and filmmakers to create the future of online college.

Check out these related courses:

Share