Rolles Theorem

Download as PDF

Have you ever hiked a mountain trail that starts and ends at the same elevation? Rolle's Theorem is the mathematical guarantee that somewhere along your path, for at least one moment, you were walking on perfectly flat ground. It's a foundational idea in calculus that helps us find these 'flat spots' on a curve.

Rolles Theorem — an original Algebra911 reference diagram defining rolles theorem with its key formula and a worked example.
Rolle's Theorem: A Simple Guide to Finding Flat Spots

What Is Rolle's Theorem?

Rolle's Theorem is a rule in calculus that guarantees the existence of at least one point on a smooth, continuous curve where the slope is zero, provided the curve has the same y-value at the beginning and end of an interval. Think of it like a journey. If you start at a certain altitude, travel along a continuous path, and end at the exact same altitude, you must have stopped moving up or down at some point. That moment of zero vertical change is like having a slope of zero.

Mathematically, the slope of a curve at a point is given by its derivative. A slope of zero means the tangent line to the curve at that point is perfectly horizontal. Rolle's Theorem tells us that if a function meets three specific conditions, there's at least one place in the interval where this happens. It doesn't tell us where that point is, but it proves that it must exist. This is a powerful idea that forms the basis for more advanced theorems in mathematics.

The three conditions are:

  • The function must be continuous over a closed interval.
  • The function must be differentiable over the open interval.
  • The function's values at the endpoints of the interval must be equal.

If all three of these are true, then we are guaranteed to find a special point, which we'll call 'c', where the derivative is zero.

If a function f(x) satisfies the three conditions on [a,b], then there is at least one number c in (a,b) such that f(c)=0.

What Are the Three Conditions for Rolle's Theorem?

To use Rolle's Theorem, you must first confirm that your function and interval meet three specific criteria. If even one of these conditions is not met, the theorem does not apply, and there is no guarantee of a horizontal tangent. Let's break them down one by one.

ConditionWhat It Means (In Simple Terms)Why It's Important
1. Continuous on [a,b]You can draw the graph of the function from the starting point x=a to the ending point x=b without lifting your pencil. There are no gaps, holes, or jumps.This ensures the path is unbroken. If you could teleport from a low point to a high point, you might never have to be on flat ground.
2. Differentiable on (a,b)The graph is a smooth curve between the endpoints. There are no sharp corners (like the point of a 'V') or vertical lines.A sharp corner means the slope is undefined at that point. The theorem is all about finding a point with a specific slope (zero), so the slope must be defined everywhere inside the interval.
3. f(a)=f(b)The y-values (or heights) of the function at the start and end of the interval are exactly the same.This is the key. If you start and end at the same height, the only way to get back is to turn around. At the peak of a hill or the bottom of a valley where you turn, the slope is momentarily zero.

All polynomial functions are continuous and differentiable everywhere, so for polynomials, you often only need to check the third condition. However, for other types of functions, like those with absolute values or fractions, you must carefully check all three.

How Do You Apply Rolle's Theorem?

Once you've confirmed that a function f(x) on an interval [a,b] satisfies the three conditions, you can proceed to find the value c that the theorem guarantees. Here is a step-by-step guide to follow.

  1. Verify the Conditions: This is the most important step. Explicitly check that:
    a. f(x) is continuous on [a,b].
    b. f(x) is differentiable on (a,b).
    c. f(a)=f(b).
    If they all hold, proceed. If not, state that Rolle's Theorem does not apply.
  2. Find the Derivative: Calculate the derivative of the function, f(x). This formula gives you the slope of the function at any point x.
  3. Set the Derivative to Zero: Since Rolle's Theorem guarantees a point c where the slope is zero, you need to solve the equation f(x)=0.
  4. Solve for x: Find the value(s) of x that make the derivative equal to zero. These are your potential candidates for c. There might be one solution or several.
  5. Check if c is in the Interval: The theorem guarantees a value c inside the open interval (a,b). This means a<c<b. Take your solution(s) from the previous step and discard any that are not strictly between a and b. Any remaining values are the points guaranteed by Rolle's Theorem.

Following these steps ensures you correctly apply the theorem and find the specific point(s) where the tangent line is horizontal.

Worked Example 1: A Simple Parabola

Example 1

Let's find the value of c guaranteed by Rolle's Theorem for the function f(x)=x26x+5 on the interval [1,5].

