53 The Mean Value Theorems

5.3.1

Question

A function f:Aโ†’R is Lipschitz on A if โˆƒM>0 such that:

|f(x)โˆ’f(y)xโˆ’y|โ‰คM

for all xโ‰ yโˆˆA.
a. Show that if f is differentiable on a closed interval [a,b] and if fโ€ฒ is continuous on [a,b] then f is Lipschitz on [a,b].
b. Review 43 Continuity Practice#4.3.11 for the definition of contractive. If we add the assumption that |fโ€ฒ(x)|<1 on [a,b] does it follow that f is contractive on this set?

Proof

a. Suppose f is differentiable on [a,b] (and thus f is continuous on at least [a,b]) and fโ€ฒ is continuous on [a,b].

By the Extreme Value Theorem then fโ€ฒ attains an absolute maximum and absolute minimum in that interval. Let's denote the maximum m1 and the minimum m0, so then โˆƒx1,x0 such that fโ€ฒ(x0)=m0 (the min.) and fโ€ฒ(x1)=m1 (the max).

Now notice if x0=x1 then the max is the min, so we have a constant function. In that case fโ€ฒ(x)=k for some kโˆˆR so then by our corollary then f(x)=kx+c. So letting xโ‰ yโˆˆ[a,b] then |f(x)โˆ’f(y)xโˆ’y|=k so choose then M=k as an obvious example.

Now if instead x0โ‰ x1 then the max isn't the min. Then choose M=max{|f(x0)|,|f(x1)|}. To show f is Lipschitz, assume for contradiction that โˆƒxโ‰ yโˆˆ[a,b] such that for any M>0:

|f(x)โˆ’f(y)xโˆ’y|>M

Now notice that our chosen M is > 0, so then this inequality is true. Now by the Mean Value Theorem (MVT) then โˆƒcโˆˆ(x,y) such that:

fโ€ฒ(c)=f(x)โˆ’f(y)xโˆ’y

So then clearly:

|fโ€ฒ(c)|>M

so we found a point c that has a larger derivative (in magnitude) than the largest possible derivatives (in magnitude). This is a contradiction!

b. Yes it is! The idea is that adding the restricted slope sort of forces the function to have its range be a subset of it's domain.

To prove this, let |fโ€ฒ(x)|<1 for all xโˆˆ[a,b]. We want to show that f is contractive, or that there exists some cโˆˆ(0,1) such that:

|f(x)โˆ’f(y)|โ‰คc|xโˆ’y|

If we let x,yโˆˆ[a,b] be arbitrary, then by the Mean Value Theorem (MVT) then โˆƒmโˆˆ(a,b) such that:

|f(x)โˆ’f(y)xโˆ’y|=|fโ€ฒ(m)|<1

This implies that:

|f(x)โˆ’f(y)|<|xโˆ’y|

Specifically, let |fโ€ฒ(m)|=c where cโˆˆ(0,1). Then clearly:

|f(x)โˆ’f(y)|=c|xโˆ’y|

thus f is contractive.

โ˜

5.3.2

Question

Let f be differentiable on an interval A. If fโ€ฒ(x)โ‰ 0 on A, show that f is one-to-one on A. Provide an example to show that the converse statement need not be true.

Proof

Let xโ‰ yโˆˆA be arbitrary. WLOG let x<y. To show that f(x)โ‰ f(y), assume for contradiction that it is instead f(x)=f(y). Then using the Mean Value Theorem (MVT) then โˆƒcโˆˆ(x,y) such that:

f(x)โˆ’f(y)xโˆ’y=fโ€ฒ(c)=0xโˆ’y=0

But that contradicts fโ€ฒ(x)โ‰ 0 for all x! Thus then f(x)โ‰ f(y), so then f must be injective (one-to-one).

Now for the converse, notice that f(x)=x13 is one-to-one on A=R but is not differentiable at x=0 for example.
โ˜

5.3.3

Question

Let h be differentiable on an interval [0,3], and assume that h(0)=1, h(1)=2, and h(3)=2.
a. Argue that โˆƒdโˆˆ[0,3] where h(d)=d.
b. Argue that at some point c we have hโ€ฒ(c)=13.
c. Argue that hโ€ฒ(x)=14 at some point in the domain.

Proof

a. Consider the function f(x)=h(x)โˆ’x. Then notice that:

f(1)=h(1)โˆ’1=2โˆ’1=1f(3)=h(3)โˆ’3=2โˆ’3=โˆ’1

Now using the Intermediate Value Theorem with y=0, then 0โˆˆf([1,3]). That means that โˆƒdโˆˆ[1,3]โІ[0,3] such that:

f(d)=0โ‡’h(d)โˆ’d=0โ‡’h(d)=d

b. Using the Mean Value Theorem (MVT), then โˆƒcโˆˆ(0,3) such that:

hโ€ฒ(c)=h(3)โˆ’h(0)3โˆ’0=13

c. The argument comes from the fact that the derivative must be positive on [0,1], and at most 0 over [1,3]. Using the Mean Value Theorem (MVT) over [0,1] then โˆƒc1โˆˆ(0,1) such that:

