Jump to content

Mean value theorem

From Wikipedia, the free encyclopedia

Template:Short description Template:ForTemplate:For{{#invoke:sidebar|collapsible | class = plainlist | titlestyle = padding-bottom:0.25em; | pretitle = Part of a series of articles about | title = Calculus | image = <math>\int_{a}^{b} f'(t) \, dt = f(b) - f(a)</math> | listtitlestyle = text-align:center; | liststyle = border-top:1px solid #aaa;padding-top:0.15em;border-bottom:1px solid #aaa; | expanded = | abovestyle = padding:0.15em 0.25em 0.3em;font-weight:normal; | above =

Template:Startflatlist

Template:EndflatlistTemplate:Startflatlist

Template:Endflatlist

| list2name = differential | list2titlestyle = display:block;margin-top:0.65em; | list2title = Template:Bigger | list2 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | heading1 = Definitions
 | content1 =
 | heading2 = Concepts
 | content2 =
 | heading3 = Rules and identities
 | content3 =
}}

| list3name = integral | list3title = Template:Bigger | list3 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =

| heading2 = Definitions

 | content2 =
 | heading3 = Integration by
 | content3 =
}}

| list4name = series | list4title = Template:Bigger | list4 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
 | heading2 = Convergence tests
 | content2 =
}}

| list5name = vector | list5title = Template:Bigger | list5 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
 | heading2 = Theorems
 | content2 =
}}

| list6name = multivariable | list6title = Template:Bigger | list6 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | heading1 = Formalisms
 | content1 =
 | heading2 = Definitions
 | content2 =
 | heading3 = Theorems
 | content3 =
}}

| list7name = advanced | list7title = Template:Bigger | list7 ={{#invoke:sidebar|sidebar|child=yes

 |contentclass=hlist
 | content1 =
}}

| list8name = specialized | list8title = Template:Bigger | list8 =

| list9name = miscellanea | list9title = Template:Bigger | list9 =

}}

In calculus and real analysis, the mean value theorem (or Lagrange's mean value theorem) is a theorem about differentiable functions, roughly stating that the average rate of change of such a function over an interval is equal to the instantaneous rate of change at some point in the interval. For example, if a car smoothly travels a certain distance over a given finite time interval, then at some moment during the trip, its instantaneous speed equals its average speed for the whole trip.

The theorem states precisely that if a real-valued function is continuous on a closed interval <math>[a,b]</math>, with <math>a<b</math>, and differentiable on the interior <math>(a,b)</math>, then there is at least one point in <math>(a,b)</math> where the derivative equals the function's average rate of change over the whole interval. Geometrically, this means that at some point the tangent to the graph is parallel to the secant line through the interval's endpoints. It is used in proving other general properties of differentiable functions.

History

A special case of this theorem for inverse interpolation of the sine was first described by Parameshvara (1380–1460), from the Kerala School of Astronomy and Mathematics in India, in his commentaries on Govindasvāmi and Bhāskara II.[1] A restricted form of the theorem was proved by Michel Rolle in 1691; the result was what is now known as Rolle's theorem, and was proved only for polynomials, without the techniques of calculus. The mean value theorem in its modern form was stated and proved by Augustin Louis Cauchy in 1823.[2] Many variations of this theorem have been proved since then.[3][4]

Statement

File:Mittelwertsatz3 c version.svg
The function Template:Mvar attains the slope of the secant between Template:Mvar and Template:Mvar as the derivative at the point Template:Math.
File:Mittelwertsatz6.svg
It is also possible that there are multiple tangents parallel to the secant.

Let <math>f:[a,b]\to\R</math> be a continuous function on the closed interval Template:Nowrap and differentiable on the open interval Template:Nowrap where Template:Nowrap Then there exists some <math>c</math> in <math>(a,b)</math> such that:Template:Sfn <math display="block">f'(c)=\frac{f(b)-f(a)}{b-a}.</math>

The mean value theorem is a generalization of Rolle's theorem, which assumes <math>f(a)=f(b)</math>, 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 <math>f:[a,b]\to\R</math> is continuous on <math>[a,b]</math>, and that for every <math>x</math> in <math>(a,b)</math> the limit <math display="block">\lim_{h\to 0}\frac{f(x+h)-f(x)}{h}</math> exists as a finite number or equals <math>\infty</math> or <math>-\infty</math>. If finite, that limit equals <math>f'(x)</math>. An example where this version of the theorem applies is given by the real-valued cube root function mapping <math>x \mapsto x^{1/3}</math>, whose derivative tends to infinity at the origin.

Proof

The expression <math display="inline">\frac{f(b)-f(a)}{b-a}</math> gives the slope of the line joining the points <math>(a,f(a))</math> and <math>(b,f(b))</math>, which is a chord of the graph of <math>f</math>, while <math>f'(x)</math> gives the slope of the tangent to the curve at the point <math>(x,f(x))</math>. 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 <math>g(x)=f(x)-rx</math>, where <math>r</math> is a constant. Since <math>f</math> is continuous on <math>[a,b]</math> and differentiable on <math>(a,b)</math>, the same is true for <math>g</math>. We now want to choose <math>r</math> so that <math>g</math> satisfies the conditions of Rolle's theorem. Namely <math display="block">\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} . \end{align}</math>

