Calculus/Derivatives of Exponential and Logarithm Functions

From testwiki
Revision as of 00:08, 22 June 2020 by imported>Rgdboer (Logarithm Function: alternative in 1.6)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Calculus/Top Nav

Logarithm Function

We shall first look at the irrational number e in order to show its special properties when used with derivatives of exponential and logarithm functions. As mentioned before in the Algebra section, the value of e is approximately e2.718282 but it may also be calculated as the Infinite Limit:

e=limn(1+1n)n

Now we find the derivative of ln(x) using the formal definition of the derivative:

ddxln(x)=limh0ln(x+h)ln(x)h=limh01hln(x+hx)=limh0ln(x+hx)1h

Let n=xh . Note that as n , we get h0 . So we can redefine our limit as:

limnln(1+1n)nx=1xln(limn(1+1n)n)=1xln(e)=1x

Here we could take the natural logarithm outside the limit because it doesn't have anything to do with the limit (we could have chosen not to). We then substituted the value of e .

Derivative of the Natural Logarithm

ddxln(x)=1x

If we wanted, we could go through that same process again for a generalized base, but it is easier just to use properties of logs and realize that:

loga(x)=ln(x)ln(a)

Since 1ln(a) is a constant, we can just take it outside of the derivative:

ddxloga(x)=1ln(a)ddxln(x)

Which leaves us with the generalized form of:

Derivative of the Logarithm

ddxloga(x)=1ln(a)x

An alternative approach to derivative of the logarithm refers to the original expression of the logarithm as quadrature of the hyperbola y = 1/x . This approach is described in an extension of precalculus in § Template:Calculus/map page.

Exponential Function

We shall take two different approaches to finding the derivative of ln(ex) . The first approach:

ddxln(ex)=ddxx=1

The second approach:

ddxln(ex)=1ex(ddxex)

Note that in the second approach we made some use of the chain rule. Thus:

1ex(ddxex)=1
ddxex=ex

so that we have proved the following rule:

Derivative of the exponential function

ddxex=ex

Now that we have derived a specific case, let us extend things to the general case. Assuming that a is a positive real constant, we wish to calculate:

ddxax

One of the oldest tricks in mathematics is to break a problem down into a form that we already know we can handle. Since we have already determined the derivative of ex , we will attempt to rewrite ax in that form.

Using that eln(c)=c and that ln(ab)=bln(a) , we find that:

ax=eln(a)x

Thus, we simply apply the chain rule:

ddxeln(a)x=eln(a)xddx[ln(a)x]=ln(a)ax
Derivative of the exponential function

ddxax=ln(a)ax

Logarithmic Differentiation

We can use the properties of the logarithm, particularly the natural log, to differentiate more difficult functions, such a products with many terms, quotients of composed functions, or functions with variable or function exponents. We do this by taking the natural logarithm of both sides, re-arranging terms using the logarithm laws below, and then differentiating both sides implicitly, before multiplying through by y .

Template:Col-begin Template:Col-break log(a)+log(b)=log(ab) Template:Col-break log(ab)=log(a)log(b) Template:Col-break log(an)=nlog(a) Template:Col-break Template:Col-end

See the examples below.

Example 1

We shall now prove the validity of the power rule using logarithmic differentiation.

ddxln(xn)=nddxln(x)=nx1

ddxln(xn)=1xnddxxn

Thus:

1xnddxxn=nx1

ddxxn=nxn1

Example 2

Suppose we wished to differentiate

y=(6x2+9)23x32

We take the natural logarithm of both sides

ln(y)=ln((6x2+9)23x32)=ln((6x2+9)2)ln((3x32)12)=2ln(6x2+9)ln(3x32)2

Differentiating implicitly, recalling the chain rule

1ydydx=212x6x2+9129x23x32=24x6x2+992x23x32=24x(3x32)92x2(6x2+9)(6x2+9)(3x32)

Multiplying by y , the original function

dydx=(6x2+9)23x3224x(3x32)92x2(6x2+9)(6x2+9)(3x32)
Example 3

Let us differentiate a function

y=xx

Taking the natural logarithm of left and right

ln(y)=ln(xx)=xln(x)

We then differentiate both sides, recalling the product and chain rules

1ydydx=ln(x)+x1x=ln(x)+1

Multiplying by the original function y

dydx=xx(ln(x)+1)
Example 4

Take a function

y=x6cos(x)

Then

ln(y)=ln(x6cos(x))=6cos(x)ln(x)

We then differentiate

1ydydx=6sin(x)ln(x)+6cos(x)x

And finally multiply by y

dydx=y(6sin(x)ln(x)+6cos(x)x)=6x6cos(x)(cos(x)xsin(x)ln(x))

Template:Calculus/Top Nav Template:Calculus/TOC