# Mean value theorem

﻿
Mean value theorem
Topics in Calculus
Fundamental theorem
Limits of functions
Continuity
Mean value theorem
For any function that is continuous on [ab] and differentiable on (ab) there exists some c in the interval (ab) such that the secant joining the endpoints of the interval [ab] is parallel to the tangent at c.
The Government of Beijing celebrates the Mean Value Theorem

In calculus, the mean value theorem states, roughly, that given an arc of a differentiable (continuous) curve, there is at least one point on that arc at which the derivative (slope) of the curve is equal to the "average" derivative of the arc. Briefly, a suitable infinitesimal element of the arc is parallel to the secant chord connecting the endpoints of the arc. The theorem 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.

More precisely, if a function f(x) is continuous on the closed interval [ab] and differentiable on the open interval (ab), then there exists a point c in (ab) such that

$f'(c) = \frac{f(b) - f(a)}{b-a} \, .$[1]

This theorem can be understood intuitively 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. Therefore, the Mean Value Theorem tells us that at some point during the journey, the car must have been traveling at exactly 100 miles per hour; that is, it was traveling at its average speed.

A special case 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).

## Formal statement

Topics in Calculus
Fundamental theorem
Limits of functions
Continuity
Mean value theorem

Let f : [a, b] → R be a continuous function on the closed interval [a, b], and differentiable on the open interval (a, b), where a < b. Then there exists some c in (a, b) such that

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

The mean value theorem is a generalization of Rolle's theorem, which assumes f(a) = f(b), 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 f : [a, b] → R is continuous on [a, b], and that for every x in (a, b) the limit

$\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}$

exists as a finite number or equals +∞ or −∞. If finite, that limit equals f′(x). An example where this version of the theorem applies is given by the real-valued cube root function mapping x to x1/3, 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. For example, define f(x) = eix for all real x. Then

f(2π) − f(0) = 0 = 0(2π − 0)

while |f′(x)| = 1.

## Proof

The expression (f(b) − f(a)) / (ba) gives the slope of the line joining the points (af(a)) and (bf(b)), which is a chord of the graph of f, while f′(x) gives the slope of the tangent to the curve at the point (xf(x)). 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 g(x) = f(x) − rx, where r is a constant. Since f is continuous on [ab] and differentiable on (ab), the same is true for g. We now want to choose r so that g satisfies the conditions of Rolle's theorem. Namely

\begin{align}g(a)=g(b)&\iff f(a)-ra=f(b)-rb\\ &\iff r(b-a)=f(b)-f(a) \\&\iff r=\frac{f(b)-f(a)}{b-a}\cdot\end{align}

By Rolle's theorem, since g is continuous and g(a) = g(b), there is some c in (ab) for which g'(c) = 0, and it follows from the equality g(x) = f(x) − rx that,

$f '(c)=g '(c)+r=0+r=\frac{f(b)-f(a)}{b-a}$

as required.

