Zum Inhalt springen

Exercises: Derivatives 2

Aus Wikibooks


Derivative of the inverse function

[Bearbeiten]

Exercise (Derivative of the inverse function)

Consider the function

f:ℝ→ℝ, f(x)=ex+x

Justify that the following derivatives and limits exist and calculate them:

  1. f′(0) and (f−1)′(1)
  2. limy→−∞f−1(y) and limy→−∞(f−1)′(y)

Solution (Derivative of the inverse function)

Part 1:

Proof step: Existence and computation of f′(0)

f is differentiable on ℝ as a sum of the differentiable functions exp and id with derivative

f′(x)=ex+1

So f′(0)=e0+1=2.

Proof step: Existence and computation of (f−1)′(1)

f is differentiable on ℝ as a sum of the differentiable functions exp and id with derivative

f′(x)=ex+1

Further, f′(x)>0, since ex>0 for x∈ℝ. So f is strictly monotonously increasing by the monotony criterion and hence injective. Further, f:ℝ→f(ℝ) is bijective. And we have f(0)=1, so 1∈f(ℝ), and there is f′(0)=2≠0. Hence f−1 is differentiable at 1 with

(f−1)′(1)=1f′(0)=12

Part 2:

Proof step: Computation of limy→−∞f−1(y)

There is

limx→−∞f(x)=limx→−∞ex⏟→0+x⏟→−∞=−∞

So

limy→−∞f−1(y)=−∞

Proof step: Computation of limy→−∞(f−1)′(y)

There is limx→∞f(x)=∞. According to the intermediate value theorem, f:ℝ→ℝ is bijective. For all y∈ℝ we thus have

(f−1)′(y)=1f′(f−1(y))=1exp⁡(f−1(y))+1

So

limy→−∞(f−1)′(y)=limy→−∞1exp⁡(f−1(y))+1=1exp⁡(limy→−∞f−1(y))+1=11=1

Derivative of a general logarithm function

[Bearbeiten]

Exercise (Derivative of a general logarithm function)

Show that the function

f:ℝ→ℝ+, f(x)=ax=exp⁡(xln⁡a)

with base a∈ℝ∖{1} is bijective and differentiable on ℝ . Show further that the inverse function

f−1=loga:ℝ+→ℝ, loga(y)=ln⁡yln⁡a

is differentiable on all of ℝ+ with derivative (loga)′(y)=1yln⁡a.

Solution (Derivative of a general logarithm function)

Proof step: f is bijective and differentiable

Fall 1: a>1

f is continuous on ℝ as a composition of continuous functions. Further , since ln⁡a>0, limx→∞exp⁡(x)=∞ and limx→−∞exp⁡(x)=0 there is:

limx→∞ax=limx→∞exp⁡(xln⁡a)=∞

as well as

limx→−∞ax=limx→−∞exp⁡(xln⁡a)=0

By the intermediate value theorem, f(ℝ)=ℝ+ and f is therefore surjective. Moreover, f is differentiable according to the chain rule as a composition of differentiable functions, and

f′(x)=ln⁡a⏟>0⋅exp⁡(xln⁡a)⏟>0>0

for all x∈ℝ. By the monotonicity criterion, f is strictly monotonously increasing, and hence injective. So we have shown the bijectivity of f.

Fall 2: 0<a<1

f is continuous on ℝ as a composition of continuous functions. Further , since ln⁡a<0, limx→∞exp⁡(x)=∞ and limx→−∞exp⁡(x)=0 there is:

limx→∞ax=limx→∞exp⁡(xln⁡a)=0

as well as

limx→−∞ax=limx→−∞exp⁡(xln⁡a)=∞

By the intermediate value theorem, f(ℝ)=ℝ+ and f is therefore surjective. Moreover, f is differentiable according to the chain rule as a composition of differentiable functions, and

f′(x)=ln⁡a⏟<0⋅exp⁡(xln⁡a)⏟>0<0

for all x∈ℝ. By the monotonicity criterion, f is strictly monotonously decreasing, and hence injective. So we have shown the bijectivity of f.

Proof step: f−1 exists and is differentiable

f is bijective on ℝ and hence invertible. Further, there is

y=exp⁡(xln⁡a)⟺ln⁡y=xln⁡a⟺x=ln⁡yln⁡a

So

f−1:ℝ+→ℝ,f−1(y)=loga(y)=ln⁡yln⁡a

