Mean Value Theorem
Mean Value Theorem and Related Theorems
Mean Value Theorem
The Mean Value Theorem (MVT) is one of the central results of differential calculus. It is sometimes called the fundamental theorem of differential calculus because it connects the average rate of change over an interval with an instantaneous rate of change at some point inside the interval.
The theorem is the third major “value theorem” considered in this development:
Intermediate Value Theorem
Extreme Value Theorem
Mean Value Theorem
If a function is continuous on a closed interval and differentiable on the corresponding open interval, then at some interior point, its instantaneous rate of change equals its average rate of change over the entire interval.
Formal statement
Suppose that:
f is continuous on the closed interval [a,b].
f is differentiable on the open interval (a,b).
Then there exists at least one number c∈(a,b) such that
The right-hand side is the slope of the secant line joining the points (a,f(a)) and (b,f(b)).
Geometric interpretation
The average rate of change of f from a to b is
The derivative f′(c) is the slope of the tangent line at x=c. Therefore, the MVT states that there is at least one point c strictly between a and b where
the tangent line to the graph has the same slope as
the secant line joining the endpoints of the graph.
The tangent line at that point is therefore parallel to the secant line.
There may be more than one such point c, but the theorem guarantees that at least one exists.
Why Differentiability Is Required Only on the Open Interval
The MVT does not require differentiability at the endpoints a and b. It requires only:
continuity on the entire closed interval [a,b];
differentiability at every interior point in (a,b).
This makes the theorem stronger and allows it to apply to functions with vertical tangents at one or both endpoints.
Example: the square-root function
Consider f(x)=x on an interval such as [0,5].
f is continuous on [0,5].
f is differentiable on (0,5).
f is not differentiable at x=0 because the tangent becomes vertical there.
The MVT still applies because differentiability at the endpoint is not required.
Example: the inverse sine function
The graph of f(x)=arcsinx has vertical tangents at x=−1 and x=1.
On the interval [−1,1]:
f is continuous on the closed interval.
f is differentiable on the open interval (−1,1).
f is not differentiable at either endpoint.
The MVT still applies.
Failure of Differentiability at an Interior Point
If a function is not differentiable at even one point in the interior of the interval, the conclusion of the MVT may fail.
Example: the absolute value function
Consider
on an interval such as [−2,7].
The function is continuous on [−2,7], but it is not differentiable at x=0 because of the sharp corner.
The slope of the secant line joining the endpoints is
The derivative is
and f′(0) does not exist.
Thus, f′(x) is never equal to 95:
On the left side, the derivative is −1.
On the right side, the derivative is 1.
At the corner, the derivative does not exist.
Therefore, no point c∈(−2,7) satisfies
This demonstrates why differentiability throughout the open interval is an important hypothesis.
A failure of differentiability at even one interior point can prevent the MVT conclusion from holding.
When the Hypotheses Fail but the Conclusion Still Holds
The hypotheses of a theorem provide sufficient conditions for its conclusion, but they are not always necessary conditions.
Consequently, a particular function may fail one of the hypotheses while still satisfying the conclusion by coincidence.
Example: the cube-root function
Consider
on the interval [−8,27].
The function is continuous everywhere, but it is not differentiable at x=0 because its tangent there is vertical.
The secant slope is
For x=0,
To find points where the tangent slope equals the secant slope, solve
Multiplying by 3 gives
Taking reciprocals,
Raising both sides to the power 23 gives
Both values lie in (−8,27), so there are points in the interval where
Thus, even though differentiability fails at x=0, the MVT conclusion happens to hold for this particular function and interval.
The failure of a theorem’s hypotheses means that the theorem cannot guarantee the conclusion; it does not necessarily mean that the conclusion is false.
Rolle’s Theorem
The proof of the MVT uses a special case called Rolle’s Theorem.
Statement of Rolle’s Theorem
Suppose that:
f is continuous on [a,b];
f is differentiable on (a,b);
f(a)=f(b).
Then there exists at least one c∈(a,b) such that
Geometric interpretation
If the endpoint values are equal, then the secant line joining (a,f(a)) and (b,f(b)) is horizontal. Its slope is
Rolle’s Theorem states that somewhere in the interior, the graph has a horizontal tangent line.
The point c may correspond to a local maximum, a local minimum, or a flat portion of the graph.
Rolle’s Theorem as a special case of the MVT
The MVT states that
If f(a)=f(b), then
so the MVT becomes
Therefore, Rolle’s Theorem follows immediately from the MVT.
Interestingly, the reverse approach is also possible: the MVT can be proven by applying Rolle’s Theorem to a carefully constructed function.
Fermat’s Theorem
The proof of Rolle’s Theorem relies on a result commonly called Fermat’s Theorem in this context.
This theorem is unrelated to Fermat’s Little Theorem and Fermat’s Last Theorem.
Statement of Fermat’s Theorem
Suppose that f has a local maximum or local minimum at an interior point c of its domain. If f is differentiable at c, then
In other words, a differentiable function must have a horizontal tangent at an interior local extremum.
At an interior local maximum or minimum, differentiability forces the derivative to equal zero.
If differentiability is not assumed, then an interior extremum may instead be a critical point where the derivative does not exist.
Local versus global extrema
A global maximum is the greatest function value over the entire domain or interval.
A global minimum is the least function value over the entire domain or interval.
A local maximum is a function value that is greatest only in a neighborhood of the point.
A local minimum is a function value that is least only in a neighborhood of the point.
Every global extremum in the interior is also a local extremum, so Fermat’s Theorem can be applied to it.
Proof of Fermat’s Theorem
Assume that f is differentiable at an interior point c where f has a local maximum.
Because c is a local maximum, for x sufficiently close to c,
Therefore,
Approaching from the right
If x>c, then
Thus,
Taking the limit as x approaches c from the right gives
This is the right-hand derivative, so
Approaching from the left
If x<c, then
Since f(x)−f(c)≤0, dividing by a negative number reverses the inequality:
Taking the limit as x approaches c from the left gives
Thus,
Using differentiability
If f is differentiable at c, then the one-sided derivatives are equal:
But one side is at least zero and the other is at most zero. The only possible common value is zero:
The proof for a local minimum is analogous. At a local minimum, the difference quotient from the right is nonnegative and the difference quotient from the left is nonpositive, again forcing the derivative to equal zero.
Proof of Rolle’s Theorem
Assume that:
f is continuous on [a,b];
f is differentiable on (a,b);
f(a)=f(b).
By the Extreme Value Theorem, f attains both a maximum and a minimum on [a,b].
There are two possibilities.
Case 1: The function is constant
If
for every x∈[a,b], then f is constant on the interval. Therefore,
for every x∈(a,b).
Any interior point can serve as the required point c.
Case 2: The function is not constant
If f is not constant, then its maximum and minimum values are different.
Because the endpoint values are equal, at least one of these extrema must occur at an interior point. Otherwise, if both the maximum and minimum occurred only at the endpoints, the equal endpoint values would force the function to have the same maximum and minimum and hence be constant.
Let c∈(a,b) be an interior point where a maximum or minimum occurs. This point is a local extremum. Since f is differentiable at c, Fermat’s Theorem gives
Therefore, Rolle’s Theorem is proven.
Proof of the Mean Value Theorem Using Rolle’s Theorem
The main idea is to transform the original function into a new function whose endpoint values are equal. Rolle’s Theorem can then be applied to the new function.
Step 1: Construct the secant-line function
The secant line joining (a,f(a)) and (b,f(b)) has slope
Define the linear function
This function has two important properties:
Its slope is the same as the secant slope of f.
It passes through (a,f(a)).
Indeed,
Also,
Thus, the graph of L is exactly the secant line through the endpoints of the graph of f.
Step 2: Define a new function
Let
Geometrically, g measures the vertical difference between the graph of f and the secant line.
Because f is continuous on [a,b] and differentiable on (a,b), and because L is linear and therefore continuous and differentiable everywhere, g is also:
continuous on [a,b];
differentiable on (a,b).
Step 3: Verify equal endpoint values
At x=a,
At x=b,
Therefore,
The hypotheses of Rolle’s Theorem apply to g.
Step 4: Apply Rolle’s Theorem
By Rolle’s Theorem, there exists some c∈(a,b) such that
Since
and the derivative of L is its constant slope,
it follows that
Rearranging gives
This is precisely the conclusion of the Mean Value Theorem.
The MVT is proved by subtracting the secant line from the original function, creating a new function with equal endpoint values, and applying Rolle’s Theorem.
Structure of the Theorem Relationships
The logical relationship among the results is:
The Extreme Value Theorem guarantees that a continuous function on a closed interval attains a maximum and minimum.
Fermat’s Theorem states that a differentiable function has derivative zero at an interior local extremum.
These two facts prove Rolle’s Theorem.
A transformed version of the original function allows Rolle’s Theorem to prove the Mean Value Theorem.
The key construction in the MVT proof is
where L(x) is the secant line of f over [a,b]. Subtracting this line makes the transformed function equal at the two endpoints, which is exactly the condition needed for Rolle’s Theorem.

Ask anything
We've read this whole study set, so questions about it get the best answers.