Step 1: Verify the Conditions

  • Continuity: f(x) is a polynomial, which is continuous everywhere. So, it's continuous on [1,5]. ✓
  • Differentiability: As a polynomial, f(x) is also differentiable everywhere. So, it's differentiable on (1,5). ✓
  • Endpoint Values: We check if f(1)=f(5).
    f(1)=(1)26(1)+5=16+5=0
    f(5)=(5)26(5)+5=2530+5=0
    Since f(1)=f(5)=0, this condition is met. ✓

All three conditions are satisfied, so Rolle's Theorem applies.

Step 2: Find the Derivative

Using the power rule, the derivative of f(x) is:
f(x)=2x6

Step 3 & 4: Set to Zero and Solve

We set f(x)=0 and solve for x:
2x6=0
2x=6
x=3

Step 5: Check the Interval

Our solution is x=3. Is this value inside the open interval (1,5)? Yes, because 1<3<5. Therefore, our guaranteed value is c=3. At this point, the tangent to the parabola is horizontal.

Worked Example 2: Finding Multiple Flat Spots

Example 2

Can there be more than one value for c? Let's investigate with the function f(x)=x34x on the interval [2,2].

Step 1: Verify the Conditions

  • Continuity & Differentiability: f(x) is a polynomial, so it is continuous and differentiable everywhere. The first two conditions are met. ✓
  • Endpoint Values: We check if f(2)=f(2).
    f(2)=(2)34(2)=8+8=0
    f(2)=(2)34(2)=88=0
    Since f(2)=f(2)=0, the third condition is met. ✓

Rolle's Theorem applies.

Step 2: Find the Derivative

The derivative of f(x) is:
f(x)=3x24

Step 3 & 4: Set to Zero and Solve

We set f(x)=0:
3x24=0
3x2=4
x2=43
x=±43=±23

We have two potential values for c: c1=23 and c2=23.

Step 5: Check the Interval

We need to check if these values are in the open interval (2,2). Since 31.732, we have 2321.7321.155.
Both 1.155 and 1.155 are between 2 and 2. So, in this case, Rolle's Theorem guarantees at least one point, and we found two: c=23 and c=23.

Why Might Rolle's Theorem Not Apply?

Rolle's Theorem is powerful, but it's built on a strict foundation of its three conditions. If any one of them fails, the guarantee is void. Let's look at examples where the theorem cannot be applied.

1. Fails the Differentiability Condition

Consider the function f(x)=|x2| on the interval [0,4].
Let's check the conditions. It's continuous. The endpoints are f(0)=|02|=2 and f(4)=|42|=2, so f(0)=f(4). However, the graph of an absolute value function has a sharp corner at its vertex. In this case, there's a sharp point at x=2. Because the function is not differentiable at x=2, Rolle's Theorem does not apply. As you can see from its 'V' shape, there is no point where the tangent is horizontal.

2. Fails the Continuity Condition

Imagine a function defined as f(x)=x for 0x<1 and f(1)=0. On the interval [0,1], we have f(0)=0 and f(1)=0. But the function has a jump discontinuity at x=1. You can't draw it without lifting your pencil. Because it's not continuous on the closed interval [0,1], Rolle's Theorem does not apply. The function's slope is 1 everywhere except at the jump, so it's never zero.

3. Fails the Endpoint Condition

This is the most straightforward failure. Consider f(x)=x2 on the interval [1,2]. The function is a polynomial, so it's continuous and differentiable everywhere. But when we check the endpoints:
f(1)=12=1
f(2)=22=4
Since f(1)f(2), Rolle's Theorem does not apply. The function is always increasing on this interval, so its slope is never zero.

Worked Example 3: A Trigonometric Function

Example 3

Let's apply Rolle's Theorem to a trigonometric function: f(x)=cos(x) on the interval [π2,3π2].

Step 1: Verify the Conditions

  • Continuity: The cosine function is a smooth, continuous wave. It's continuous everywhere, including on [π2,3π2]. ✓
  • Differentiability: The cosine function is also differentiable everywhere. ✓
  • Endpoint Values: We check the values at the endpoints.
    f(π2)=cos(π2)=0
    f(3π2)=cos(3π2)=0
    Since f(π2)=f(3π2)=0, this condition is met. ✓

All conditions are satisfied.

Step 2: Find the Derivative

The derivative of cos(x) is sin(x).
f(x)=sin(x)

Step 3 & 4: Set to Zero and Solve

