Jump to content

Exercises: Derivatives 3 – "Math for Non-Geeks"

From Wikibooks, open books for an open world

Rolle's theorem and the intermediate value theorem

[edit | edit source]
Exercise

Is there a c∈ℝ such that f(x)=x3−3x+c has two distinct zeros in [−1,1]?

Solution

Suppose there is a c∈ℝ such that f has two zeros x0,x1∈[−1,1]. Since f is continuous on [x0,x1]⊆[−1,1] and differentiable on (x0,x1)⊆(−1,1), according to Rolle's theorem there is a ξ∈(x0,x1) with f′(ξ)=0. But now there is for every c∈ℝ: f′(x)=3x2−3=0⇔x2=1⇔x=±1∉(x0,x1). So f cannot have two zeros.

Exercise

Let f:ℝ→ℝ be differentiable and f′ continuous. Let further f(0)=0, f(1)=2 and f(2)=1. Show that f′ has at least one zero.

Proof

f is continuous on [0,1]⊂ℝ and f(0)=0<1<2=f(1). Therefore, according to the intermediate value theorem, there is an x0∈[0,1] with f(x0)=1.

Further, f is continuous on [x0,2]⊂ℝ, differentiable on (x0,2)⊂ℝ and f(x0)=1=f(2). According to Rolle's theorem, there is hence a ξ∈(x0,2) with f′(ξ)=0. So f has at least one zero (on ℝ).

Mean value theorem

[edit | edit source]
Exercise (An easy application of the mean value theorem)

Let f:[0,1]→ℝ, f(x)=2ln⁡(x3+2−x2). Show that there is a y∈(0,1) with f′(y)=ln⁡(2)?

Solution (An easy application of the mean value theorem)

f is continuous on [0,1] and differentiable on (0,1), as a composition of continuous and differentiable functions, respectively. Thus, the mean value theorem is applicable. There is hence a y∈(0,1) with

f′(y)=f(1)−f(0)1−0=2ln⁡(2)−ln⁡(2)=ln⁡(2)

Exercise (Useful inequality 1)

Show that: For all x∈ℝ there is

1+x≤ex≤xex+1

Solution (Useful inequality 1)

Proof step: 1+x≤ex

Case 1: x>0

We define f:[0,x]→ℝ by f(t)=et. Then f is continuous, and on (0,x) differentiable. Thus, the mean value theorem is applicable, and there exists a ξ∈(0,x) with

f′(ξ)=f(x)−f(0)x−0⟺eξ=ex−e0x−0=ex−1x

Now, because of ξ∈(0,x),

ex−1x=eξ>ξ>0e0=1⟺ex−1>x⟺ex>x+1

Case 2: x=0

Here we have 1+0=e0, i.e., equality.

Case 3: x<0

Again, by the mean value theorem there is a ξ∈(x,0) with

ex−1x=eξ<ξ<0e0=1⟺x<0ex−1>x⟺ex>x+1

So there is 1+x≤ex for all x∈ℝ

Proof step: ex≤xex+1

Here we show only the case x>0:

We again define f:[0,x]→ℝ, f(t)=et. Then f is continuous, and on (0,x) differentiable. According to the mean value theorem, there exists a ξ∈(0,x) with

ex−1x=eξ<ξ<xex⟺ex−1<xex⟺ex<xex+1

For x=0 there is again equality, and for x<0 the statement follows analogously with the mean value theorem.

Hint

From the first inequality, the transition to −x for x<1 still allows for the inequality:

ex≤11−x

Exercise (Useful inequality 2)

Show that: For 0<x<π2 there is

sin⁡(x)<x<tan⁡(x)

Solution (Useful inequality 2)

Proof step: sin⁡(x)<x

Let x∈(0,π2). Then the sine function on [0,π2] is continuous and on (0,π2) it is differentiable. With the mean value theorem there is a ξ∈(0,π2) with

f′(ξ)=sin′⁡(ξ)=sin⁡(x)−sin⁡(0)x−0=sin⁡(x)x

But now there is f′(ξ)=cos⁡(ξ)<1 for ξ∈(0,π2). Thus, we have