By Rolle's theorem, since <math>g</math> is differentiable and <math>g(a)=g(b)</math>, there is some <math>c</math> in <math>(a,b)</math> for which <math>g'(c)=0</math> , and it follows from the equality <math>g(x)=f(x)-rx</math> that, <math display="block">\begin{align} &g'(x) = f'(x) -r \\ & g'(c) = 0\\ &g'(c) = f'(c) - r = 0 \\ &\Rightarrow f'(c) = r = \frac{f(b)-f(a)}{b-a} \end{align}</math>

Implications

Theorem 1: Assume that <math>f</math> is a continuous real-valued function defined on an arbitrary interval <math>I</math> of the real line. If the derivative of <math>f</math> at every interior point of the interval <math>I</math> exists and is zero, then <math>f</math> is constant on <math>I</math>.

Proof: Assume the derivative of <math>f</math> at every interior point of the interval <math>I</math> exists and is zero. Let <math>(a, b)</math> be an arbitrary open interval in <math>I</math>. By the mean value theorem, there exists a point <math>c</math> in <math>(a, b)</math> such that <math display="block">0=f'(c)=\frac{f(b)-f(a)}{b-a}.</math>

This implies that Template:Nowrap. Thus, <math>f</math> is constant on the interior of <math>I</math> and thus is constant on <math>I</math> by continuity. (See below for a multivariable version of this result.)

Remarks:

Theorem 2: If <math>f'(x) = g'(x)</math> for all <math>x</math> in an interval <math>I</math> of the domain of these functions, then <math>f - g</math> is constant, i.e. <math>f = g + c</math> where <math>c</math> is a constant.

Proof: Let <math>F(x) = f(x) - g(x)</math>, then <math>F'(x)=f'(x)-g'(x)=0</math> on the interval <math>I</math>. By theorem 1, <math>F</math> is constant over <math>I</math>, so <math>f = g + c</math> over <math>I</math>, where <math>c</math> is a constant.

Theorem 3: If <math>F</math> is an antiderivative of <math>f</math> on an interval <math>I</math>, then the most general antiderivative of <math>f</math> on <math>I</math> is <math>F(x) + c</math> where <math>c</math> is a constant.

Proof: It directly follows from the theorem 2 above.

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.[5]Template:Sfn It states: if the functions <math>f</math> and <math>g</math> are both continuous on the closed interval <math>[a,b]</math> and differentiable on the open interval <math>(a,b)</math>, then there exists some <math>c \in (a,b)</math>, such that <math display="block">(f(b)-f(a))g'(c)=(g(b)-g(a))f'(c).</math>

