Formal statement
The function

attains the slope of the secant between

and

as the derivative at the point

.
It is also possible that there are multiple tangents parallel to the secant.
Let
be a continuous function on the closed interval
, and differentiable on the open interval
, where
. Then there exists some
in
such that

The mean value theorem is a generalization of Rolle's theorem, which assumes
, so that the right-hand side above is zero.
The mean value theorem is still valid in a slightly more general setting. One only needs to assume that
is continuous on
, and that for every
in
the limit

exists as a finite number or equals
or
. If finite, that limit equals
. An example where this version of the theorem applies is given by the real-valued cube root function mapping
, whose derivative tends to infinity at the origin.
Note that the theorem, as stated, is false if a differentiable function is complex-valued instead of real-valued. For example, define
for all real
. Then

while
for any real
.
These formal statements are also known as Lagrange's Mean Value Theorem.
Proof
The expression
gives the slope of the line joining the points
and
, which is a chord of the graph of
, while
gives the slope of the tangent to the curve at the point
. Thus the mean value theorem says that given any chord of a smooth curve, we can find a point on the curve lying between the end-points of the chord such that the tangent of the curve at that point is parallel to the chord. The following proof illustrates this idea.
Define
, where
is a constant. Since
is continuous on
and differentiable on
, the same is true for
. We now want to choose
so that
satisfies the conditions of Rolle's theorem. Namely

By Rolle's theorem, since
is differentiable and
, there is some
in
for which
, and it follows from the equality
that,

Implications
Theorem 1: Assume that f is a continuous, real-valued function, defined on an arbitrary interval I of the real line. If the derivative of f at every interior point of the interval I exists and is zero, then f is constant in the interior. ===
Proof: Assume the derivative of f at every interior point of the interval I exists and is zero. Let (a, b) be an arbitrary open interval in I. By the mean value theorem, there exists a point c in (a,b) such that

This implies that f(a) = f(b). Thus, f is constant on the interior of I and thus is constant on I by continuity. (See below for a multivariable version of this result.)
Remarks:
- Only continuity of f, not differentiability, is needed at the endpoints of the interval I. No hypothesis of continuity needs to be stated if I is an open interval, since the existence of a derivative at a point implies the continuity at this point.
- The differentiability of f can be relaxed to one-sided differentiability, a proof given in the article on semi-differentiability.
Theorem 2': If f'(x) = g(x) for all x in an interval (a, b) of the domain of these functions, then f - g is constant or f = g + c where c is a constant on (a, b). ===
Proof: Let F = f − g, then F' = f' − g' = 0 on the interval (a, b), so the above theorem 1 tells that F = f − g is a constant c or f = g + c.
Theorem 3: If F is an antiderivative of f on an interval I, then the most general antiderivative of f on I is F(x) + c where c is an constant. ===
Proof: It is directly derived from the above theorem 2.
Cauchy's mean value theorem
Cauchy's mean value theorem, also known as the extended mean value theorem, is a generalization of the mean value theorem. It states: if the functions
and
are both continuous on the closed interval
and differentiable on the open interval
, then there exists some
, such that
Geometrical meaning of Cauchy's theorem

Of course, if
and
, this is equivalent to:

Geometrically, this means that there is some tangent to the graph of the curve
![{\displaystyle {\begin{cases}[a,b]\to \mathbb {R} ^{2}\\t\mapsto (f(t),g(t))\end{cases}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/035d912ebe2e72e28cf8922a39d1b07ee8afe321)
which is parallel to the line defined by the points
and
. However, Cauchy's theorem does not claim the existence of such a tangent in all cases where
and
are distinct points, since it might be satisfied only for some value
with
, in other words a value for which the mentioned curve is stationary; in such points no tangent to the curve is likely to be defined at all. An example of this situation is the curve given by

which on the interval
goes from the point
to
, yet never has a horizontal tangent; however it has a stationary point (in fact a cusp) at
.
Cauchy's mean value theorem can be used to prove L'Hôpital's rule. The mean value theorem is the special case of Cauchy's mean value theorem when
.
Proof of Cauchy's mean value theorem
The proof of Cauchy's mean value theorem is based on the same idea as the proof of the mean value theorem.
-
Suppose
. Define
, where
is fixed in such a way that
, namely

Since
and
are continuous on
and differentiable on
, the same is true for
. All in all,
satisfies the conditions of Rolle's theorem: consequently, there is some
in
for which
. Now using the definition of
we have:

Therefore:

which implies the result.
-
If
, then, applying Rolle's theorem to
, it follows that there exists
in
for which
. Using this choice of
, Cauchy's mean value theorem (trivially) holds.
Licensing
Content obtained and/or adapted from: