The Mean Value Theorem and Why So Much Depends on It
What the mean value theorem says, why its conditions matter, and how it supports many of the facts calculus relies on.
Key takeaways
- If f is continuous on [a, b] and differentiable on (a, b), some c in (a, b) satisfies f′(c) = (f(b) − f(a))/(b − a).
- Geometrically, some tangent line is parallel to the line joining the two endpoints of the graph.
- Both hypotheses are needed; a single corner or jump can make the conclusion false.
- The theorem shows that a zero derivative on an interval forces a constant function, which is why antiderivatives differ only by a constant.
- It guarantees that a suitable point exists but usually does not tell you where it is.
The mean value theorem says that if a function is continuous on a closed interval and differentiable inside it, then at some interior point the instantaneous rate of change equals the average rate of change over the whole interval.
If you drive 150 kilometers in an hour and a half, your average speed is 100 km/h, and at some moment your speed was exactly 100 km/h. The statement sounds obvious. Its value is that it connects what a derivative says at single points with what a function does across a whole interval.
The statement and its picture
Let f be continuous on the closed interval [a, b] and differentiable on the open interval (a, b). Then there is at least one c with a < c < b such that:
f′(c) = (f(b) − f(a)) / (b − a) The right side is the slope of the secant line through the two endpoints. The left side is the slope of a tangent line. So somewhere in between, a tangent runs parallel to the secant. Imagine sliding the secant up or down while keeping its slope; the last place it touches the curve is such a point.
For f(x) = x³ on [0, 2], the average rate is (8 − 0)/2 = 4. Solving 3c² = 4 gives c = 2/√3, about 1.155, which lies inside the interval. The negative root lies outside and is discarded.
For a quadratic function, c is always the exact midpoint of the interval. For other functions it can be anywhere inside, and there may be several.
Rolle's theorem comes first
The special case where f(a) = f(b) is called Rolle's theorem: some interior point has f′(c) = 0. Michel Rolle stated a version for polynomials in the late seventeenth century.
The argument is short. A continuous function on a closed interval attains a largest and a smallest value; this is the extreme value theorem. If both occur only at the endpoints, then, since the endpoint values are equal, the maximum equals the minimum and the function is constant, so f′ is zero everywhere inside. Otherwise some extreme value occurs at an interior point, and at an interior extremum of a differentiable function the derivative is zero. The reasoning for that last step appears in critical points and the derivative tests.
The general theorem follows by tilting. Subtract the secant line from f:
g(x) = f(x) − f(a) − m (x − a), where m = (f(b) − f(a))/(b − a) Then g(a) = 0 and g(b) = 0. Rolle gives a point where g′(c) = 0, which means f′(c) = m.
Existence, not location
The theorem promises at least one suitable point. There can be many. For sin x on [0, 2π], the average rate is zero, and cos c = 0 holds at both π/2 and 3π/2. For a straight line, every interior point works, since the slope never differs from the average.
Nor does the theorem help you find c in difficult cases. Solving f′(c) = m can be as hard as any equation. In most applications this does not matter, because the argument uses only the fact that c lies somewhere in the interval, together with some property that holds for the derivative everywhere there.
A practical illustration is average-speed enforcement on a road. Two cameras record when a car passes each of them. If the distance divided by the elapsed time exceeds the limit, then, assuming the car's position is a differentiable function of time, its speed must have equaled that average at some moment. Nobody knows when or where, and the conclusion does not need to.
The converse reasoning is not available. An average below the limit says nothing about whether the car exceeded it for part of the trip.
Why both conditions matter
Drop differentiability at a single point and the theorem can fail. Take f(x) = |x| on [−1, 1]. The endpoint values are equal, so the average rate is 0. But the slope is −1 on the left and 1 on the right, and undefined at 0. No point has slope 0.
Drop continuity at an endpoint and it can fail too. Define f(x) = x for 0 ≤ x < 1 and f(1) = 0. The function is differentiable on the open interval with slope 1 everywhere, yet the average rate from 0 to 1 is 0.
On the other hand, differentiability at the endpoints is not required. The function √x on [0, 4] has a vertical tangent at 0, but the theorem applies: the average rate is 1/2, and 1/(2√c) = 1/2 gives c = 1.
The theorem also belongs to real-valued functions. A point moving once around a circle, (cos t, sin t) for t from 0 to 2π, ends where it started, so its average velocity is zero. Yet its speed is always 1. There is no single instant at which both velocity components vanish.
Zero derivative means constant
Here is the first major consequence. Suppose f′(x) = 0 at every point of an interval. Pick any two points p < q in it. The theorem gives some c between them with:
f(q) − f(p) = f′(c) (q − p) = 0 So f(q) = f(p). Since the points were arbitrary, f is constant. It feels too obvious to need proof, but the definition of the derivative speaks only about behavior near one point at a time. The mean value theorem is what stitches those local facts into a global one.
It follows that two functions with the same derivative on an interval differ by a constant. That is the reason for the constant of integration. The word "interval" matters: a function equal to 1 for positive x and −1 for negative x has derivative zero at every point of its domain without being constant, because the domain has two pieces.
Increasing, decreasing and inequalities
The same line of reasoning shows that if f′ > 0 throughout an interval, then f(q) − f(p) = f′(c)(q − p) is positive whenever q > p. So f is increasing. Every sign chart you draw depends on this.
It also produces inequalities. Since the derivative of sin x is cos x, which never exceeds 1 in size:
|sin b − sin a| = |cos c| · |b − a| ≤ |b − a| In words, the sine function never changes faster than its input does. In general, if |f′| ≤ M on an interval, then f can change by at most M times the distance traveled.
Estimating with guaranteed bounds
You can bound numbers without a calculator. Apply the theorem to √x on [100, 101]:
√101 − 10 = 1/(2√c) for some c between 100 and 101 Since c > 100, the right side is less than 1/20 = 0.05, so √101 < 10.05. That in turn shows √c < 10.05, so the right side is greater than 1/20.1, about 0.04975. Therefore √101 lies between 10.04975 and 10.05. The true value is about 10.049876.
Notice the method gave a guaranteed interval, not just an approximation. Extending the idea with higher derivatives yields Taylor's theorem with remainder, which controls the error in polynomial approximations.
Trapping a logarithm
The same trick gives a useful pair of inequalities. Let x > 0 and apply the theorem to ln t on the interval from 1 to 1 + x. The derivative is 1/t, so:
ln(1 + x) − ln 1 = (1/c) · x for some c with 1 < c < 1 + x
x/(1 + x) < ln(1 + x) < x because 1/(1 + x) < 1/c < 1 For x = 0.1 this says the logarithm of 1.1 lies between about 0.0909 and 0.1. The true value is about 0.0953.
The pattern is worth remembering. Write a difference as a derivative at an unknown point times a distance, then replace the unknown derivative by its smallest and largest possible values on the interval. You never need to learn where c is.
Deeper consequences
The theorem appears inside many larger proofs.
- The standard proof of the fundamental theorem of calculus, in its evaluation form, applies it on each small piece of an interval, turning a total change into a Riemann sum.
- A two-function version, due to Cauchy, leads to L'Hopital's rule.
- The formula for arc length uses it to relate the length of short chords to the derivative.
- Uniqueness results for differential equations lean on closely related estimates.
Courses in real analysis trace the chain all the way down: the extreme value theorem depends on the completeness of the real numbers, the property that the number line has no gaps. Over the rational numbers alone, these theorems can fail.
How to use it on a problem
When an exercise asks you to apply the theorem, follow three steps. First, state that the function is continuous on the closed interval and differentiable on the open one, and say why. Second, compute the average rate of change. Third, set f′(c) equal to it and keep only the solutions strictly inside the interval.
For existence arguments, you often do not solve for c at all. To show that x³ + x − 1 = 0 has only one real root, suppose it had two. Rolle's theorem would then give a point between them where the derivative, 3x² + 1, equals zero. That never happens, so there is at most one root, and a sign change between 0 and 1 shows there is one.