sin⁡(x)x<1⟺sin⁡(x)<x

Proof step: x<tan⁡(x)

Let x∈(0,π2). Then the tangent function on [0,π2] is continuous and on (0,π2) it is differentiable. With the mean value theorem there is a ξ∈(0,π2) with

f′(ξ)=1+tan2(ξ)=tan⁡(x)−tan⁡(0)x−0=tan⁡(x)x

But now there is f′(ξ)=1+tan2(ξ)>1 for ξ∈(0,π2). Thus, we have

tan⁡(x)x>1⟺tan⁡(x)>x⟺x<tan⁡(x)

Hint

The inequality can be further extended to all x∈ℝ:

|sin⁡(x)|≤|x|≤|tan⁡(x)|

Where equality only holds at x=0.

Exercise (Implication of the mean value theorem)

Show by the mean value theorem that:

Let f,g:[a,b]→ℝ be continuous on [a,b] and differentiable on (a,b). Furthermore, let f(a)≥g(a) and f′≥g′ hold on (a,b). Then, there is f≥g on [a,b].

As an application: prove the following generalization of the Bernoulli inequality: For α>1 and all x>0 there is (1+x)α≥1+αx.

How to get to the proof? (Implication of the mean value theorem)

We present three different possible solutions: One with use of the mean value theorem, one via the monotonicity criterion and one via the fundamental theorem of calculus. Within all three, we make use of the auxiliary function h=f−g.

Proof (Implication of the mean value theorem)

We consider the auxiliary function

h:[a,b]→ℝ, h(x):=f(x)−g(x)

This function is continuous and differentiable on (a,b). Further there is

  1. h(a)=f(a)−g(a)≥0
  2. h′(x)=f′(x)−g′(x)≥0 for all x∈(a,b)

1st way: By the mean value theorem

By the mean value theorem, for all x∈(a,b] there is a ξ∈(a,x) with

h(x)−h(a)x−a=h′(ξ)≥2.0⇒h(x)−h(a)≥0⇒h(x)≥h(a)≥1.0⇒f(x)≥g(x) for all x∈[a,b]

2nd way: By the monotonicity criterion

It follows from 1 that h is monotonically increasing on (a,b) (even on [a,b]).

⇒h(x)≥h(a)≥2.0 for all x∈[a,b]⇔f(x)≥g(x) for all x∈[a,b]

3rd way: By the fundamental theorem of calculus

By assumption, h is integrable and because of the monotonicity of the integral there is for all x∈[a,b]:

∫axh′(t)dt≥2.∫ax0dt=0.

But now, by the fundamental theorem of calculus

∫axh′(t)dt=h(x)−h(a)≥0⇒h(x)≥h(a)≥1.0⇒f(x)≥g(x) ∀x∈[a,b]

Concerning the application exercise: We define

f:[0,∞)→ℝ, f(x)=(1+x)α=exp⁡(αln⁡(1+x))

and

g:[0,∞)→ℝ, f(x)=1+αx

Then f and g are continuous on [0,∞) and differentiable on (0,∞) with

f′(x)=exp⁡(αln⁡(1+x))⋅α1+x=(1+x)α⋅α1+x=α(1+x)α−1

and

g′(x)=α

Furthermore, there is f(0)=0α=exp⁡(0)=1≥1+α⋅0. Since the exponential function is strictly monotonically increasing, there is for all x∈(0,∞):

f′(x)=(1+x)α−1=αexp⁡((α−1)ln⁡(1+x)⏟≥ln⁡(1)=0)⏟≥exp⁡(0)=1≥α⋅1=α=g′(x)

With the proven statement we hence get for all x∈[0,∞):

f(x)≥g(x)⟺(1+x)α≥1+αx

Hint

If we even have f(a)>g(a) and f′>g′ on (a,b), then we have f>g on [a,b].

Hint

The generalized Bernoulli inequality can even be shown for all x>−1. Equality only holds in the case x=0.

Exercise (mean valuer theorem for continuously differentiable functions)

Let f:[a,b]→ℝ be continuous, and continuously differentiable on (a,b). Show that there is a ξ∈(a,b) with f′(ξ)=f(b)−f(a)b−a, using the intermediate value theorem.

