# Undergraduate Mathematics/Mean value theorem

In calculus, the **mean value theorem** states, roughly, that given a section of a smooth curve, there is at least one point on that section at which the derivative (slope) of the curve is equal (parallel) to the "average" derivative of the section.^{[1]} It is used to prove theorems that make global conclusions about a function on an interval starting from local hypotheses about derivatives at points of the interval.

This theorem can be understood concretely by applying it to motion: If a car travels one hundred miles in one hour, then its *average* speed during that time was 100 miles per hour. To get at that average speed, the car either has to go at a constant 100 miles per hour during that whole time, or, if it goes slower at one moment, it has to go faster at another moment as well (and vice versa), in order to still end up with an average of 100 miles per hour. The Mean Value Theorem tells us that at some point during the journey, the car was traveling at exactly 100 miles per hour; that is, it was traveling at its average speed.

An early version of this theorem was first described by Parameshvara (1370–1460) from the Kerala school of astronomy and mathematics in his commentaries on Govindasvāmi and Bhaskara II.^{[2]} The mean value theorem in its modern form was later stated by Augustin-Louis Cauchy (1789–1857). It is one of the most important results in differential calculus, as well as one of the most important theorems in mathematical analysis, and is essential in proving the fundamental theorem of calculus. The mean value theorem follows from the more specific statement of Rolle's theorem, and can be used to prove the more general statement of Taylor's theorem (with Lagrange form of the remainder term).

## Contents

## Formal statement[edit]

Template:Calculus Let be a continuous function on the closed interval , and differentiable on the open interval , where . Then there exists some such that

The mean value theorem is a generalization of Rolle's theorem, which assumes , so that the right-hand side above is 0.

The mean value theorem is still valid in a slightly more general setting. One only needs to assume that is continuous function on , and that for every 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 to , whose derivative tends to infinity at the origin.

Note that the theorem is false if a differentiable function is complex-valued instead of real-valued. Indeed, define for all real . Then

while

## Proof[edit]

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 lying between the end-points of the chord such that the tangent at that point is parallel to the chord. The following proof illustrates this idea.

Define , where is the equation of the chord crossing through the points and . Its slope is of course .

Now define . Since is * continuous* on and

*on , the same is true of .*

**differentiable**

Plugging the values into gives us that . This satisfies the conditions of Rolle's theorem, so there is a point such that .

We know from the definitions that . In addition we know that for all .

So we get

as required.

## A simple application[edit]

Assume that is a continuous, real-valued function, defined on an arbitrary interval of the real line. If the derivative of at every interior point of the interval exists and is 0, then is constant.

**Proof:** Assume the derivative of at every interior point of the interval exists and is 0. Let be an arbitrary open interval in . By the mean value theorem, there exists a point such that

This implies that . Thus, is constant on the interior of and thus is constant on by continuity. (See below for a multivariable version of this result.)

**Remarks:**

- Only continuity of , not differentiability, is needed at the endpoints of the interval . No hypothesis of continuity needs to be stated if is an open interval, since the existence of a derivative at a point implies the continuity at this point. (See the section continuity and differentiability of the article derivative.)
- The differentiability of can be relaxed to one-sided differentiability, a proof given in the article on semi-differentiability.

## Cauchy's mean value theorem[edit]

**Cauchy's mean value theorem**, also known as the **extended mean value theorem**, is the more general form of the mean value theorem. It states: If functions are both continuous on the closed interval , and differentiable on the open interval , then there exists some such that

Of course, if and if , this is equivalent to:

Geometrically, this means that there is some tangent to the graph of the curve

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 **Failed to parse (syntax error): {\displaystyle [−1,1]}**
goes from the point **Failed to parse (syntax error): {\displaystyle (−1,0)}**
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[edit]

The proof of Cauchy's mean value theorem is based on the same idea as the proof of the mean value theorem.
First we need to define a new function that satisfies the conditions of Rolle's theorem. Define the function *h* by

which is continuous on [*a*,*b*] and differentiable on (*a*, *b*). Then

and

so and Rolle's theorem applies. The derivative of *h* is

and Rolle's theorem states that it is equal to zero at some point, i.e., *h'*(c)=0 for some *c* ∈ (*a*, *b*). The equation for the derivative at *c* is

therefore

If and are nonzero this can be written as

## Mean value theorem in several variables[edit]

The mean value theorem in one variable generalizes to several variables by applying the theorem in one variable via parametrization. Let *G* be an open subset of **R**^{n}, and let *ƒ* : G → **R** be a differentiable function. Fix points *x*, *y* ∈ *G* such that the interval *x* *y* lies in *G*, and define . Since *g* is a differentiable function in one variable, the mean value theorem gives:

