You drive from one city to another, two hundred kilometres apart, in two hours flat. Your average speed for the journey is one hundred kilometres per hour. Now consider the instantaneous speed your speedometer reads at each moment. It might have read 8080 at one point, 130130 at another, 00 when you were stopped at a red light. But at some instant during the trip, your speedometer must have read exactly 100100. Not “around 100100”, not ”100100 on average”, but precisely 100100 at one specific moment of clock time.

That this is true should feel inevitable, even obvious. Your speed varied continuously, the average is 100100, so by continuity the instantaneous speed must hit 100100 on its way through the various values it takes. The remarkable thing is that this everyday physical intuition is exactly the content of one of the most-used theorems in all of calculus — the Mean Value Theorem, which says, in mathematical form, that the instantaneous rate of change of a smooth function must equal its average rate of change at some point in any interval. This article is about that theorem, its short proof, and why it sits at the foundation of so much of analysis.

The statement

Let ff be a continuous function on a closed interval [a,b][a, b], and differentiable on the open interval (a,b)(a, b). Then there exists at least one point cc in the interior of the interval such that

f(c)=f(b)f(a)ba.f'(c) = \frac{f(b) - f(a)}{b - a}.

The right-hand side is the average slope of the function between aa and bb — the slope of the straight line (the secant) connecting the endpoints. The left-hand side is the instantaneous slope of the function at the single point cc. The theorem says: at some point in the interval, the tangent line to the curve is parallel to the secant line that joins the endpoints.

A picture

The geometric content is best seen all at once. The curve in the picture below climbs from (a,f(a))(a, f(a)) to a peak and then descends to (b,f(b))(b, f(b)); the secant line is drawn in green, and at one specific point cc a tangent line of the same slope is shown in red, parallel to the secant.

Mean Value Theorem: tangent at c is parallel to the secant a→b secant: slope = average rate tangent at c: same slope c (a, f(a)) (b, f(b)) a c b

The point cc is where the curve, having climbed and then started to descend, is steepest in the same direction as the overall trend from start to finish. Visually it is the place where the tangent line would slide along the curve in perfect parallel to the green secant. The MVT is the statement that such a cc must exist — and indeed it usually does in more than one place on a curve that wiggles.

Why it is true: Rolle’s theorem

The proof of the mean value theorem is short and goes through a special case, Rolle’s theorem: if f(a)=f(b)f(a) = f(b), then there exists c(a,b)c \in (a, b) with f(c)=0f'(c) = 0.

This is intuitively obvious. If the curve starts and ends at the same height, it must rise and then come back down (or vice versa), and at the highest or lowest point in between it has a horizontal tangent. A rigorous proof uses the extreme value theorem — a continuous function on a closed interval attains its maximum and minimum — and Fermat’s theorem that the derivative vanishes at an interior extremum. So Rolle’s theorem follows almost from definitions.

To deduce the general mean value theorem, define an auxiliary function

g(x)=f(x)f(b)f(a)ba(xa).g(x) = f(x) - \frac{f(b) - f(a)}{b - a}(x - a).

This is ff minus the linear function whose slope is the average slope. By direct check, g(a)=f(a)g(a) = f(a) and g(b)=f(a)g(b) = f(a) as well, so gg takes the same value at both endpoints. Rolle’s theorem applies to gg and yields a point cc where g(c)=0g'(c) = 0. Computing g(c)=f(c)(f(b)f(a))/(ba)=0g'(c) = f'(c) - (f(b) - f(a))/(b - a) = 0 rearranges into exactly the statement of the mean value theorem. Three lines of algebra and the job is done.

What it really gives us

The reason the mean value theorem is so important is not the picture but its consequences. It is the bridge from derivative information to function information.

Monotonicity. Suppose f(x)>0f'(x) > 0 for all xx in some interval. For any two points a<ba < b in that interval, the mean value theorem says f(b)f(a)=f(c)(ba)f(b) - f(a) = f'(c)(b - a) for some cc between them. Since f(c)>0f'(c) > 0 and ba>0b - a > 0, the right side is positive, so f(b)>f(a)f(b) > f(a). The function is increasing. This is the standard calculus-textbook fact that “positive derivative means increasing,” and it is proved by the mean value theorem. Without it, the connection between the sign of ff' and the behaviour of ff would be a heuristic, not a theorem.

Constant functions. If f(x)=0f'(x) = 0 everywhere on an interval, then for any two points a<ba < b, the mean value theorem gives f(b)f(a)=f(c)(ba)=0f(b) - f(a) = f'(c) \cdot (b - a) = 0. So f(b)=f(a)f(b) = f(a) for any two points — meaning ff is constant. The MVT is what justifies the leap from “the derivative is zero” to “the function does not change.” This in turn underwrites the indefinite integral: two antiderivatives of the same function differ by a constant precisely because their difference has derivative zero everywhere.