Solution (mean valuer theorem for continuously differentiable functions)

We consider any function f with the given properties and the secant through the points (a,f(a)) and (b,f(b)). The slope of the secant is given by the difference quotient f(b)−f(a)b−a. Next we look at the slope of the graph, i.e. the derivative values of the function on the interval (a,b).

Case 1: The function graph is a straight line.

Then the derivative function is constant and consequently there is f(b)−f(a)b−a=f′(ξ) for all ξ∈(a,b).

Case 2: The function graph is not a straight line.

Then a λ∈(a,b) must exist with f(b)−f(a)b−a>f′(λ) or f(b)−f(a)b−a<f′(λ) so that f has no straight line as a function graph. It follows in turn that a μ∈(a,b) exists with f(b)−f(a)b−a<f′(μ) or f(b)−f(a)b−a>f′(μ), because otherwise the graph at b can never take the function value f(b). So in total there exist λ,μ∈(a,b) with f′(λ)<f(b)−f(a)b−a<f′(μ). According to the intermediate value theorem, which is applicable here to the derivative function because it is continuous, there is now a ξ∈(a,b) with f′(ξ)=f(b)−f(a)b−a.

So in every m case there is a ξ∈(a,b) with f′(ξ)=f(b)−f(a)b−a.

Exercise (Unbounded derivative and uniform continuity)

Let f:ℝ→ℝ be a differentiable function with limx→∞f′(x)=∞. Prove that then f is not a uniformly continuous function.

Proof (Unbounded derivative and uniform continuity)

Let f:ℝ→ℝ be a differentiable function with limx→∞f′(x)=∞. To prove that f is not uniformly continuous, it must be shown that there is an ϵ>0, such that for all δ>0 there are real numbers x,y∈ℝ with |x−y|<δ and |f(x)−f(y)|≥ϵ.

Choose ϵ=12. Now let δ>0 be arbitrary. Because of limx→∞f′(x)=∞ there is an x0∈ℝ with f′(x)≥1δ for all x∈ℝ with x≥x0. According to the mean value theorem equation there is then for all x∈ℝ with x≥x0:

f(x)−f(x0)≥1δ⋅(x−x0)⇒ f(x)≥f(x0)+1δ⋅(x−x0)≥f(x0)

Now choose x:=x0+δ2>x0. There is by the above estimation f(x)=f(x0+δ2)≥f(x0) and we get:

|f(x0+δ2)−f(x0)|=f(x0+δ2)−f(x0)≥1δ⋅((x0+2δ)−x0)=1δ⋅δ2=12=ϵ

Thus f is not uniformly continuous.

Exercise (Application of the second mean value theorem)

Let f,g:(a,b)→ℝ be differentiable. Further let |f′(x)|≥|g′(x)| for all x∈(a,b). Show that then also

|f(y)−f(x)|≥|g(y)−g(x)|

holds for all x,y∈(a,b).

Proof (Application of the second mean value theorem)

Let x,y∈(a,b) be arbitrary with x<y. Then f and g are continuous on [x,y] and differentiable on (x,y) according to the assumption. Then, with the second mean value theorem, there is a ξ∈(x,y) with

f(y)−f(x)g(y)−g(x)=f′(ξ)g′(ξ)⟹|f(y)−f(x)g(y)−g(x)|=|f′(ξ)g′(ξ)|

Since by assumption |f′(x)|≥|g′(x)| holds for all x∈(a,b) , we get |f′(ξ)g′(ξ)|≥1.

From this we obtain

|f(y)−f(x)g(y)−g(x)|≥1⟺|f(y)−f(x)|≥|g(y)−g(x)|

Lipschitz-continuity of functions

[edit | edit source]
Exercise (Lipschitz-continuity of functions)

Show by the mean value theorem (using the implication function about Lipschitz continuous functions), that the following functions are Lipschitz continuous. Determine in addition some suitable Lipschitz constants.

  1. f:ℝ→ℝ, f(x)=arctan⁡(x)
  2. g:ℝ→ℝ, g(x)=tanh⁡(x)
  3. h:ℝ→ℝ, h(x)=sin⁡(2x)+cos⁡(3x)
