Suppose you drive 150 kilometers in 2 hours. Your average speed is 75 kilometers per hour, and at some instant your speedometer must have read exactly 75. You may have gone slower and faster, but you cannot have been below 75 the whole time or above it the whole time. The mean value theorem turns this everyday reasoning into a precise statement, and much of the rest of calculus leans on it.
Key terms
Rolle’s theorem
Definition Let and let be a function with these three properties.
- It is continuous on the closed interval .
- It is differentiable on the open interval .
- Its values at the ends agree, .
Then there is at least one number in with .
The proof uses the extreme value theorem. If is constant, every in works. Otherwise some value of on is above or below the common end value . Then the global maximum or the global minimum, which exist by continuity, is attained at an interior point , and Fermat’s theorem gives because is differentiable at .
In plain words If a smooth curve starts and ends at the same height, somewhere in between it has a horizontal tangent.
Example Let on . It is a polynomial, so it is continuous and differentiable, and . Solving gives , which lies in .
Mean value theorem
Definition Let . If is continuous on and differentiable on , then there is at least one number in with
It follows from Rolle’s theorem applied to minus its secant line,
which is continuous on , differentiable on and has .
In plain words Somewhere between and the tangent line is parallel to the secant line joining the two ends. The instantaneous rate equals the average rate at least once.
Example Let on . The average rate is
Solving gives , which is in . The other solution, , is outside the interval.
The hypotheses
Definition The conditions continuity on and differentiability on are part of both theorems. Differentiability is not needed at the endpoints, and continuity is needed at every point including the endpoints. If either condition fails, the conclusion can fail. The conditions are sufficient, not necessary, so a function can break them and still have a suitable .
In plain words One corner or one jump is enough to break the theorem. It is not enough to check only that the function is defined.
Example The function on has , yet is or and never . Rolle’s theorem does not apply because is not differentiable at . The function for with has and on . Here continuity at the endpoint fails.
Cauchy’s mean value theorem
Definition Let , and let and be continuous on and differentiable on . Then there is a number in with
If in addition for all in , then and
The proof applies Rolle’s theorem to
which has . If on , Rolle’s theorem applied to itself shows , so the division is allowed. Taking gives back the ordinary mean value theorem.
In plain words Think of as a point moving along a curve. Somewhere the direction of motion is parallel to the chord joining the start and the end. This version is the key step in proving l’Hôpital’s rule.
Example Take and on . The equation is
so , and the solution in is .
Constant functions
Definition If for every in an open interval , then is constant on . To prove it, take any in . The function is differentiable, hence continuous, on , so the mean value theorem gives a between them with
The same holds on any interval if is continuous on it and at its interior points.
In plain words A function whose slope is zero everywhere on an interval cannot change. The word interval matters. On a domain with a gap, the function can take different constant values on the separate pieces.
Example The function has
for every . It is constant on , where , and constant on , where . It is not constant on its whole domain.
Corollaries
Definition Let be an open interval.
- If for all in , then is constant on , so for some constant .
- If is differentiable on and for all in , then for all in .
- If is differentiable on and for all in , then whenever in .
Each follows by applying the mean value theorem on .
In plain words A bound on the derivative gives a bound on how much the function can change. Two functions with the same derivative differ by a constant, which is why antiderivatives come with a .
Example Suppose is differentiable on an open interval containing , with and there. Then , so . Also, since , the second corollary with gives
Check yourself
- Find the value promised by the mean value theorem for on .
Show the answer
Since and , the average rate is
The derivative is , and solving gives , which is in .
- Does Rolle’s theorem apply to on ?
Show the answer
No. Although , the function is not defined at , so it is not continuous on . In fact is never .
- Show that has exactly one real solution.
Show the answer
Let . Since , the intermediate value theorem gives at least one root. If there were two roots , Rolle’s theorem would give in with , but for every . So there is exactly one.