hโ€ฒ(c1)=h(1)โˆ’h(0)1โˆ’0=1

and similarly via the Mean Value Theorem (MVT) then โˆƒc2โˆˆ(1,3) such that:

hโ€ฒ(c2)=h(3)โˆ’h(1)3โˆ’1=0

Now, by Darboux's Theorem, then โˆƒcโˆˆ[c1,c2] such that hโ€ฒ(c)=14.

โ˜

5.3.4

Question

Let f be differentiable on an interval A containing zero, and assume (xn)โІA is a Sequence with (xn)โ†’0 and xnโ‰ 0.
a. If f(xn)=0 for all nโˆˆN show that f(0)=0 and fโ€ฒ(0)=0.
b. Add the assumption that f is twice-differentiable at zero. Show that fโ€ณ(0)=0 as well.

Proof

a. Notice that since f is differentiable then f is continuous on A containing zero. As such then:

limxโ†’0f(x)=L

exists. By the Existence of Functional Limits then because 0 is a limit point of A, then this sequence must have f(xn)โ‰ก0โ†’L, thus L=0. Similarly, since f is differentiable then:

limxโ†’0f(x)โˆ’f(0)xโˆ’0=limxโ†’0f(x)x=m

exists. Notice that by the Existence of Functional Limits then because 0 is a limit point of A then the sequence:

mโ†limnโ†’โˆžf(xn)xn=limnโ†’โˆž0xn=0

Thus m=0 similarly.

b. By the Mean Value Theorem (MVT) over [0,xn] then โˆƒcnโˆˆ(0,xn) such that:

fโ€ฒ(cn)=f(xn)xn

Then like in (a):

fโ€ณ(0)=limnโ†’โˆžfโ€ฒ(cn)cn=limnโ†’โˆžf(xn)xncn=0limnโ†’โˆž1cn=0

โ˜

5.3.6

Question

a. Let g:[0,a]โ†’R be differentiable, g(0)=0 and |gโ€ฒ(x)|โ‰คM for all xโˆˆ[0,a]. Show |g(x)|โ‰คMx for all xโˆˆ[0,a].
b. Let h:[0,a]โ†’R be twice differentiable, hโ€ฒ(0)=h(0)=0 and |hโ€ณ(x)|โ‰คM for all xโˆˆ[0,a]. Show |h(x)|โ‰คMx22 for all xโˆˆ[0,a].
c. Conjecture and prove an analogous result for a function that is differentiable three times on [0,a].

Proof

a. Let xโˆˆ[0,a] be arbitrary. Apply Mean Value Theorem (MVT) to find a cโˆˆ[0,x] such that:

gโ€ฒ(c)=g(x)โˆ’g(0)xโˆ’0=g(x)x

Thus:

|gโ€ฒ(c)|=|g(x)||x|โ‰คM=Mx|x|

(for the x=0 case the theorem holds, so the above only considers xโ‰ 0). Thus |g(x)|โ‰คM|x|โ‰กMx (since xโ‰ฅ0).

b. Again let xโˆˆ[0,a] be arbitrary. Notice that hโ€ฒ is differentiable and |(hโ€ฒ)โ€ฒ(x)|โ‰คM so then by (a) then |hโ€ฒ(x)|โ‰คMx. Using the Generalized Mean Value Theorem with the functions h(x) and x2 then we get that โˆƒcโˆˆ(0,x) such that:

[h(0)โˆ’h(x)]2c=[x2โˆ’02]hโ€ฒ(c)h(x)=โˆ’x2hโ€ฒ(c)2c|h(x)|โ‰ค|โˆ’x2hโ€ฒ(c)2c|=x22c|hโ€ฒ(c)|โ‰คx22cMc=x2M2

c. Consider the thrice-differentiable function f(x)=x4. I claim and expect that:

|f(x)|โ‰คMx36

for all xโˆˆ[0,a], where this M is determined by |fโ€ด(x)|โ‰คM. In this specific case M=4โ‹…3โ‹…2โ‹…a via direct calculation.

From (a) we know that since |(fโ€ณ)โ€ฒ(x)|โ‰คM then |fโ€ณ(x)|โ‰คMx. A similar argument shows that (b) can be applied via |(fโ€ฒ)โ€ณ(x)|โ‰คM then |fโ€ฒ(x)|โ‰คMx22. Use again the Generalized Mean Value Theorem with the functions f(x) and x3 to get that โˆƒcโˆˆ(0,x) such that:

[f(0)โˆ’f(x)]3c2=[x3โˆ’03]fโ€ฒ(c)f(x)=โˆ’x3fโ€ฒ(c)3c2|f(x)|=|โˆ’x3fโ€ฒ(c)3c2|=x33c2|fโ€ฒ(c)|โ‰คx33c2โ‹…Mc22=Mx36

โ˜

5.3.7

Question

A fixed point of a function f is a value x where f(x)=x. Show that if f is differentiable on an interval with fโ€ฒ(x)โ‰ 1 then f can have at most one fixed point.

Proof