Solution (Lipschitz-continuity of functions)

Part 1: For all x∈ℝ there is

|f′(x)|=11+x2≤x2≥011+0=1

So f has a bounded derivative, and is therefore Lipschitz continuous. Further for all x,y∈ℝ there is

|f(x)−f(y)|≤supx∈ℝ|f′(x)|⏟=1⋅|x−y|

Therefore, L1=1 is an appropriate Lipschitz constant.

Part 2: Here, for all x∈ℝ there is:

|g′(x)|=1cosh2(x)≤cosh⁡≥111=1

Thus, by boundedness of derivative, g is Lipschitz-continuous, as well. Moreover, there is for all x,y∈ℝ

|g(x)−g(y)|≤supx∈ℝ|g′(x)|⏟=1⋅|x−y|

Hence, L2=1 is an appropriate Lipschitz constant here.

Part 3: finally there is for all x∈ℝ:

|h′(x)|=|2cos⁡(2x)−3sin⁡(3x)|≤triangleinequality2|cos⁡(2x)|+3|sin⁡(3x)|≤sin⁡,cos⁡≤12+3=5

So also h is Lipschitz-continuous, and for all x,y∈ℝ there is

|h(x)−h(y)|≤supx∈ℝ|h′(x)|⏟=5⋅|x−y|

Hence, L3=5 is an appropriate Lipschitz constant.

Exercise (Lipschitz-continuity of functions)

Let f:[a,b]→ℝ be a continuous function that is differentiable on (a,b). Let m,M∈ℝ be any two real numbers such that m≤f′(x)≤M for all x∈(a,b). Prove that for all x,y∈(a,b) the following estimate holds:

m⋅(x−y)≤f(x)−f(y)≤M⋅(x−y)

Proof (Lipschitz-continuity of functions)

Let f:[a,b]→ℝ be a continuous function with the properties of the problem. Let y,x∈(a,b) be arbitrary. If y=x then x−y=0 and f(x)−f(y)=0, so the above estimate is satisfied. Let therefore in the following x≠y.

Proof step: m⋅(x−y)≤f(x)−f(y)

Proof by contradiction: Let m⋅(x−y)>f(x)−f(y). Thus m>f(x)−f(y)x−y. It follows from the mean value theorem that there is an x~∈[min⁡{x,y},max⁡{x,y}] with f′(x~)=f(x)−f(y)x−y. Thus m>f(x)−f(y)x−y=f′(x~) is inconsistent with m≤f′(x0) for all x0∈(a,b).

Proof step: f(x)−f(y)≤M⋅(x−y)

Proof by contradiction: Let f(x)−f(y)>M⋅(x−y). Thus f(x)−f(y)x−y>M. It follows from the mean value theorem that there is an x~∈[min⁡{x,y},max⁡{x,y}] with f′(x~)=f(x)−f(y)x−y. Thus f′(x~)=f(x)−f(y)x−y>M is inconsistent with f′(x0)≤M for all x0∈(a,b).

Exercise (Local Lipschitz continuity)

Let f:D→ℝ be a continuously differentiable function, where D is an open subset of ℝ. Prove that f is locally Lipschitz continuous. That means, you need to prove that for all x0∈D there exists an ϵ>0 such that f is Lipschitz continuous on (x0−ϵ,x0+ϵ)∩D.

Proof (Local Lipschitz continuity)

Let f:D→ℝ be a continuously differentiable function, where D⊆ℝ is open. Let x0∈ℝ be arbitrary. Since D is open, there is a δ>0 such that (x0−δ,x0+δ)⊆D. Choose ϵ:=12⋅δ. Then [x0−ϵ,x0+ϵ]⊆D. Since f′ is continuous, f′ is a bounded function on [x0−ϵ,x0+ϵ].

Now we have already proved that differentiable functions with bounded derivatives are Lipschitz continuous. Thus f is Lipschitz continuous on [x0−ϵ,x0+ϵ] and thus also on (x0−ϵ,x0+ϵ)∩D.