Calculus

### How To Find Relative Extrema [Calculus 101]

Learn the definition of relative extrema, how to identify points of relative minima and maxima, and practice your knowledge with worked examples.

#### Rachel McLean

Subject Matter Expert

Skip to content## If you could change one thing about college, what would it be?

## What Is Rolle’s Theorem?

## Lagrange’s Mean Value Theorem

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

### How To Tell If a Function Is Continuous

### What Does It Mean To Be Differentiable?

#### Corner Point

#### Cusp

#### Vertical Tangent

#### Discontinuity

## Rolle’s Theorem Proof

## Rolle’s Theorem Examples

### Example 1

### Example 2

### Example 3

## FAQs

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

### Is the Converse of Rolle's Theorem True?

**Explore Outlier's Award-Winning For-Credit Courses**

## Related Articles

### How To Find Relative Extrema [Calculus 101]

#### Rachel McLean

### What Is the Second Derivative Test [Full Guide]

#### Rachel McLean

### Understanding the Squeeze Theorem

#### Rachel McLean

Outlier Articles Home# Rolle's Theorem: Definition, Examples & Conditions

## Rachel McLean

Calculus

08.11.2023 • 6 min read

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

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 $f$ be differentiable on the open interval $(a, b)$ and continuous on the closed interval $[a, b]$. If $f(a) = f(b)$, then at least 1 point $c$ is in the interval $(a, b)$ where $f’(c) = 0$.

In other words, Rolle’s Theorem states that if your function has 2 points $(a, f(a))$ and $(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)$ and continuous on $[a, b]$.

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

The 3 Rolle’s Theorem conditions are satisfied:

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

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

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

Notice how a horizontal tangent line is at the point

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 $\sqrt[n]{x}$ to represent the nth root of $x$.

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.

Lagrange’s Mean Value Theorem states that if the function $f$ is continuous on the closed interval $[a, b]$ and differentiable on the open interval $(a, b)$, then there exists a point $c$ in the interval $(a, b)$ such that $f'(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 = x^3 - 2x + 7$. Let $a = -1$ and $b = 2$. This function is differentiable on $(-1, 2)$ and continuous on $[-1, 2]$, so the 2 conditions are satisfied.

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

So, we have:

$f’(x) = 3x^2 - 2 = 1$

$3x^2 = 3$

$x^2 = 1$

$x = \pm 1$

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

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.

The function $f$ is differentiable on $(a, b)$.

The function $f$ is continuous on $[a, b]$.

$f(a) = f(b)$

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

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

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 $f$ is continuous at the point $x = a$ if:

$f(a)$ exists

$\lim_{x\to a}f(x)$ exists

$f(a) = \lim_{x\to a}f(x)$

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

This limit looks like this:

$f’(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:

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.

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.

At a vertical tangent, the slope of the tangent line approaches

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.

To start our proof of Rolle’s Theorem, let the function

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

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

Suppose instead the maximum occurs at an interior point

Similarly, suppose instead the minimum occurs at an interior point

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

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

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

Let’s check:

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

To find $c$, we’ll set $f’(x)$ equal to 0 and solve. Using the power rule, we have

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

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

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

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

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

Here are a few commonly asked questions about 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.

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

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

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

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:

Calculus

Learn the definition of relative extrema, how to identify points of relative minima and maxima, and practice your knowledge with worked examples.

Subject Matter Expert

Calculus

Learn what the second derivative test is and the steps to find it. Included are visual graphs, examples, and tests.

Subject Matter Expert

Calculus

Learn what the squeeze theorem is, how to prove it, and practice with some examples and tips.

Subject Matter Expert