## A simple application

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.

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

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

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 ƒ, 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. (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

Cauchy's mean value theorem, also known as the extended mean value theorem, is a generalization of the mean value theorem. It states: If functions f and g are both continuous on the closed interval [a,b], and differentiable on the open interval (a, b), then there exists some c ∈ (a,b), such that

Geometrical meaning of Cauchy's theorem.
$(f(b)-f(a))g\,'(c)=(g(b)-g(a))f\,'(c).\,$

Of course, if g(a) ≠ g(b) and if g′(c) ≠ 0, this is equivalent to:

$\frac{f'(c)}{g'(c)}=\frac{f(b)-f(a)}{g(b)-g(a)}\cdot$

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

$\begin{array}{ccc}[a,b]&\longrightarrow&\mathbb{R}^2\\t&\mapsto&\bigl(f(t),g(t)\bigr),\end{array}$

which is parallel to the line defined by the points (f(a),g(a)) and (f(b),g(b)). However Cauchy's theorem does not claim the existence of such a tangent in all cases where (f(a),g(a)) and (f(b),g(b)) are distinct points, since it might be satisfied only for some value c with f′(c) = g′(c) = 0, 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

$t\mapsto(t^3,1-t^2),$

which on the interval [−1,1] goes from the point (−1,0) to (1,0), yet never has a horizontal tangent; however it has a stationary point (in fact a cusp) at t = 0.

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 g(t) = t.

### 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.

Define h(x) = f(x) − rg(x), where r is a constant. Since f and g are continuous on [ab] and differentiable on (ab), the same is true for h. We now want to choose r so that h satisfies the conditions of Rolle's theorem. Namely

\begin{align}h(a)=h(b)&\iff f(a)-rg(a)=f(b)-rg(b)\\ &\iff r(g(b)-g(a))=f(b)-f(a) \\&\iff r=\frac{f(b)-f(a)}{g(b)-g(a)}\cdot\end{align}

By Rolle's theorem, since h is continuous and h(a) = h(b), there is some c in (ab) for which h'(c) = 0, and it follows from the equality h(x) = f(x) − rg(x) that,

$h'(c)=0=f'(c)-r(g'(c)) \Rightarrow\frac{f'(c)}{g'(c)}= r=\frac{f(b)-f(a)}{g(b)-g(a)}$

as required.

## Mean value theorem in several variables

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 Rn, and let f : G → R be a differentiable function. Fix points x, yG such that the interval xy lies in G, and define g(t) = f((1 − t)x + ty). Since g is a differentiable function in one variable, the mean value theorem gives:

$g(1) - g(0) = g'(c) \!$

for some c between 0 and 1. But since g(1) = f(y) and g(0) = f(x), computing g′(c) explicitly we have:

$f(y) - f(x) = \nabla f ((1- c)x + cy) \cdot (y - x)$

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:

$|f(y) - f(x)| \le |\nabla f ((1- c)x + cy)| \, |y - x|.$

In particular, when the partial derivatives of f are bounded, f is Lipschitz continuous (and therefore uniformly continuous). Note that f 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 ∇f would not be sufficient.

As an application of the above, we prove that f is constant if G is connected and every partial derivative of f is 0. Pick some point x0G, and let g(x) = f(x) − f(x0). We want to show g(x) = 0 for every xG. For that, let E = {xG : g(x) = 0} . Then E is closed and nonempty. It is open too: for every xE,

$|g(y)| = |g(y) - g(x)| \le (0) |y - x| = 0$

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

There is no exact analog of the mean value theorem for vector-valued functions. The problem is roughly speaking the following: If $f:U\rightarrow\mathbb{R}^m$ is a differentiable function (where $U\subset\mathbb{R}^n$ is open) and if $x+th,\,x,h\in\mathbb{R}^n,\,t\in[0,1]$ is the line segment in question (lying inside $\,U$), then one can apply the above parametrization procedure to each of the component functions $f_i \, (i=1,\ldots,m)$ of $\,f$ (in the above notation set $\,y=x+h$). In doing so one finds points $\,x+t_ih$ on the line segment satisfying

$f_i(x+h) - f_i(x) = \nabla f_i (x + t_ih) \cdot h.\,$

But generally there will not be a single point $\,x+t^* h$ on the line segment satisfying

$f_i(x+h) - f_i(x) = \nabla f_i (x + t^* h) \cdot h.\,$

for all $\,i$ simultaneously. (As a counterexample one could take $f:[0,2\pi]\rightarrow\mathbb{R}^2$ defined via the component functions $\,f_1(x)=\cos x,$ $\,f_2(x)=\sin x$. Then $f(2\pi)-f(0)=0 \,(\in\mathbb{R}^2)$, but $\,f_1'(x)=-\sin x$ and $\,f_2'(x)=\cos x$ are never simultaneously zero as $\, x$ ranges over $\,[0,2\pi]$.)

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 $\,t^*$ between 0 and 1 such that

$f(x+h)-f(x) = f'(x+t^*h)\cdot h. \,$

On the other hand we have

$f(x+h)-f(x) = \int_x^{x+h} f'(u)du = \left(\int_0^1 f'(x+th)\,dt\right)\cdot h.$

Thus, the value $f\,'(x+t^*h)$ at the particular point $\,t^*$ has been replaced by the mean value $\int_0^1 f'(x+th)\,dt$. This last version can be generalized to vector valued functions:

Let $U\subset\mathbb{R}^n$ be open, $f:U\rightarrow\mathbb{R}^m$ continuously differentiable, and $x\in U,\,h\in\mathbb{R}^n$ vectors such that the whole line segment $x+th,\, 0\leq t\leq 1$ remains in $\,U$. Then we have:

$\text{(*)} \qquad f(x+h)-f(x) = \left(\int_0^1 Df(x+th)\,dt\right)\cdot h,$

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

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

$\text{(**)} \qquad ||f(x+h)-f(x)|| \leq M||h||.$

Proof of (*). Write $f_i\,$ ($i=1,\ldots,m$) for the real valued components of $\,f$. Define the functions $g_i:[0,1]\rightarrow\mathbb{R}$ by $g_i(t)\, :=\, f_i(x+th).$

Then we have

$f_i(x+h)-f_i(x)\, =\, g_i(1)-g_i(0) =\int_0^1 g_i'(t)dt = \int_0^1 \left(\sum_{j=1}^n \frac{\partial f_i}{\partial x_j} (x+th)h_j\right)\,dt =\sum_{j=1}^n \left(\int_0^1 \frac{\partial f_i}{\partial x_j}(x+th)\,dt\right)h_j.$

The claim follows since $\,Df$ is the matrix consisting of the components $\frac{\partial f_i}{\partial x_j}$, q.e.d.

Proof of (**). From (*) it follows that $||f(x+h)-f(x)||=\left\|\int_0^1 (Df(x+th)\cdot h)\,dt\right\| \leq \int_0^1 ||Df(x+th)|| \cdot ||h||\, dt \leq M||h||.$

Here we have used the following

Lemma. Let $v:[a,b]\rightarrow\mathbb{R}^m$ be a continuous function defined on the interval $[a,b]\subset\mathbb{R}$. Then we have

$\text{(***)}\qquad \left\|\int_a^b v(t)\,dt\right\|\leq \int_a^b \|v(t)\|\,dt.$

Proof of (***). Let $u\in\mathbb{R}^m$ denote the value of the integral $u:=\int_a^b v(t)\,dt.$ Now

$||u||^2 = \langle u,u \rangle = \left\langle \int_a^b v(t) dt,u \right\rangle = \int_a^b \langle v(t),u \rangle \,dt \leq \int_a^b ||v(t)||\cdot ||u||\,dt = ||u|| \int_a^b ||v(t)||\,dt,$

thus $||u|| \leq \int_a^b ||v(t)||\,dt$ as desired. (Note the use of the Cauchy–Schwarz inequality.) This shows (***) and thereby finishes the proof of (**).

## Mean value theorems for integration

### First mean value theorem for integration

The first mean value theorem for integration states

If $G:[a,b]\to \mathbb{R}$ is a continuous function and φ is an integrable function that does not change sign on the interval (a,b), then there exists a number $x\in(a,b)$ such that
$\int_a^b G(t)\varphi (t) \, dt=G(x) \int_a^b \varphi (t) \, dt.$

In particular, if φ(t) = 1 for all $t \in [a,b]$, then there exists $x\in (a,b)$ such that

$\int_a^b G(t) \, dt=\ G(x)(b - a).\,$

The point G(x) is called the mean value of G(t) on [a,b].

### Proof of the first mean value theorem for integration

It follows from the extreme value theorem that the continuous function G has a finite infimum m and a finite supremum M on the interval [ab]. From the monotonicity of the integral and the fact that m ≤ G(t) ≤ M, it follows that

$m I\le \int^b_aG(t)\varphi(t) \, dt \le M I,$

where

$I:=\int^b_a\varphi(t) \, dt$

denotes the integral of φ. Hence, if I = 0, then the claimed equality holds for every x in [ab]. Therefore, we may assume I > 0 in the following. Dividing through by I we have that

$m \le \frac1I\int^b_aG(t)\varphi(t) \, dt\le M.$

The extreme value theorem tells us more than just that the infimum and supremum of G on [ab] are finite; it tells us that both are actually attained. Thus we can apply the intermediate value theorem, and conclude that the continuous function G attains every value of the interval [mM], in particular there exists x in [ab] such that

$G(x) = \frac1I\int^b_aG(t)\varphi(t) \, dt.$

This completes the proof.

### Second mean value theorem for integration

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 (ab] such that
$\int_a^b G(t)\varphi(t)\,dt = G(a+0) \int_a^x \varphi(t)\,dt.$

Here G(a + 0) stands for ${\underset{a_+}{\lim}G}$ , the existence of which follows from the conditions. Note that it is essential that the interval (ab] 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
$\int_a^b G(t)\varphi(t)\,dt = G(a+0) \int_a^x \varphi(t)\,dt + G(b-0) \int_x^b \varphi(t)\,dt.$

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

## A probabilistic analogue of the mean value theorem

Let X and Y be non-negative random variables such that $E(X) and $X\leq_{st} Y$ (i.e. X is smaller than Y in the usual stochastic order). Then there exists an absolutely continuous non-negative random variable Z having probability density function

$f_Z(x)={\Pr(Y>x)-\Pr(X>x)\over {\rm E}(Y)-{\rm E}(X)}\,, \qquad x\geq 0.$

Let g be a measurable and differentiable function such that E[g(X)] and E[g(Y)] are finite, and let its derivative g' be measurable and Riemann-integrable on the interval [x,y] for all $y\geq x\geq 0$. Then, E[g'(Z)] is finite and[3]