We set the derivative to zero:
sin(x)=0
sin(x)=0

The sine function is zero at integer multiples of π. So, x=kπ for any integer k. Examples are ...,π,0,π,2π,....

Step 5: Check the Interval

We need to find which of these solutions lies within our open interval (π2,3π2). In decimal form, this interval is approximately (1.57,4.71).
Let's check our solutions:
If k=0, x=0. This is not in the interval.
If k=1, x=π. Since π3.14, this value is in the interval (1.57,4.71).
If k=2, x=2π. This is too large.
The only solution in our interval is x=π. So, our guaranteed value is c=π.

What Are Common Mistakes to Avoid?

When first learning Rolle's Theorem, it's easy to make a few common mistakes. Being aware of these pitfalls can help you avoid them.

  • Forgetting to Check the Conditions: The most common error is jumping straight to finding the derivative and setting it to zero without first verifying that the function is continuous, differentiable, and that f(a)=f(b). Always start by checking the three conditions.
  • Algebraic Errors: Be careful when calculating the derivative and when solving the equation f(x)=0. A small mistake in algebra can lead to the wrong value for c or make you think no solution exists.
  • Confusing Open and Closed Intervals: The function must be continuous on the closed interval [a,b] (including the endpoints) but only needs to be differentiable on the open interval (a,b). The final value c must be in the open interval (a,b) (not equal to a or b).
  • Stopping After Finding c: Don't forget the final step! After you solve f(x)=0, you must confirm that your solution is actually inside the interval (a,b). If it's outside, it's not the value guaranteed by the theorem.
  • Assuming There is Only One c: Rolle's Theorem guarantees at least one value of c. As seen in Example 2, there can be more than one. Make sure you find all solutions to f(x)=0 that fall within the interval.

Rolle's Theorem: A Quick Summary

Here is a quick reference guide for Rolle's Theorem. Use this to review the key concepts at a glance.

The Big Idea: If you start and end a smooth, unbroken journey at the same elevation, you must have been on flat ground at least once.

The Three Conditions for f(x) on [a,b]:

  1. Continuous on [a,b] (no breaks).
  2. Differentiable on (a,b) (no sharp points).
  3. f(a)=f(b) (starts and ends at the same height).

The Guaranteed Conclusion:

If all three conditions are met, then...

There exists at least one number c such that a<c<b and f(c)=0.

How to Find c:

  • Step 1: Verify the three conditions.
  • Step 2: Find the derivative, f(x).
  • Step 3: Solve the equation f(x)=0.
  • Step 4: Keep only the solutions that are inside the interval (a,b).

Frequently Asked Questions

What is the main point of Rolle's Theorem?

The main point is to prove that a 'flat spot'—a point with a horizontal tangent line—must exist on a curve under specific conditions. It's an existence theorem, meaning it guarantees something exists without necessarily telling you how to find it easily.

Is Rolle's Theorem related to the Mean Value Theorem?

Yes, Rolle's Theorem is a special case of the Mean Value Theorem (MVT). The MVT is more general and states that there's a point where the instantaneous slope equals the average slope over the interval. Rolle's Theorem is just the MVT when the average slope is zero.

Why does the function have to be differentiable?

Differentiability means the function is 'smooth' and has a defined slope everywhere inside the interval. If a function has a sharp corner, like f(x)=|x| at x=0, the slope is undefined at that point, so we can't say its slope is zero there.

Can there be more than one 'c' value that satisfies the theorem?

Absolutely. The theorem guarantees *at least one* such point. A wavy function like f(x)=sin(x) on a large interval like [0,4π] will have multiple points where the slope is zero (at the top of each crest and bottom of each trough).

What happens if f(a) does not equal f(b)?

If f(a)f(b), then Rolle's Theorem simply does not apply. There is no guarantee of a point where the slope is zero. There might still be one by chance, but the theorem cannot be used to prove it.

What's the difference between a closed interval [a, b] and an open interval (a, b)?

A closed interval [a,b] includes its endpoints, a and b. An open interval (a,b) includes all the numbers between a and b but not the endpoints themselves. Rolle's Theorem requires continuity on the closed interval but finds a point c inside the open interval.

Who was Rolle?

Michel Rolle was a French mathematician who lived from 1652 to 1719. He was an early critic of calculus but is now most famous for the theorem that bears his name, which he first stated for polynomial functions in 1691.