Suppose f is differentiable on some interval (a,b) (at worst it's open) with fโ€ฒ(x)โ‰ 1. Assume for contradiction that there are at least two unique fixed points x0,x1 on that interval.

Since x0,x1 are fixed points, then f(x0)=x0 and f(x1)=x1. Now because x0โ‰ x1 (since they are unique) then one is larger. WLOG let x0<x1. Then by the Mean Value Theorem (MVT) (f is continuous on (x0,x1)โІ(a,b)) then โˆƒcโˆˆ(x0,x1)โІ(a,b) such that:

fโ€ฒ(c)=f(x1)โˆ’f(x0)x1โˆ’x0=x1โˆ’x0x1โˆ’x0=1

but this contradicts that fโ€ฒ(x)โ‰ 1 for any x (in this case we found the point c).

โ˜

5.3.8

Question

Suppose f is continuous on an interval containing zero and differentiable for all xโ‰ 0. If limxโ†’0fโ€ฒ(x)=L, show fโ€ฒ(0) exists and equals L.

Proof

Let [a,b] be this interval where a<0<b. We want a function g(x) such that we can do:

limxโ†’0gโ€ฒ(x)=limxโ†’0g(x)โˆ’g(0)xโˆ’0=LHโ‹ฏ=L

because going through this process with f requires us determining f(0)=0 which is impossible here. Choose g(x)=f(x)โˆ’f(0) such that we know that g(0)=0 as required for this to work. Notice g is continuous on the interval and differentiable for all xโ‰ 0 just like f. Then:

gโ€ฒ(x)=fโ€ฒ(x)โˆ’fโ€ฒ(0)

Thus:

limxโ†’0gโ€ฒ(x)=limxโ†’0fโ€ฒ(x)โˆ’limxโ†’0fโ€ฒ(0)=Lโˆ’fโ€ฒ(0)

but notice by direct calculation that gโ€ฒ(0) exists and is zero, so then L=fโ€ฒ(0) as requested.

โ˜

5.3.10

Question

Let f(x)=xsinโก(1x4)eโˆ’1/x2 and g(x)=eโˆ’1x2. Using the familiar properties of these functions, compute the limit as xโ†’0 of f,g,fg,fโ€ฒgโ€ฒ. Explain why the results are surprising but not in conflict with L'Hopital's Rule(s).

Proof

limxโ†’0f(x)=limxโ†’0xsinโก(1x4)eโˆ’1x2โ‰คlimxโ†’0xsinโก(1x4)=0

Where we got the limit from Lecture 29 - Chain Rule#Important Examples of Peculiarly Derived Functions and considering the similar limit limxโ†’0xsinโก(1x). So using the Limits and Order (Order Limit Theorem) (since we bound below by 0) then the limit is 0.

limxโ†’0g(x)=limxโ†’0eโˆ’1/x2=0

Because it get's squeezed by eโˆ’|x| and 0 in the interval [โˆ’1,1] which both have limit 0.

limxโ†’0f(x)g(x)=limxโ†’0xsinโก(1x4)=0

per our argument for limxโ†’0f(x).

Now for limxโ†’0fโ€ฒgโ€ฒ let's get the derivatives:

fโ€ฒ(x)=eโˆ’1x2(x2(x2+2)sinโก(1x4)โˆ’4cosโก(1x4))x4gโ€ฒ(x)=2eโˆ’1x2x3

Thus:

fโ€ฒgโ€ฒ(x)=12xโ‹…(x2(x2+2)sinโก(1x4)โˆ’4cosโก(1x4))

Calculating the limit:

limxโ†’0fโ€ฒgโ€ฒ=limxโ†’012xโ‹…(x2(x2+2)sinโก(1x4)โˆ’4cosโก(1x4))=limxโ†’0x(x2+2)sinโก(1x4)โˆ’2limxโ†’01xโ‹…cosโก(1x4)

Where the right limit doesn't exist (due to the 1x part) so then the limit doesn't exist. This shows that the converse for L'Hopital's Rule(s) doesn't necessarily hold.

โ˜

5.3.12

Question

If f is twice differentiable on an open interval containing a and fโ€ณ is continuous at a, show:

limhโ†’0f(a+h)โˆ’2f(a)+f(aโˆ’h)h2=fโ€ณ(a)

Proof

We will first prove (as the book mentions) that since f is differentiable at a then:

fโ€ฒ(a)=limhโ†’0f(a+h)โˆ’f(a)h

(ie: the alternative definition of a limit works). Simply set h=xโˆ’a then:

=limxโ†’cf(x)โˆ’f(a)xโˆ’a

as desired.

Now for the actual proof:

fโ€ณ(a)=limhโ†’0fโ€ฒ(a)โˆ’fโ€ฒ(aโˆ’h)h=limhโ†’0(limh1โ†’0f(a+h1)โˆ’f(a)h1โˆ’limh2โ†’0f(a)โˆ’f(aโˆ’h2)h2)h=limhโ†’0(limhโ†’0f(a+h)โˆ’2f(a)+f(aโˆ’h)h)h(h1=h2=hโ†’0)=limhโ†’0f(a+h)โˆ’2f(a)+f(aโˆ’h)h2

โ˜