Lipschitz bounds. If f(x)M|f'(x)| \leq M on an interval, the MVT immediately gives f(b)f(a)Mba|f(b) - f(a)| \leq M|b - a|, a uniform bound on how fast the function can change. This is the foundation of the mean value inequality, and it is the reason bounding the derivative bounds the function — a fact used implicitly in almost every error estimate in numerical analysis.

Taylor’s remainder. When you approximate a function by its Taylor polynomial of degree nn, the error has a clean form called the Lagrange remainder:

Rn(x)=f(n+1)(c)(n+1)!(xa)n+1,R_n(x) = \frac{f^{(n+1)}(c)}{(n+1)!}(x - a)^{n+1},

for some cc between aa and xx. This is essentially the mean value theorem applied iteratively. It is what lets you bound Taylor-polynomial errors by bounding higher derivatives, and it is the basis of nearly every quantitative error analysis in classical analysis.

Newton’s method. The convergence proof of Newton’s method for root-finding relies on the mean value theorem to control how quickly successive iterates approach the root. Many iteration-based numerical algorithms in fact prove their convergence by applying MVT-style inequalities to the error.

A speedometer between cities

The opening physical picture is in fact a perfect summary of what the theorem really says. The position-versus-time graph of a car making a journey is a continuous, differentiable function (assuming smooth driving). The total displacement divided by total time is the average velocity. The mean value theorem says: at some specific instant during the trip, the instantaneous velocity — what the speedometer reads — equals the average. This is a real, observable, physical fact, and it falls directly out of the theorem.

What makes the result mathematically interesting is not the existence of the moment — that is intuitively unavoidable — but how generally the same logic works. Replace position by any continuously differentiable quantity, replace time by any continuous parameter, and the same conclusion holds: somewhere along the way, the rate of change matched the average rate. It is the kind of statement whose physical content seems almost too obvious to need proving, until you try to prove it without the theorem and find that all your proofs implicitly need it. That is the situation classical calculus was in for nearly a century before Lagrange and Cauchy wrote down the statement and proof properly.

A small theorem with a long reach

The mean value theorem is a small result. It says, in essence, that derivatives cannot lie about averages. A continuously differentiable function’s instantaneous slope is forced to coincide, somewhere, with its average slope across any interval. But from that tiny seed grows the entire structural connection between local and global behaviour that makes the calculus of real-valued functions a coherent subject rather than a collection of formulas. Without it, the relationship between ff and ff' would be a matter of intuition rather than logic, and most of single-variable analysis would be built on sand.

It is among the cleanest examples in mathematics of how a single physically obvious fact, once stated precisely and proved, becomes the foundation on which an entire theory can be built. The car between two cities had to hit exactly 100100 kilometres per hour at some moment — and somehow that single sentence is the engine that drives Taylor’s theorem, the proof that the derivative determines whether a function is increasing, the convergence of numerical methods, and a host of inequalities and bounds that working analysts use every day. Lagrange and Cauchy gave us, in just a few lines, one of the most quietly powerful theorems in all of mathematics.

Frequently asked

Who proved the mean value theorem first?

Augustin-Louis Cauchy gave the first modern statement and rigorous proof in his 1823 lectures at the École Polytechnique, building on a near-version published by Joseph-Louis Lagrange in 1797. The special case where f(a) = f(b), now called Rolle's theorem, was proved by Michel Rolle in 1691 for polynomials and extended to general smooth functions later. The general MVT is therefore sometimes called the 'Lagrange–Cauchy theorem' in older textbooks.

What is Rolle's theorem?

It is the special case of the mean value theorem where f(a) and f(b) happen to be equal. The statement is then that f'(c) = 0 for some c between a and b — there is a point where the curve has a horizontal tangent, which is intuitively obvious if you imagine a smooth curve that starts and ends at the same height: it must have a peak or a valley somewhere in between. Rolle's theorem is the essential lemma from which the full mean value theorem is derived in one short algebraic step.

Why is the mean value theorem useful?

Because it converts a global statement about a function into a local statement about its derivative. Want to know whether f is increasing on an interval? Check whether f' is positive there — MVT guarantees that the sign of the derivative controls the change of the function. Want to bound the error in a Taylor polynomial? MVT gives you the Lagrange remainder. Want to prove a function is constant? Show its derivative is zero everywhere; MVT does the rest. The theorem is the workhorse that makes elementary calculus proofs work.

Does MVT have a multidimensional version?

Yes, but it is more subtle. For a function f from R^n to R, the gradient version of MVT holds: f(b) − f(a) = ∇f(c) · (b − a) for some c on the segment between a and b. For maps from R^n to R^m with n ≥ 1 and m > 1, the literal statement fails — there may be no single point c at which the derivative matrix takes the average value. Instead one uses an integral version, sometimes called the fundamental theorem of calculus for line integrals, which substitutes an average derivative along the segment for a single derivative at a point.