Zum Inhalt springen

Examples for derivatives

Aus Wikibooks

In this chapter we want to summarise the most important examples of derivatives. The derivative rules will allow us for computing derivatives of composite functions.

Table of important derivatives

[Bearbeiten]

In the following table n, q and n~0 is given. We also define a,b,c, ak and p+.

function term term of the derivative function domain of definition of the derivative
c 0
xn nxn1
ax+b a
ax2+bx+c 2ax+b
k=0n~akxk k=1n~akkxk1
1x 1x2 {0}
xn=1xn nxn+1 {0}
xq qxq1 {q0+{0}q
x 12x +
xn 1nxn1n +
xqn qnxqnn +
exp(x)=ex exp(x)
px=exp(xlnp) ln(p)px
xa=exp(alnx) axa1 {a0{0}a<0
ln|x| 1x {0}
logp|x|=ln|x|lnp 1ln(p)x {0}
sin(x) cos(x)
cos(x) sin(x)
tan(x)=sinxcosx 1cos2(x)=1+tan2(x) {π2+kπ|k}
sec(x)=1cos(x) sin(x)cos2(x) {π2+kπ|k}
csc(x)=1sin(x) cos(x)sin2(x) {kπ|k}
cot(x)=cosxsinx 1sin2(x)=1cot2(x) {kπ|k}
arcsin(x) 11x2 (1,1)
arccos(x) 11x2 (1,1)
arctan(x) 11+x2
arcot(x) 11+x2
sinh(x)=exex2 cosh(x)
cosh(x)=ex+ex2 sinh(x)
tanh(x)=sinhxcoshx 1cosh2(x)=1tanh2(x)
arsinh(x) 1x2+1
arcosh(x) 1x21 (1,)
artanh(x) 11x2 (1,1)

Examples for computing derivatives

[Bearbeiten]

Now we will calculate some examples of derivatives from the table above. Often it comes down to determining the differential quotient of the function, i.e. a limit value. But sometimes it is also useful to use the calculation rules from the chapter before.

Constant functions

[Bearbeiten]

We start with some simple derivatives:

Theorem (Derivative of a constant function)

Every constant function fc is differentiable on all of with derivative 0.

Proof (Derivative of a constant function)

Let x~. Then there is

f(x~)=limxx~f(x)f(x~)xx~=limxx~ccxx~=limxx~0xx~=limxx~0=0

Power functions with natural numbers as powers

[Bearbeiten]

Now we turn to the derivative of power functions with natural powers. First we will deal with a few special cases:

Example (Derivative of the identity and the square function)

The functions

f:, f(x)=x

and

g:, g(x)=x2

are differentiable on all of . Further there is for x~:

f(x~)=limxx~xx~xx~=limxx~1=1

as well as

g(x~)=limxx~x2x~2xx~=limxx~(x+x~)(xx~)xx~=limxx~(x+x~)=2x~

For the derivative of g we used the 3rd binomial formula (x+y)(xy)=x2y2.

Exercise (Derivative of a power function)

Compute die derivative von

h:, h(x)=x3

Solution (Derivative of a power function)

For x~ there is

h(x~)=limxx~x3x~3xx~=limxx~(x2+xx~+x~2)(xx~)xx~=limxx~(x2+xx~+x~2)=3x~2

Instead of using the identity x3x~3=(x2+xx~+x~2)(xx~), we could also have calculated x3x~3xx~=x2+xx~+x~2 using polynomial division.

Now we turn to the general case, i.e. the derivative of xxn for n:

Theorem (Derivative of power functions)

The power function

f:, f(x)=xn

is for n differentiable on all of . For alle x~ there is

f(x)=nx~n1

Proof (Derivative of power functions)

For x~, so there is

f(x~)=limxx~xnx~nxx~=limxx~k=0n1xkx~n1k=k=0n1x~kx~n1k=k=0n1x~n1=nx~n1

We used the geometric sum formula k=0n1xkx~n1k=xnx~nxx~ and the continuity of the polynomial function xk=0n1xkx~n1k.

Polynomials and rational functions

[Bearbeiten]

Using the calculation rules for derivatives we can now calculate the derivatives of polynomial functions and rational functions:

Theorem (Derivative of polynomial functions)

Let

p:, p(x)=k=0nakxk

with ak and n be a polynomial function of degree n. Then p is differentiable on all of , and for x~ there is

p(x~)=k=1nakkx~k1

Proof (Derivative of polynomial functions)

Using the derivative rule for the multiple of a function (λf)=λf , every single summand of the polynomial is differentiable on . With the summation rule we can derive every polynomial function term by term on and obtain for x~:

p(x~)=k=1nakkx~k1

with the derivative of the zeroth summand disappearing.

In particular, it follows for n=1 and n=2 that linear and quadratic functions are differentiable onn all of .

Exercise (Derivative of rational functions)

Let

r(x)=k=0nakxkl=0mblxl

with ak,bl and n,m0 a rational function defined on D={x:l=0mblxl0}. Show that r is differentiable on D, and calculate the derivative.

Solution (Derivative of rational functions)

Numerator and denominator of r are polynomials. Since the denominator is non-zero on D and polynomials are differentiable, it follows from the quotient rule that r is differentiable on D.

Further there is for x~D:

r(x~)=(k=1nakkx~k1)(l=0mblx~l)(k=0nakx~k)(l=1mbllx~l1)(l=0mblx~l)2

Power functions with integer powers

[Bearbeiten]

We can already differentiate power functions with natural powers. Now we investigate those with negative integer exponents.

Example (Derivative of the hyperbolic function)

The power function

f:{0}, f(x)=x1=1x

is differentiable on {0} and there is

f(x~)=limxx~1x1x~xx~=limxx~x~xxx~xx~=limxx~x~xxx~(xx~)=limxx~(xx~)xx~(xx~)=limxx~1xx~=1x~2

for x~{0}.

Exercise (Derivative of x1x2)

Prove that the power function

f:{0}, f(x)=x2=1x2

is differentiable on {0} and compute its derivative.

Solution (Derivative of x1x2)

For x~{0} there is

f(x~)=limxx~1x21x~2xx~=limxx~x~2x2x2x~2xx~=limxx~(x~x)(x~+x)x2x~2(xx~)=limxx~(xx~)(x+x~)x2x~2(xx~)=limxx~(x+x~)x2x~2=2x~x~4=2x~3

In the general case xn=1xn with n there is

Theorem (Derivative of the power function with negative integer powers)

The power function

f:{0}, f(x)=xn=1xn

is differentiable on {0}, and for x~{0} there is

f(x~)=nxn1

Proof (Derivative of the power function with negative integer powers)

For x~{0} there is

f(x~)=limxx~1xn1x~nxx~=limxx~x~nxnxnx~nxx~=limxx~1xnx~nx~nxnxx~=limxx~1xnx~n(x~nxn)xx~=limxx~1xnx~n(k=0n1xkx~n1k)=1x~2n(k=0n1x~n1)=1x~2nnx~n1=nx~n1

Exercise (Derivative of the power function)

Prove (1xn)=nxn+1 using the quotient rule

Solution (Derivative of the power function)

For x~{0} there is by the quotient rule

(1x~n)=0x~n1nx~n1(x~n)2=nx~n1x~2n=nx~2n(n1)=nx~n+1

Remark: Of course we can also apply the inverse rule directly, and thus get the same result

(1x~n)=nx~n1x~2n=nx~n+1

Let us look again at the derivatives rule in the last case, i.e. f(x~)=nx~n1=nx~n1 for n. If we put k=n, we get f(x~)=kx~k1. The derivative rule is hence the same as for xn with n. So we can summarize the two cases and get

Theorem (Derivative of the power function with natural powers)

For k the power function

f:{0}, f(x)=xk

is differentiable on {0}. For x~{0} there is then

f(x~)=kxk1

In the case of k it is even differentiable on all of .

Root functions

[Bearbeiten]

Now we investigate the derivative of root functions. We start again with the simplest case:

Example (Derivative of the square root function)

The square root function

f:+, f(x)=x

is differentiable on + and for x~+ there is

f(x~)=limxx~xx~xx~=limxx~xx~(x)2(x~)2=limxx~xx~(xx~)(x+x~)=limxx~1x+x~=12x~

Question: Why is the square root function in x~=0 not differentiable, although it is defined and continuous there?

For the differential quotient there is

limx0+x0x0=limx0+xx=limx0+1x=

So it does not exist. Hence, we have non-differentiability.

Exercise (Derivative of the cubic root function)

Compute the derivative of the cubic root function

f:+, f(x)=x3

Solution (Derivative of the cubic root function)

For x~+ there is

f(x~)=limxx~x3x~3xx~=limxx~x3x~3(x3)3(x~3)3=limxx~x3x~3(x3x~3)((x3)2+x3x~3+(x~3)2)=limxx~1(x3)2+x3x~3+(x~3)2=13(x~3)2

Now let us consider the general case of the k-th root function. Here there is

Theorem (Derivative of the k-th root function)

Let k,k>1. Then the k-th root function

f:+, f(x)=xk

is differentiable on +, and for x~+ there is

f(x~)=1kxk1k

Proof (Derivative of the k-th root function)

For x~+ there is

f(x~)=limxx~xkx~kxx~=limxx~xkx~k(xk)k(x~k)k=limxx~1(xk)k(x~k)kxkx~k=limxx~1l=0k1(xk)l(x~k)k1l=1l=0k1(x~k)k1=1k(x~k)k1=1kx~k1k

This can now be generalised

Theorem (Derivative of the generalized root function)

For q,q>1 and p, the generalized root function

f:+, f(x)=xqp

is differentiable on +, and for x~+ there is

f(x~)=pqxpqq

Proof (Derivative of the generalized root function)

Since on + die functions xxp and yyq are differentiable, the chain rule implies at x~+ that

f(x~)=1q(x~p)q1qpx~p1=pq(x~p1)qq(x~p)q1q=pqx~pqqx~pqpq=pqx~pqqpq+pq=pqx~pqq

Hint

For p and q and r=pq the power fucniton with rational exponent was defined as

xr=xpq=xpq

So for r we also have the derivative rule

(xr)=pqx~pqq=pqxpqq=pqxpq1=rxr1

The (generalized) exponential function and generalized power functions

[Bearbeiten]

In this section we prove that the derivative of the exponential function is again the exponential function. So we can determine the derivative of the generalized exponential and power function.

Theorem (Derivative of the exponential function)

The exponential function

f:, f(x)=exp(x)

is differentiable on , and for x~ there is

f(x~)=exp(x~)

How to get to the proof? (Derivative of the exponential function)

For this derivative it is more useful to use the h method

f(x~)=limh0f(x~+h)f(x~)h

Because in this case we know the limit value

limh0exp(h)1h=1

Furthermore we need the functional equation of the exponential function

exp(x+y)=exp(x)exp(y)

Proof (Derivative of the exponential function)

For x~ there is

f(x~)=limh0f(x~+h)f(x~)h=limh0exp(x~+h)exp(x~)h=limh0exp(x~)exp(h)exp(x~)h=limh0exp(x~)exp(h)1h=exp(x~)limh0exp(h)1h=exp(x~)1=exp(x~)

Using the chain rule, the derivatives of the generalized exponential function xax for a+ and the generalized power function xxr for r can be calculated:

Theorem (Derivative of the generalized exponential function)

For a+ the generalized exponential function

f:, f(x)=ax=exp(xln(a))

is differentiable on , and for x~ there is

f(x~)=ln(a)ax~

Proof (Derivative of the generalized exponential function)

For x~ there is

f(x~)=exp(x~ln(a))ln(a)=ln(a)ax~

Theorem (Derivative of the generalized exponential function)

For r the generalized exponential function

f:+, f(x)=xr=exp(ln(x)r)

is differentiable on +, and for x~+ there is

f(x~)=rx~r1

Exercise (Derivative of the generalized exponential function)

Prove that the derivative of the generalized power function at x~+ is rx~r1.

Proof (Derivative of the generalized exponential function)

For x~ the chain rule yields

f(x~)=exp(ln(x~)r)rx~=rx~r1x~=rx~r1

Logarithmic functions

[Bearbeiten]

Now we turn to the derivative of the natural and generalised logarithm function. Since the natural logarithm is the inverse of the exponential function, we can deduce its derivative directly from rule for derivatives of inverse function:

Theorem (Derivative of the natural logarithm function)

The natural logarithm function

g:+, g(x)=lnx

is differentiable on +. For x~+ there is

g(y)=1y

Proof (Derivative of the natural logarithm function)

For the exponential function exp: there is: f=exp. So the function is differentiable, and because of f>0 strictly monotonously increasing. Furthermore, f is surjective. The inverse function f1=g is the (natural) logarithm function

f1:+, f1(x)=lnx

From the theorem about the derivative of the inverse function we now have for every y+:

g(y)=(f1)(y)=1f(f1(y))=1elny=1y

The derivative can also be calculated directly using the differential quotient. If you want to try this, we recommend the corresponding exercise (missing).

Using the derivative of the natural logarithm function we can now immediately conclude

Theorem (Derivative of the generalized logarithm function)

For a+ the generalized logarithm function

g:+, g(x)=loga(y)=lnylna

is differentiable on +. For y+ there is

g(y)=1ylna

Proof (Derivative of the generalized logarithm function)

From the derivative rule for the multiple of a function, we get that for all y+:

g(y)=1lna1y=1ylna

If the derivative of the natural logarithm is not available, we can calculate it using the theorem of the derivative of the inverse function.

Trigonometric functions

[Bearbeiten]

Theorem (Derivative of the sine function)

The sine function is differentiable. For all x~ there is:

sin(x~)=cos(x~)

Proof (Derivative of the sine function)

For x~ there is

sin(x~)=limh0sin(x~+h)sin(x~)h sin(x+y)=sin(x)cos(y)+cos(x)sin(y)=limh0sin(x~)cos(h)+cos(x~)sin(h)sin(x~)h=sin(x~)limh0cos(h)1h=0+cos(x~)limh0sin(h)h=1=cos(x~)

Cosine

[Bearbeiten]

Theorem (Derivative of the cosine function)

The cosine function is differentiable with

cos(x~)=sin(x~)

Proof (Derivative of the cosine function)

cos(x~)=limh0cos(x~+h)cos(x~)h cos(x+y)=cos(x)cos(y)sin(x)sin(y)=limh0cos(x~)cos(h)sin(x~)sin(h)cos(x~)h=cos(x~)limh0cos(h)1h=0sin(x~)limh0sin(h)h=1=sin(x~)

Tangent

[Bearbeiten]

Theorem (Derivative of the tangent function)

The tangent function

tan:D={π2+kπk}, tan(x)=sin(x)cos(x)

is differentiable on D, and for x~D there is

tan(x~)=1cos2(x~)=1+tan2(x~)

Proof (Derivative of the tangent function)

Since cos(x)0 for xπ2+kπ , the function tan is differentiable by the quotient rule, and for x~D there is

tan(x~)=cos(x~)cos(x~)sin(x~)(sin(x~))cos2(x~)=cos2(x~)+sin2(x~)cos2(x~){=trigonometricPythagoras1cos2(x~)=1+sin2(x~)cos2(x~)=1+tan2(x~)

Exercise (Derivative of the cotangent function)

The cotangent function

cot:D={kπk}, cot(x)=1tan(x)=cos(x)sin(x)

is differentiable on D, and for x~D there is

cot(x~)=1sin2(x~)=1cot2(x~)

Solution (Derivative of the cotangent function)

Since sin(x)0 for xkπ , the function tan is differentiable by the quotient rule, and for x~D there is

cot(x~)=(cos(x)sin(x))=sin(x~)sin(x~)cos(x~)cos(x~)sin2(x~)=sin2(x~)+cos2(x~)sin2(x~){=trigonometricPythagoras1sin2(x~)=1cos2(x~)sin2(x~)=1cot2(x~)

Alternative solution:

cot(x~)=(1tan(x))=1+tan2(x~)tan2(x~){=1+sin2(x~)cos2(x~)sin2(x~)cos2(x~)=cos2(x~)+sin2(x~)sin2(x~)=trigonometricPythagoras1sin2(x~)=1tan2(x~)1=1cot2(x~)

The derivatives of secant and cosecant can be found in the corresponding exercise.

arc-functions

[Bearbeiten]

Using the rule for derivatives of the inverse function we can differentiate the arc-functions (which are inverses of sine, cosine, etc.)

arcsin and arccos

[Bearbeiten]

Theorem (Derivative of the arcsin/arccos function)

The inverse functions of the trigonometric functions arcsin, arccos are differentiable with

arcsin(x~)=11x~2 for all x~(1,1),arccos(x~)=11x~2 for all x~(1,1),

Note: arcsin and arccos are defined and continuous on [1,1] , but only differentiable on (1,1).

Proof (Derivative of the arcsin/arccos function)

Derivative of arcsin:

For the sine function sin:(π2,π2) there is: sin=cos. So the function is differentiable, and since cos(x)>0 for all x(π2,π2), it is strictly monotonously increasing on this interval. Further, sin((π2,π2))=(1,1). So sin:(π2,π2)(1,1) is surjective. The inverse function is the arc sine function

arcsin:(1,1)(π2,π2)

From the theorem about the derivative of the inverse we now have for every x~(1,1):

arcsin(x~)=1sin(arcsin(x~))=1cos(arcsin(x~))=trigonometricPythagoras11sin2(arcsin(x~))=11x~2

Derivative of arccos:

For the cosine function cos:(0.π) there is: cos=sin. So the function is differentiable, and because of sin(x)|(0,π)<0, strictly monotonously decreasing. Further, cos((0,π))=(1,1). So cos:(0,π)(1,1) is surjective. The inverse function

arccos:(1,1)(0,π)

is differentiable according to the theorem about the derivative of the inverse function, and for every x~(1,1) there is:

arccos(x~)=1cos(arccos(x~))=1sin(arcsin(x~))=trigonometricPythagoras11cos2(arccos(x~))=11x~2

arctan and arccot

[Bearbeiten]

Theorem (Derivative of the arctan/ arccot function)

The inverse functions of the trigonometric functions arctan, arccot are differentiable, and there is

arctan(x~)=11+x~2 for all x~arccot(x~)=11+x~2 for all x~

Proof (Derivative of the arctan/ arccot function)

For the tangent function tan|(π2,π2) there is: tan=1+tan2>0. So the function is differentiable and strictly monotonically increasing. Further, tan((π2,π2))=. So tan:(π2,π2) is surjective. The inverse function

arccos:(1,1)(0,π)

is hence differentiable, and now for x~(1,1) there is:

arctan(x~)=1tan(arctan(x~))=11+tan2(arctan(x~))=11+x~2

Hyperbolic functions

[Bearbeiten]

And finally, we determine the derivatives of the hyperbolic functions sinh, cosh and tanh:

Theorem (Derivative of hyperbolic functions)

The functions

sinh:, sinh(x)=exex2cosh:, cosh(x)=ex+ex2tanh:, tanh(x)=sinh(x)cosh(x)

are differentiable, and there is

sinh(x)=cosh(x)cosh(x~)=sinh(x~)tanh(x~)=1cosh2(x~)=tanh2(x~)1

Proof (Derivative of hyperbolic functions)

The derivatives follow directly from the calculation rules. We show only the derivative of sinh. The other two are left to you for practice.

According to the factor and difference rule sinh(x)=12ex12ex for all x is differentiable, and there is

sinh(x)=12ex12ex(1)=12ex+12ex=cosh(x)

Exercise (Derivative of cosh and tanh)

Prove that cosh and tanh are differentiable with

cosh=sinh and tanh=1cosh=tanh21

Proof (Derivative of cosh and tanh)

Derivative of cosh:

According to the factor and sum rule, cosh(x)=12ex+12ex is differentiable for all x , and there is

cosh(x)=12ex+12ex(1)=12ex12ex=sinh(x)

Derivative of tanh:

tanh=sinhcosh is differentiable on all of by the quotient rule and there is

tanh(x)=cosh(x)cosh(x)sinh(x)sinh(x)cosh2(x)=cosh2(x)sinh2(x)cosh2(x){=1cosh2(x)=1sinh2(x)cosh2(x)=1tanh2(x)