Lecture 31 - Mean Value Theorem

Recall the definition of the derivative:

derivative

Let f:IR where I is an interval (open, closed, half-open/closed), which is definitely connected. Then f is differentiable at cI if:
limxcf(x)f(c)xc
exists. (see Functional Limit for details, and highlighting Existence of Functional Limits for showing this).

Note that:

  1. If f is differentiable at c, then we define f(c) to refer the value of the limit:
    limxcf(x)f(c)xc=f(c)
    specifically we call this the derivative of f at c.
  2. Similar to One-Sided Limits, if cI is an endpoint of I (ex: a closed interval), then this limit coincides with a one-sided limit (which we refer as a one-sided derivative):
    limxcf(x)f(c)xc,limxc+f(x)f(c)xc
  3. If f is differentiable at every cI then we say f is differentiable on I.
  4. f(x)f(c)xcis the slope of the secant line. Taking its limit gets the tangent line at a point.

Using this we can prove some more interesting theorems:

Darboux's Theorem

Let f be differentiable on a closed interval I=[a,b] and let αR satisfy either that:

  • f(a)<α<f(b), or
  • f(a)>α>f(b)
    Then c(a,b) such that f(c)=α.

This uses the Derivative definition so make sure to know that beforehand.

Proof

The trick here is to use the Interior Extremum Theorem, over and over again. We'll have issue using it though because it works for an open interval, and not a closed interval like the Extreme Value Theorem does.

Let g(x)=f(x)αx. By the Algebraic Differentiability Theorem then g is differentiable on [a,b] and x[a,b] then:
g(x)=f(x)α
Now for the first case, suppose that f(a)<α<f(b). Then:
g(a)=f(a)α<0
g(b)=f(b)α>0
So then g(a)<0<g(b). Since g is differentiable on [a,b], then it is continuous on that interval. Using the Extreme Value Theorem then g has an absolute minimum on [a,b], denote it c.

We want c(a,b) so it goes to show that ca,b. Notice that at a:
0>g(a)=limxa+g(x)g(a)xa
Now notice that xa>0 for this limit, and thus that suggests that g(x)g(a)<0 by the Limits and Order (Order Limit Theorem). So then x0>a such that g(x0)g(a)<0, so then we found a smaller value than g(a)! This contradicts a being our supposed minimum.

Similarly for b:
0<g(b)=limxbg(x)g(b)xb
Now xb<0 and thus by the Limits and Order (Order Limit Theorem), then x1<b such that g(x1)g(b)<0 so then b cannot be a minimum!

Thus c(a,b), and by the Interior Extremum Theorem then g(c)=0. Correspondingly then f(c)=α.

This looks oddly similar to the Mean-Value-Theorem no? Well it turns out this will help us out. But first, let's do a slightly easier theorem:

Rolle's Theorem

Let f:[a,b]R be continuous on [a,b] be differentiable at least on (a,b). If f(a)=f(b) then c(a,b) such that f(c)=0.

All this comes down to is applying the Interior Extremum Theorem again.

Proof

Let f be continuous on [a,b]. Then by the Extreme Value Theorem then f has an absolute maximum and an absolute minimum. Now if either of those are in-between c(a,b) then apply the Interior Extremum Theorem then f(c)=0.

Now what if c=a,b? If that's the case then f is constant (because the max and the min are at the same point c, so the function cannot increase nor decrease at all) on [a,b] which has a zero-derivative everywhere (just pick one).

The Mean-Value Theorem will come right out:

Mean value Theorem

Let f:[a,b]R be continuous on [a,b] and differentiable on at least on (a,b). Then c(a,b) such that f(c)=f(b)f(a)ba.

Proof

Create the function h(x) defined as:
h(x)=f(a)+f(b)f(a)ba(xa)
(you can think of h as the secant line between a,b). Notice that h is differentiable by Algebraic Differentiability Theorem, where:

  • h(a)=f(a)
  • h(b)=f(b)
  • h(x)=f(b)f(a)ba for all x[a,b].

Then for x[a,b] define:
g(x)=f(x)h(x)
Then g(a)=0=g(b) so by Rolle's Theorem (Baby MVT) then c(a,b) such that g(c)=0, namely:
g(c)=0=f(c)h(c)=f(c)f(b)f(a)baf(c)=f(b)f(a)ba
as desired.

What's cool here is that for:
f(c)=f(b)f(a)ba
on the RHS we only have a constant, but on the left hand side we have information about f(c). Thinking, we could try different a,b values to learn more information about f at points within those intervals (however, you don't know the exact value of c though).

Let's apply the MVT!

Examples

Let f be differentiable on the interval I. If f(x)=0 for all xI then x is constant. We use this idea of anti-derivation all the time, but using the Mean Value Theorem (MVT) we get that for free.

Proof

Take any x1,x2I and WLOG x1<x2. Now since f is differentiable on I then it satisfies the properties for Mean Value Theorem (MVT). As such then c[x1,x2] such that:
f(c)=f(x2)f(x1)x2x1
But we know that f(c)=0 (per our given) so then:
f(x2)f(x1)=0f(x2)=f(x1)
so since x1,x2 were arbitrary then all points of the function must be equal, so f is constant.

See this again in Derivative is Zero Implies Constant Function.