TL;DR
Suppose a function is smooth on an interval: no jumps and no sharp corners. Draw the straight line joining its values at the two ends. The theorem says that somewhere in between, the curve's slope is exactly the slope of that line. The average rate of change over an interval is always matched by the instantaneous rate at some moment inside it.
Where you'll see it: in proofs that a function is increasing when its derivative is positive, in error bounds for numerical approximations, and in the remainder term of Taylor series.
Intuition
Start from a trip you already know
You drive 150 km in 2 hours. Your average speed is 75 km/h. Did your speedometer ever read exactly 75 km/h? Almost certainly yes. You may have started slowly, sped up on the motorway and slowed for a town, but a continuous trip that covers 150 km in 2 hours cannot avoid passing through exactly the average speed at some moment.
That is the whole theorem. The average rate over an interval is the slope of the straight line joining the endpoints (a secant). The instantaneous rate is the derivative. The theorem says the two are equal at some point in between.
A picture
Take a curve that rises from the point to the point . The straight line joining them has slope . The curve starts flatter than that line and ends steeper, so somewhere in between it must be tilted exactly like the line. That tangent point is the one the theorem promises.
- f(x) = x^2
- secant from (0, 0) to (2, 4)
Why the conditions matter
The curve must be unbroken, otherwise it can jump over the average slope. It must have no sharp corners, otherwise the slope can change abruptly without ever taking the average value. The formal conditions are Continuity on the closed interval (the interval including both endpoints) and a Derivative at every point strictly inside it.
The math
Statement
Let be a function that is continuous on the closed interval and differentiable on the open interval . Then there is a point with such that
Here is the change in height across the interval, is its width, and their ratio is the average slope. The theorem says the derivative , the slope at one point, equals that average. The theorem does not say where is. It only promises that such a point exists.
The special case: Rolle's theorem
If , the average slope is , and the theorem says for some inside. This is Rolle's theorem. It says a smooth curve that returns to the same height must have a flat point between.
Why is it true? A continuous function on a closed interval reaches a highest and a lowest value (the extreme value theorem: a curve with no breaks drawn over a bounded stretch has a top and a bottom). If the highest and lowest values both equal the common endpoint height , the function is constant and every interior point has zero slope. Otherwise at least one of the highest or lowest values differs from the endpoint height, so it occurs at some interior point . At an interior maximum or minimum of a differentiable function, the slope must be zero: moving slightly left or right cannot increase or decrease the value at a peak or valley.
Deriving the general case from Rolle
Set the secant slope and define a new function
Subtracting the straight line from tilts the picture so the secant becomes horizontal. Check the endpoints: and , because . So . Rolle's theorem gives with . Since , this says .
Worked examples
Let on .
- Endpoint values: and .
- Average slope: .
- Derivative: .
- Solve , which gives .
- Check: lies inside , and , as the theorem promises.
- Interpretation: the parabola is steepest at its right end, but at its tangent happens to match the average slope.
Let on .
- Endpoint values: and .
- Average slope: .
- Derivative: .
- Solve , so and .
- Check: lies inside . Also , which matches.
- Interpretation: the theorem found the exact point, and it is not the midpoint . The location depends on the function, which is why the theorem only promises existence.
A car's position in kilometres after hours is for from to . Its derivative is the speed, .
- Start and end positions: and .
- Average speed: km/h.
- Solve : , so .
- Check: lies in , and .
- Interpretation: the speedometer reads exactly the average speed 75 km/h one hour into the trip. The car started at 50 km/h and sped up to 100 km/h, so the average is reached on the way.
Tradeoffs and failure modes
The theorem is an existence result. It tells you a matching point exists but not how to find it, and you usually solve equal to the secant slope by other means.
Both hypotheses are needed. The function on has , so the average slope is . Its derivative is everywhere it exists, never . The theorem fails because has a sharp corner at , where it is not differentiable.
| Situation | Problem | Better choice |
|---|---|---|
| Function has a jump | The curve can skip the average slope | Split the interval at the jump |
| Function has a corner | The derivative may not exist at the corner | Apply the theorem on each smooth piece |
| You need the actual point | The theorem gives no formula | Solve numerically |
| Need a bound, not a point | The exact point is unnecessary | Use the bound on the interval |
History
Michel Rolle published the special case, now called Rolle's theorem, in 1691, in a work on algebra rather than calculus. Joseph-Louis Lagrange stated the general form in the late 1700s, in his work on analytic functions. Augustin-Louis Cauchy gave a rigorous proof in the 1820s, once the notion of a continuous function was made precise. The theorem caught on because it turns information about averages into information about instants, which is the core move of calculus.
Recap
A continuous, smooth function has an average slope over an interval, and that slope is the derivative at some interior point. Rolle's theorem handles the flat-ends case, and subtracting the secant line reduces the general case to it. The theorem is the tool behind Taylor's theorem with its remainder term, and it proves that a positive derivative means a function is increasing.
Check yourself
QuestionRecall. State the two conditions the function must satisfy for the mean value theorem to apply on .Show answer
The function must be continuous on the closed interval , so it has no jumps, and differentiable on the open interval , so it has no sharp corners inside.
QuestionComputation. Let on . Find the point promised by the theorem.Show answer
The average slope is . The derivative is . Solve , which gives . Check: lies in .
QuestionWhy. Why does the theorem need the function to be continuous, not just differentiable on the open interval?Show answer
Differentiability on the open interval says nothing about the endpoints, so the function could jump there. For example, take on with : it is differentiable on with slope everywhere, but the average slope is , which the derivative never equals. The proof needs continuity on the closed interval so the extreme value theorem guarantees a highest and lowest value.
QuestionApplied. A runner covers 10 km in 1 hour. Explain why the theorem guarantees a moment when the instantaneous speed equals 10 km/h, assuming the position is smooth.Show answer
The average speed over the hour is km/h. If the position function is continuous and differentiable over the hour, the mean value theorem gives a moment in where the derivative, the instantaneous speed, equals 10 km/h. The runner may have been faster and slower at other times, but at some instant the speed matches the average.