Learning Outcomes
- Explain the meaning of Rolle’s theorem
- Describe the significance of the Mean Value Theorem
- State three important consequences of the Mean Value Theorem
Rolle’s Theorem
Informally, Rolle’s theorem states that if the outputs of a differentiable function ff are equal at the endpoints of an interval, then there must be an interior point cc where f′(c)=0f′(c)=0. Figure 1 illustrates this theorem.

Figure 1. If a differentiable function f satisfies f(a)=f(b)f(a)=f(b), then its derivative must be zero at some point(s) between aa and bb.
Rolle’s Theorem
Let ff be a continuous function over the closed interval [a,b][a,b] and differentiable over the open interval (a,b)(a,b) such that f(a)=f(b)f(a)=f(b). There then exists at least one c∈(a,b)c∈(a,b) such that f′(c)=0f′(c)=0.
Proof
Let k=f(a)=f(b)k=f(a)=f(b). We consider three cases:
- f(x)=kf(x)=k for all x∈(a,b)x∈(a,b).
- There exists x∈(a,b)x∈(a,b) such that f(x)>kf(x)>k.
- There exists x∈(a,b)x∈(a,b) such that [latex]f(x)
Case 1: If f(x)=kf(x)=k for all x∈(a,b)x∈(a,b), then f′(x)=0f′(x)=0 for all x∈(a,b)x∈(a,b).
Case 2: Since ff is a continuous function over the closed, bounded interval [a,b][a,b], by the extreme value theorem, it has an absolute maximum. Also, since there is a point x∈(a,b)x∈(a,b) such that f(x)>kf(x)>k, the absolute maximum is greater than kk. Therefore, the absolute maximum does not occur at either endpoint. As a result, the absolute maximum must occur at an interior point c∈(a,b)c∈(a,b). Because ff has a maximum at an interior point cc, and ff is differentiable at cc, by Fermat’s theorem, f′(c)=0f′(c)=0.
Case 3: The case when there exists a point x∈(a,b)x∈(a,b) such that [latex]f(x)
■
An important point about Rolle’s theorem is that the differentiability of the function ff is critical. If ff is not differentiable, even at a single point, the result may not hold. For example, the function f(x)=|x|−1f(x)=|x|−1 is continuous over [−1,1][−1,1] and f(−1)=0=f(1)f(−1)=0=f(1), but f′(c)≠0f′(c)≠0 for any c∈(−1,1)c∈(−1,1) as shown in the following figure.

Figure 2. Since f(x)=|x|−1f(x)=|x|−1 is not differentiable at x=0x=0, the conditions of Rolle’s theorem are not satisfied. In fact, the conclusion does not hold here; there is no c∈(−1,1)c∈(−1,1) such that f′(c)=0f′(c)=0.
Let’s now consider functions that satisfy the conditions of Rolle’s theorem and calculate explicitly the points cc where f′(c)=0f′(c)=0.
Example: Using Rolle’s Theorem
For each of the following functions, verify that the function satisfies the criteria stated in Rolle’s theorem and find all values cc in the given interval where f′(c)=0f′(c)=0.
- f(x)=x2+2xf(x)=x2+2x over [−2,0][−2,0]
- f(x)=x3−4xf(x)=x3−4x over [−2,2][−2,2]
Try It
Verify that the function f(x)=2x2−8x+6f(x)=2x2−8x+6 defined over the interval [1,3][1,3] satisfies the conditions of Rolle’s theorem. Find all points cc guaranteed by Rolle’s theorem.
Watch the following video to see the worked solution to Example: Using Rolle’s Theorem and the above Try It.
The Mean Value Theorem and Its Meaning
Rolle’s theorem is a special case of the Mean Value Theorem. In Rolle’s theorem, we consider differentiable functions ffdefined on a closed interval [a,b][a,b] with f(a)=f(b)f(a)=f(b). The Mean Value Theorem generalizes Rolle’s theorem by considering functions that do not necessarily have equal value at the endpoints. Consequently, we can view the Mean Value Theorem as a slanted version of Rolle’s theorem (Figure 5). The Mean Value Theorem states that if ff is continuous over the closed interval [a,b][a,b] and differentiable over the open interval (a,b)(a,b), then there exists a point c∈(a,b)c∈(a,b) such that the tangent line to the graph of ff at cc is parallel to the secant line connecting (a,f(a))(a,f(a)) and (b,f(b))(b,f(b)).

Figure 5. The Mean Value Theorem says that for a function that meets its conditions, at some point the tangent line has the same slope as the secant line between the ends. For this function, there are two values c1c1 and c2c2 such that the tangent line to ff at c1c1 and c2c2 has the same slope as the secant line.
Mean Value Theorem
Let ff be continuous over the closed interval [a,b][a,b] and differentiable over the open interval (a,b)(a,b). Then, there exists at least one point c∈(a,b)c∈(a,b) such that
Proof
The proof follows from Rolle’s theorem by introducing an appropriate function that satisfies the criteria of Rolle’s theorem. Consider the line connecting (a,f(a))(a,f(a)) and (b,f(b))(b,f(b)). Since the slope of that line is
and the line passes through the point (a,f(a))(a,f(a)), the equation of that line can be written as
Let g(x)g(x) denote the vertical difference between the point (x,f(x))(x,f(x)) and the point (x,y)(x,y) on that line. Therefore,