for some *c* between 0 and 1. But since and , computing explicitly we have:

where denotes a gradient and a dot product.
Note that this is an exact analog of the theorem in one variable (in the case *n=1* this *is* the theorem in one variable).
By the Schwarz inequality, the equation gives the estimate:

In particular, when the partial derivatives of *ƒ* are bounded, *ƒ* is Lipschitz continuous (a fortiori, uniformly continuous). Note that *ƒ* is not assumed to be continuously differentiable nor continuous on the closure of *G*. However, in the above, we used the chain rule so the existence of would not be sufficient.

As an application of the above, we prove that *ƒ* is constant if *G* is connected and every partial derivative of *ƒ* is 0. Pick some point , and let . We want to show for every . For that, let . Then *E* is closed and nonempty. It is open too: for every *x* ∈ *E*,

for every *y* in some neighborhood of *x*. (Here, it is crucial that *x* and *y* are sufficiently close to each other.) Since *G* is connected, we conclude *E* = *G*.

Remark that all arguments in the above are made in a coordinate-free manner; hence, they actually generalize to the case when *G* is a subset of a Banach space.

## Mean value theorem for vector-valued functions[edit]

There is no exact analog of the mean value theorem for vector-valued functions. The problem is roughly speaking the following: If is a differentiable function (where is open) and if is the line segment in question (lying inside ), then one can apply the above parametrization procedure to each of the component functions of (in the above notation set ). In doing so one finds points on the line segment satisfying

- .

But generally there will not be a *single* point on the line segment satisfying

for all *simultaneously*.
(As a counterexample one could take defined via the component functions
. Then , but
and are never simultaneously zero as ranges over .)

However a certain type of generalization of the mean value theorem to vector-valued functions is obtained as follows: Let *f* be a continuously differentiable real-valued function defined on an open interval *I*, and let *x* as well as *x+h* be points of *I*. The mean value theorem in one variable tells us that there exists some between *0* and *1* such that

- .

On the other hand we have

Thus, the value at the particular point has been replaced by the mean value . This last version can be generalized to vector valued functions:

Let be open, continuously differentiable, and vectors such that the whole line segment remains in . Then we have:

where the integral of a matrix is to be understood componentwise. ( denotes the Jacobian matrix of .)

From this one can further deduce that if *||Df(x+th)||* is bounded for *t* between *0* and *1* by some constant *M*, then

**Proof of (*).** Write () for the real valued components of .
Define the functions by

Then we have

The claim follows since is the matrix consisting of the components , q.e.d.

**Proof of (**).** From (*) it follows that

Here we have used the following

**Lemma.** Let be a continuous function defined on the interval . Then we have

'

**Proof of (***).** Let denote the value of the integral Now

thus as desired. (Note the use of the Cauchy-Schwarz inequality.) This shows (***) and thereby finishes the proof of (**).

## Mean value theorems for integration[edit]

### First mean value theorem for integration[edit]

The **first mean value theorem for integration** states

- If
*G*: [*a*,*b*] →**R**is a continuous function and φ : [*a*,*b*] →**R**is an integrable positive function, then there exists a number*x*in (*a*,*b*) such that

In particular for φ(*t*) = 1, there exists *x* in (*a*, *b*) such that

### Proof of the first mean value theorem for integration[edit]

Let and . It follows that

by monotonicity of the integral. Dividing through by we have that

Since *G*(*t*) is continuous, the intermediate value theorem implies that there exists *x* in [*a*, *b*] such that

which completes the proof.

### Second mean value theorem for integration[edit]

There are various slightly different theorems called the **second mean value theorem for integration**. A commonly found version is as follows:

- If
*G*: [*a*,*b*] →**R**is a positive monotonically decreasing function and φ : [*a*,*b*] →**R**is an integrable function, then there exists a number*x*in (*a*,*b*] such that

\
Here *G*(*a* + 0) stands for , the existence of which follows from the conditions. Note that it is essential that the interval (*a*, *b*] contains *b*. A variant not having this requirement is:

- If
*G*: [*a*,*b*] →**R**is a monotonic (not necessarily decreasing and positive) function and*φ*: [*a*,*b*] →**R**is an integrable function, then there exists a number*x*in (*a*,*b*) such that

This variant was proved by Hiroshi Okamura in 1947.^{[citation needed]}

## References[edit]

- ↑ "Mean Value Theorem" by Michael Trott, Wolfram Demonstrations Project.
- ↑ J. J. O'Connor and E. F. Robertson (2000). Paramesvara,
*MacTutor History of Mathematics archive*.

## External links[edit]