Since in addition f′(x)=ln⁡a⋅exp⁡(xln⁡a)≠0 for all x=f−1(y)∈ℝ, the theorem about inverse function derivatives yields that f−1 is differentiable on ℝ+ with

(f−1)′(y)=1f′(f−1(y))=1f′(ln⁡yln⁡a)=1ln⁡a⋅exp⁡(ln⁡yln⁡aln⁡a)=1ln⁡a⋅exp⁡(ln⁡y)=1ln⁡a⋅y

Exercise (derivatives on arccot and area-functions)

Show that the functions

  • arccot⁡:ℝ→(0,π)
  • arsinh:ℝ→ℝ
  • arcosh:(1,∞)→(0,∞)
  • artanh:(−1,1)→ℝ

are differentiable, and determine their derivative.

Proof (derivatives on arccot and area-functions)

Differentiability of arccot:

For the cotangent function cot⁡|(0,π)=cossin|(0,π) there is:cot′⁡=−1−cot2<0. Thus the function is differentiable and strictly monotonically decreasing, and thus injective. Further, cot⁡((0,π))=ℝ. Thus cot⁡:(0,π)→ℝ is bijective. The inverse function

arccot⁡:ℝ→(0,π)

is differentiable according to the theorem on the derivative of the inverse function, and for x~∈ℝ there is:

arccot′⁡(x~)=1cot′⁡(arccot⁡(x~))=1−1−cot2(arccot⁡(x~))=1−1−x~2=−11+x~2

Differentiability of arsinh:

The hyperbolic sine function sinh⁡:ℝ→ℝ is differentiable with sinh′⁡=cosh⁡>0. Thus it is strictly monotonously increasing, and hence injective. Further, sinh⁡(ℝ)=ℝ. So it is also surjective. The inverse function

arsinh:ℝ→ℝ

is differentiable by the theorem on the derivative of the inverse function , and for x~∈ℝ there is:

arsinh′(x~)=1sinh′⁡(arsinh(x~))=1cosh⁡(arsinh(x~))=1sinh2(arsinh(x~))+1=1x~2+1

Differentiability of arcosh:

The hyperbolic cosine function cosh⁡:(0,∞)→(1,∞) is differentiable with cosh′⁡=sinh⁡>0 on (0,∞). Thus it is strictly monotonically increasing, and hence injective. Further, cosh⁡((0,∞))=(1,∞). So it is also surjective. The inverse function

arcosh:(1,∞)→(0,∞)

is differentiable by to the theorem on the derivative of the inverse function, and for x~∈(1,∞) there is:

arcosh′(x~)=1cosh′⁡(arcosh(x~))=1sinh⁡(arcosh(x~))=1sinh2(arsinh(x~))−1=1x~2−1

Differentiability of artanh:

For the cotangent function tan⁡:ℝ→(−1,1) there is: tanh′⁡=1−tanh2>0. Thus the function is strictly monotonically increasing, and thus injective. Further, tanh⁡(ℝ)=(−1,1). Thus tanh⁡:ℝ→(−1,1) is bijective. The inverse function

artanh:(−1,1)→ℝ

is differentiable by the theorem on the derivative of the inverse function, and for x~∈(−1,1) there is:

artanh′(x~)=1tanh′⁡(artanh(x~))=11−tanh2(artanh(x~))=11−x~2

Exercise (Non-differentiable functions at zero)

Let ϵ>0. Show that:

  1. Let f,g:(−ϵ,ϵ)→ℝ with f(0)=g(0)=0 and f(x)g(x)=x for all x∈(−ϵ,ϵ). Then f and g are not simultaneously differentiable at zero.
  2. Let f,g:(−ϵ,ϵ)→ℝ, and let f be differentiable at zero. Further let f(0)=f′(0)=0 and g(f(x))=x for all x∈(−ϵ,ϵ). Then g is not differentiable at zero.

Solution (Non-differentiable functions at zero)

Part 1: Assuming f and g are differentiable at zero. Then according to the product rule, fg is also differentiable at zero, and from fg=id we get for all x∈(−ϵ,ϵ) that:

f′(0)g(0)⏟=0+f(0)⏟=0g′(0)=1⟺0=1 ?

So f and g cannot both be differentiable at zero.

Part 2: Assume that g is differentiable at zero. Then according to the chain rule g∘f is also differentiable at zero, and from g∘f=id we get for all x∈(−ϵ,ϵ) that:

g′(f(0)⏟=0)⋅f′(0)⏟=0=1⟺0=1 ?