${\rm E}[g(Y)]-{\rm E}[g(X)]={\rm E}[g'(Z)]\,[{\rm E}(Y)-{\rm E}(X)].$

## Notes

1. ^ Weisstein, Eric. "Mean-Value Theorem". MathWorld. Wolfram Research. Retrieved 24 March 2011.
2. ^ J. J. O'Connor and E. F. Robertson (2000). Paramesvara, MacTutor History of Mathematics archive.
3. ^ A. Di Crescenzo (1999). A probabilistic analogue of the mean value theorem and its applications to reliability theory. J. Appl. Prob. 36, 706-719.

Wikimedia Foundation. 2010.

### Look at other dictionaries:

• mean-value theorem — ▪ mathematics       theorem in mathematical analysis dealing with a type of average useful for approximations and for establishing other theorems, such as the fundamental theorem of calculus (analysis).  The theorem states that the slope of a… …   Universalium

• mean value theorem — vidutinės vertės teorema statusas T sritis fizika atitikmenys: angl. mean value theorem vok. Mittelwertsatz, m rus. теорема о среднем значении, f pranc. théorème de la moyenne, m …   Fizikos terminų žodynas

• mean value theorem — noun 1. : a theorem in differential calculus: if a function of one variable is continuous on a closed interval and differentiable on the interval minus its endpoints there is at least one point where the derivative of the function is equal to the …   Useful english dictionary

• mean value theorem — Math. the theorem that for a function continuous on a closed interval and differentiable on the corresponding open interval, there is a point in the interval such that the difference in functional values at the endpoints is equal to the… …   Universalium

• mean value theorem — noun Date: 1900 1. a theorem in differential calculus: if a function of one variable is continuous on a closed interval and differentiable on the interval minus its endpoints there is at least one point where the derivative of the function is… …   New Collegiate Dictionary

• mean value theorem — noun a statement that claims that given an arc of a differentiable curve, there is at least one point on that arc at which the derivative of the curve is equal to the average derivative of the arc …   Wiktionary

• Mean value theorem (divided differences) — In mathematical analysis, the mean value theorem for divided differences generalizes the mean value theorem to higher derivatives.[1] It states that for any n + 1 points x0, ..., xn in the domain of an n times differentiable… …   Wikipedia

• mean-value theorems — In mathematics, two theorems, one associated with differential calculus and one with integral calculus. The first proposes that any differentiable function defined on an interval has a mean value, at which a tangent line is parallel to the line… …   Universalium

• Mean value analysis — In queueing theory, a specialty within the mathematical theory of probability, mean value analysis is a technique for computing expected queue lengths in equilibrium for a closed separable system of queues. It was developed by Reiser and… …   Wikipedia

• Intermediate value theorem — In mathematical analysis, the intermediate value theorem states that for each value between the upper and lower bounds of the image of a continuous function there is a corresponding value in its domain mapping to the original.Intermediate value… …   Wikipedia