File:Cauchy.svg
Geometrical meaning of Cauchy's theorem

Of course, if <math>g(a) \neq g(b)</math> and <math>g'(c) \neq 0</math>, this is equivalent to: <math display="block">\frac{f'(c)}{g'(c)}=\frac{f(b)-f(a)}{g(b)-g(a)}.</math>

Geometrically, this means that there is some tangent to the graph of the curve[6] <math display="block">\begin{cases}[a,b] \to \R^2\\t\mapsto (f(t),g(t))\end{cases}</math> which is parallel to the line defined by the points <math>(f(a), g(a))</math> and <math>(f(b), g(b))</math>. However, Cauchy's theorem does not claim the existence of such a tangent in all cases where <math>(f(a), g(a))</math> and <math>(f(b), g(b))</math> are distinct points, since it might be satisfied only for some value <math>c</math> with <math>f'(c) = g'(c) = 0</math>, 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 <math display="block">t \mapsto \left(t^3,1-t^2\right),</math> which on the interval <math>[-1,1]</math> goes from the point <math>(-1, 0)</math> to <math>(1, 0)</math>, yet never has a horizontal tangent; however it has a stationary point (in fact a cusp) at <math>t = 0</math>.

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

Proof

The proof of Cauchy's mean value theorem is based on the same idea as the proof of the mean value theorem.

Define <math display="block">h(x) = (g(b)-g(a))f(x) - (f(b)-f(a))g(x),</math> then we easily see <math>h(a)={}</math><math>h(b)={}</math><math>f(a)g(b)-f(b)g(a)</math>.

Since <math>f</math> and <math>g</math> are continuous on <math>[a,b]</math> and differentiable on <math>(a,b)</math>, the same is true for <math>h</math>. All in all, <math>h</math> satisfies the conditions of Rolle's theorem. Consequently, there is some <math>c</math> in <math>(a,b)</math> for which <math>h'(c) = 0</math>. Now using the definition of <math>h</math> we have: <math display="block">0=h'(c)=(g(b)-g(a))f'(c)-(f(b)-f(a))g'(c)</math> The result easily follows.

Mean value theorem in several variables

The mean value theorem generalizes to real functions of multiple variables. The trick is to use parametrization to create a real function of one variable, and then apply the one-variable theorem.

Let <math>G</math> be an open subset of <math>\R^n</math>, and let <math>f:G\to\R</math> be a differentiable function. Fix points <math>x,y\in G</math> such that the line segment between <math>x, y</math> lies in <math>G</math>, and define <math>g(t)=f\big((1-t)x+ty\big)</math>. Since <math>g</math> is a differentiable function in one variable, the mean value theorem gives: <math display="block">g(1)-g(0)=g'(c)</math> for some <math>c</math> between 0 and 1. But since <math>g(1)=f(y)</math> and <math>g(0)=f(x)</math>, computing <math>g'(c)</math> explicitly we have: <math display="block">f(y)-f(x)=\nabla f\big((1-c)x+cy\big)\cdot (y-x)</math> where <math>\nabla</math> denotes a gradient and <math>\cdot</math> a dot product. This is an exact analog of the theorem in one variable (in the case <math>n=1</math> this is the theorem in one variable). By the Cauchy–Schwarz inequality, the equation gives the estimate: <math display="block">\Bigl|f(y)-f(x)\Bigr| \le \Bigl|\nabla f\big((1-c)x+cy\big)\Bigr|\ \Bigl|y - x\Bigr|.</math>

In particular, when <math>G</math> is convex and the partial derivatives of <math>f</math> are bounded, <math>f</math> is Lipschitz continuous (and therefore uniformly continuous).

As an application of the above, we prove that <math>f</math> is constant if the open subset <math>G</math> is connected and every partial derivative of <math>f</math> is 0. Pick some point <math>x_0\in G</math>, and let <math>g(x)=f(x)-f(x_0)</math>. We want to show <math>g(x)=0</math> for every <math>x\in G</math>. For that, let <math>E=\{x\in G:g(x)=0\}</math>. Then <math>E</math> is closed in <math>G</math> and nonempty. It is open too: for every <math>x\in E</math> , <math display="block">\Big|g(y)\Big|=\Big|g(y)-g(x)\Big|\le (0)\Big|y-x\Big|=0</math> for every <math>y</math> in open ball centered at <math>x</math> and contained in <math>G</math>. Since <math>G</math> is connected, we conclude <math>E=G</math>.

The above arguments are made in a coordinate-free manner; hence, they generalize to the case when <math>G</math> 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 (see below). However, there is an inequality which can be applied to many of the same situations to which the mean value theorem is applicable in the one dimensional case:Template:Sfn

Template:Math theorem

Template:Math proof

Mean value inequality

Template:See also Jean Dieudonné in his classic treatise Foundations of Modern Analysis discards the mean value theorem and replaces it by mean inequality as the proof is not constructive and one cannot find the mean value and in applications one only needs mean inequality. Serge Lang in Analysis I uses the mean value theorem, in integral form, as an instant reflex but this use requires the continuity of the derivative. If one uses the Henstock–Kurzweil integral one can have the mean value theorem in integral form without the additional assumption that derivative should be continuous as every derivative is Henstock–Kurzweil integrable.

The reason why there is no analog of mean value equality is the following: If Template:Math is a differentiable function (where Template:Math is open) and if Template:Math, Template:Math is the line segment in question (lying inside Template:Mvar), then one can apply the above parametrization procedure to each of the component functions Template:Math of f (in the above notation set Template:Math). In doing so one finds points Template:Math on the line segment satisfying <math display="block">f_i(x+h) - f_i(x) = \nabla f_i (x + t_ih) \cdot h.</math>

But generally there will not be a single point Template:Math on the line segment satisfying <math display="block">f_i(x+h) - f_i(x) = \nabla f_i (x + t^* h) \cdot h.</math> for all Template:Mvar simultaneously. For example, define: <math display="block">\begin{cases} f : [0, 2 \pi] \to \R^2 \\ f(x) = (\cos(x), \sin(x)) \end{cases}</math>

Then <math>f(2\pi) - f(0) = \mathbf{0} \in \R^2</math>, but <math>f_1'(x) = -\sin (x)</math> and <math>f_2'(x) = \cos (x)</math> are never simultaneously zero as <math>x</math> ranges over <math>\left[0, 2 \pi\right]</math>.

The above theorem implies the following: Template:Math theorem

In fact, the above statement suffices for many applications and can be proved directly as follows. (We shall write <math>f</math> for <math>\textbf{f}</math> for readability.) Template:Math proof

Cases where the theorem cannot be applied

All conditions for the mean value theorem are necessary:

  1. <math>\boldsymbol{f} </math> is differentiable on <math>\boldsymbol{(a,b)} </math>
  2. <math>\boldsymbol{f} </math> is continuous on <math>\boldsymbol{[a,b]} </math>
  3. <math>\boldsymbol{f} </math> is real-valued

When one of the above conditions is not satisfied, the mean value theorem is not valid in general, and so it cannot be applied.

File:Absolute Value.svg

The necessity of the first condition can be seen by the counterexample where the function <math>f</math> given by <math>f(x)=|x| </math> on <math>[-1,1]</math> is non-differentiable at at least one point in <math>(-1,1)</math>.

The necessity of the second condition can be seen by the counterexample where the function <math>f</math> given by <math display="block">f(x) = \begin{cases} 1, & \text{at }x=0 \\ 0, & \text{if }x\in( 0,1] \end{cases} </math> satisfies criteria 1 since <math>f'(x)=0 </math> on <math>(0,1) </math> but not criteria 2 since <math>f</math> is not left-continuous at <math>0</math>. The average rate of change of <math>f</math> over <math>[0,1]</math> is given by <math display="block">\frac{f(1)-f(0)}{1-0}=-1 </math> but there doesn't exist <math>x\in (0,1) </math> such that <math>f'(x)=-1</math>, so the theorem doesn't hold.

The theorem is false if a differentiable function is complex-valued instead of real-valued. For example, if <math>f(x) = e^{xi}</math> for all real <math>x</math>, then <math display="block">f(2\pi)-f(0)=0=0(2\pi-0)</math> while <math>f'(x)\ne 0</math> for any real <math>x</math>.

Mean value theorems for definite integrals

First mean value theorem for definite integrals

File:积分中值定理.jpg
Geometrically: interpreting Template:Math as the height of a rectangle and Template:Math as the width, this rectangle has the same area as the region below the curve from Template:Mvar to Template:Mvar[7]

Let Template:Math be a continuous function. Then there exists Template:Mvar in Template:Math such that <math display="block">\int_a^b f(x) \, dx = f(c)(b - a).</math>

This is proved by letting <math>m</math> and <math>M</math> be the minimum and maximum values of <math>f</math> on <math>[a,b]</math>, respectively. Then <math>m \le \frac{1}{b-a}\int_a^b f(x)\,dx\le M</math>. By the intermediate value theorem, since <math>f</math> maps <math>[a,b]</math> onto <math>[m,M]</math>, there exists a <math>c</math> with the required property.

Since the mean value of Template:Mvar on Template:Math is defined as <math display="block">\frac{1}{b-a} \int_a^b f(x) \, dx,</math> we can interpret the conclusion as Template:Mvar achieves its mean value at some Template:Mvar in Template:Math.[8]

In general, if Template:Math is continuous and Template:Mvar is an integrable function that does not change sign on Template:Math, then there exists Template:Mvar in Template:Math such that <math display="block">\int_a^b f(x) g(x) \, dx = f(c) \int_a^b g(x) \, dx.</math>

Second mean value theorem for definite integrals

The second mean value theorem for definite integrals has various forms. A commonly found version is as follows:

Template:Block indent

Here <math>G(a^+)</math> stands for <math display="inline">{\lim_{x\to a^+}G(x)}</math>, the existence of which follows from the conditions. Note that it is essential that the interval Template:Math contains Template:Mvar. A variant not having this requirement is:[9]

Template:Block indent

If the function <math>G</math> returns a multi-dimensional vector, then the MVT for integration is not true, even if the domain of <math>G</math> is also multi-dimensional.

For example, consider the following 2-dimensional function defined on an <math>n</math>-dimensional cube: <math display="block">\begin{cases} G: [0,2\pi]^n \to \R^2 \\ G(x_1, \dots, x_n) = \left(\sin(x_1 + \cdots + x_n), \cos(x_1 + \cdots + x_n) \right) \end{cases} </math>

Then, by symmetry it is easy to see that the mean value of <math>G</math> over its domain is Template:Math: <math display="block">\int_{[0,2\pi]^n} G(x_1,\dots,x_n) dx_1 \cdots dx_n = (0,0)</math>

However, there is no point in which <math>G=(0,0)</math>, because <math>|G|=1</math> everywhere.

Generalizations

Linear algebra

Assume that <math>f, g,</math> and <math>h</math> are differentiable functions on <math>(a,b)</math> that are continuous on <math>[a,b]</math>. Define <math display="block"> D(x) = \begin{vmatrix} f(x) & g(x) & h(x)\\ f(a) & g(a) & h(a)\\ f(b) & g(b) & h(b) \end{vmatrix}</math>

There exists <math>c\in(a,b)</math> such that <math> D'(c)=0</math>.

Notice that <math display="block"> D'(x) = \begin{vmatrix} f'(x) & g'(x)& h'(x)\\ f(a) & g(a) & h(a)\\ f(b) & g(b)& h(b) \end{vmatrix}</math> and if we place <math>h(x)=1</math>, we get Cauchy's mean value theorem. If we place <math>h(x)=1</math> and <math>g(x)=x</math> we get Lagrange's mean value theorem.

The proof of the generalization is quite simple: each of <math>D(a)</math> and <math>D(b)</math> are determinants with two identical rows, hence <math>D(a)=D(b)=0</math>. Then Rolle's theorem implies that there exists <math>c\in (a,b)</math> such that <math>D'(c)=0</math>.

Probability theory

Let Template:Mvar and Template:Mvar be non-negative random variables such that Template:Math and <math>X \leq_{st} Y</math> (i.e. Template:Mvar is smaller than Template:Mvar in the usual stochastic order). Then there exists an absolutely continuous non-negative random variable Template:Mvar having probability density function <math display="block"> f_Z(x)={\Pr(Y>x)-\Pr(X>x)\over {\rm E}[Y]-{\rm E}[X]}\,, \qquad x\geqslant 0.</math>

Let Template:Mvar be a measurable and differentiable function such that Template:Math, and let its derivative Template:Math be measurable and Riemann-integrable on the interval Template:Math for all Template:Math. Then, Template:Math is finite and[10] <math display="block"> {\rm E}[g(Y)]-{\rm E}[g(X)]={\rm E}[g'(Z)]\,[{\rm E}(Y)-{\rm E}(X)].</math>

Complex analysis

Template:See also As noted above, the theorem does not hold for differentiable complex-valued functions. Instead, a generalization of the theorem is stated such:[11]

Let Template:Math be a holomorphic function on the open convex set Template:Math, and let Template:Mvar and Template:Mvar be distinct points in Template:Math. Then there exist points Template:Mvar, Template:Mvar on the interior of the line segment from Template:Mvar to Template:Mvar such that <math display="block">\operatorname{Re}(f'(u)) = \operatorname{Re}\left ( \frac{f(b)-f(a)}{b-a} \right),</math> <math display="block">\operatorname{Im}(f'(v)) = \operatorname{Im}\left ( \frac{f(b)-f(a)}{b-a} \right).</math>

Where Template:Math is the real part and Template:Math is the imaginary part of a complex-valued function.

See also

Notes

Template:Reflist

References

|_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:Mean-ValueTheorem%7CMean-ValueTheorem.html}} |title = Mean-Value Theorem |author = Weisstein, Eric W. |website = MathWorld |access-date = |ref = Template:SfnRef }}

  • {{#invoke:Template wrapper|{{#if:|list|wrap}}|_template=cite web

|_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:CauchysMean-ValueTheorem%7CCauchysMean-ValueTheorem.html}} |title = Cauchy's Mean-Value Theorem |author = Weisstein, Eric W. |website = MathWorld |access-date = |ref = Template:SfnRef }}


Template:Calculus topics Template:Joseph-Louis Lagrange Template:Authority control

  1. ↑ J. J. O'Connor and E. F. Robertson (2000). Paramesvara, MacTutor History of Mathematics archive.
  2. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  3. ↑ Template:Cite journal
  4. ↑ Template:Cite book
  5. ↑ {{#invoke:Template wrapper|{{#if:|list|wrap}}|_template=cite web |_exclude=urlname, _debug, id |url = https://mathworld.wolfram.com/{{#if:ExtendedMean-ValueTheorem%7CExtendedMean-ValueTheorem.html}} |title = Extended Mean-Value Theorem |author = Weisstein, Eric W. |website = MathWorld |access-date = |ref = Template:SfnRef }}
  6. ↑ Template:Cite news
  7. ↑ {{#invoke:citation/CS1|citation |CitationClass=web }}
  8. ↑ Template:Cite book
  9. ↑ Template:Cite journal
  10. ↑ Template:Cite journal
  11. ↑ 1 J.-Cl. Evard, F. Jafari, A Complex Rolle’s Theorem, American Mathematical Monthly, Vol. 99, Issue 9, (Nov. 1992), pp. 858-861.