So g cannot be differentiable at zero.

Derivatives of higher order

[Bearbeiten]

Exercise 1

[Bearbeiten]

Exercise (Arbitrarily often differentiable function)

Show that the function f:ℝ→ℝ, f(x)=xex is arbitrarily often differentiable and for all n∈ℕ there is:

f(n)(x)=(x+n)ex

Proof (Arbitrarily often differentiable function)

The proof goes by induction over n∈ℕ:

Theorem whose validity shall be proven for the m∈ℕ:

f(n)(x)=(x+n)ex

1. Base case:

f′(x)=productrule1⋅ex+x⋅ex=(x+1)ex

1. inductive step:

2a. inductive hypothesis:

f(n)(x)=(x+n)ex

2b. induction theorem:

f(n+1)(x)=(x+n+1)ex

2b. proof of induction step:

f(n+1)(x)=(f(n)(x))′=inductionassumption((x+n)ex)′=productrule1⋅ex+(x+n)ex=(x+n+1)ex

Exercise 2

[Bearbeiten]

Exercise (Exactly one/two/three times differentiable functions)

Provide an example of a

  1. function f∈C0(ℝ)∖C1(ℝ)
  2. function that is differentiable, but not continuously differentiable on ℝ
  3. function f∈C2(ℝ)∖C3(ℝ)

Solution (Exactly one/two/three times differentiable functions)

Solution sub-exercise 1:

f(x)=|x| or f(x)={xsin⁡(1x) for x≠0,0 for x=0. or f(x)={xcos⁡(1x) for x≠0,0 for x=0.

Solution sub-exercise 2:

f(x)={x2sin⁡(1x) for x≠0,0 for x=0. or f(x)={x2cos⁡(1x) for x≠0,0 for x=0.

Solution sub-exercise 3:

f(x)=x⋅|x| or f(x)={x3sin⁡(1x) for x≠0,0 for x=0. or f(x)={x3cos⁡(1x) for x≠0,0 for x=0.

Solution sub-exercise 4:

f(x)=x2⋅|x| or f(x)={x5sin⁡(1x) for x≠0,0 for x=0. or f(x)={x5cos⁡(1x) for x≠0,0 for x=0.

Hint

We can successively proceed with the construction of functions and obtain some f∈Ck(ℝ)∖Ck+1(ℝ) for all k∈ℕ, with

f(x)=xk⋅|x| or f(x)={x2k+1sin⁡(1x) for x≠0,0 for x=0. or f(x)={x2k+1cos⁡(1x) for x≠0,0 for x=0.

Exercise 3

[Bearbeiten]

Exercise (Application of the Leibniz rule)

Determine the following derivatives using the Leibniz rule

  1. (xsin⁡(x))(10)
  2. (x3ln⁡(x))(2016) for x>0

Solution (Application of the Leibniz rule)

Solution sub-exercise 1:

The functions id and sin are arbitrarily often differentiable on ℝ . Hence there is

(xsin⁡(x))(10)=Leibniz-rule∑k=010(10k)(x)(k)(sin⁡(x))(10−k)↓ (x)′=1, (x)(k)=0 for k≥2, (sin⁡(x))(4k+1)=cos⁡(x) and (sin⁡(x))(4k+2)=−sin⁡(x) for all k∈ℕ=(100)(x)(0)(sin⁡(x))(10)+(101)(x)′(sin⁡(x))(9)=(100)x(−sin⁡(x))+(101)cos⁡(x)=−xsin⁡(x)+10cos⁡(x)

Solution sub-exercise 2:

The functions x↦x3 and ln are arbitrarily often differentiable on ℝ+ . Hence there is

(x3ln⁡(x))(2016)=Leibniz-rule∑k=02016(2016k)(x)(k)(ln⁡(x))(2016−k)↓ (x3)′=3x2, (x3)″=6x, (x3)‴=6, (x)(k)=0 for k≥4, (ln⁡(x))(k)=(−1)k−1(k−1)!xk for all k∈ℕ=(20160)x3(−1)2015(2015)!x2016+(20161)⋅3x2(−1)2014(2014)!x2015+(20162)⋅6x(−1)2013(2013)!x2014+(20163)⋅6⋅(−1)2012(2012)!x2013=−x3(2015)!x2016+2016⋅3x2(2014)!x2015−2016⋅2015⋅3x(2013)!x2014+2016⋅2015⋅2014⋅(2012)!x2013