Figure 6. The value g(x)g(x) is the vertical difference between the point (x,f(x))(x,f(x)) and the point (x,y)(x,y) on the secant line connecting (a,f(a))(a,f(a)) and (b,f(b)).(b,f(b)).
Since the graph of ff intersects the secant line when x=ax=a and x=bx=b, we see that g(a)=0=g(b)g(a)=0=g(b). Since ff is a differentiable function over (a,b)(a,b), gg is also a differentiable function over (a,b)(a,b). Furthermore, since ff is continuous over [a,b][a,b], gg is also continuous over [a,b][a,b]. Therefore, gg satisfies the criteria of Rolle’s theorem. Consequently, there exists a point c∈(a,b)c∈(a,b) such that g′(c)=0g′(c)=0. Since
we see that
Since g′(c)=0g′(c)=0, we conclude that
■
In the next example, we show how the Mean Value Theorem can be applied to the function f(x)=√xf(x)=√x over the interval [0,9][0,9]. The method is the same for other functions, although sometimes with more interesting consequences.
Example: Verifying that the Mean Value Theorem Applies
For f(x)=√xf(x)=√x over the interval [0,9][0,9], show that ff satisfies the hypothesis of the Mean Value Theorem, and therefore there exists at least one value c∈(0,9)c∈(0,9) such that f′(c)f′(c) is equal to the slope of the line connecting (0,f(0))(0,f(0)) and (9,f(9))(9,f(9)). Find these values cc guaranteed by the Mean Value Theorem.
One application that helps illustrate the Mean Value Theorem involves velocity. For example, suppose we drive a car for 1 hr down a straight road with an average velocity of 45 mph. Let s(t)s(t) and v(t)v(t) denote the position and velocity of the car, respectively, for 0≤t≤10≤t≤1 hr. Assuming that the position function s(t)s(t) is differentiable, we can apply the Mean Value Theorem to conclude that, at some time c∈(0,1)c∈(0,1), the speed of the car was exactly
Example: Mean Value Theorem and Velocity
If a rock is dropped from a height of 100 ft, its position tt seconds after it is dropped until it hits the ground is given by the function s(t)=−16t2+100s(t)=−16t2+100.
- Determine how long it takes before the rock hits the ground.
- Find the average velocity vavgvavg of the rock for when the rock is released and the rock hits the ground.
- Find the time tt guaranteed by the Mean Value Theorem when the instantaneous velocity of the rock is vavgvavg.
Watch the following video to see the worked solution to Example: Mean Value Theorem and Velocity.
Try It
Suppose a ball is dropped from a height of 200 ft. Its position at time tt is s(t)=−16t2+200s(t)=−16t2+200. Find the time tt when the instantaneous velocity of the ball equals its average velocity.
Try It
Corollaries of the Mean Value Theorem
Let’s now look at three corollaries of the Mean Value Theorem. These results have important consequences, which we use in upcoming sections.
At this point, we know the derivative of any constant function is zero. The Mean Value Theorem allows us to conclude that the converse is also true. In particular, if f′(x)=0f′(x)=0 for all xx in some interval II, then f(x)f(x) is constant over that interval. This result may seem intuitively obvious, but it has important implications that are not obvious, and we discuss them shortly.
Corollary 1: Functions with a Derivative of Zero
Let ff be differentiable over an interval II. If f′(x)=0f′(x)=0 for all x∈Ix∈I, then f(x)f(x) is constant for all x∈Ix∈I.
Proof
Since ff is differentiable over II, ff must be continuous over II. Suppose f(x)f(x) is not constant for all x in I. Then there exist a,b∈I, where a≠b and f(a)≠f(b). Choose the notation so that [latex]a
Since f is a differentiable function, by the Mean Value Theorem, there exists c∈(a,b) such that
Therefore, there exists c∈I such that f′(c)≠0, which contradicts the assumption that f′(x)=0 for all x∈I.
From the example above, it follows that if two functions have the same derivative, they differ by, at most, a constant.
Corollary 2: Constant Difference Theorem
If f and g are differentiable over an interval I and f′(x)=g′(x) for all x∈I, then f(x)=g(x)+C for some constant C.
Proof
Let h(x)=f(x)−g(x). Then, h′(x)=f′(x)−g′(x)=0 for all x∈I. By Corollary 1, there is a constant C such that h(x)=C for all x∈I. Therefore, f(x)=g(x)+C for all x∈I.
The third corollary of the Mean Value Theorem discusses when a function is increasing and when it is decreasing. Recall that a function f is increasing over I if [latex]f(x_1)
This fact is important because it means that for a given function f, if there exists a function F such that F′(x)=f(x); then, the only other functions that have a derivative equal to f are F(x)+C for some constant C. We discuss this result in more detail later in the chapter.
Figure 9. If a function has a positive derivative over some interval I, then the function increases over that interval I; if the derivative is negative over some interval I, then the function decreases over that interval I.
Corollary 3: Increasing and Decreasing Functions
Let f be continuous over the closed interval [a,b] and differentiable over the open interval (a,b).
- If f′(x)>0 for all x∈(a,b), then f is an increasing function over [a,b].
- If f′(x)<0 for all x∈(a,b), then f is a decreasing function over [a,b].
Proof
We will prove 1.; the proof of 2. is similar. Suppose f is not an increasing function on I. Then there exist a and b in I such that [latex]a
Since f(a)≥f(b), we know that f(b)−f(a)≤0. Also, [latex]a0[/latex]. We conclude that
However, f′(x)>0 for all x∈I. This is a contradiction, and therefore f must be an increasing function over I.
Candela Citations
- 4.4 Mean Value Theorem. Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 1. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/details/books/calculus-volume-1. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-1/pages/1-introduction