To close the vertical window on the right please click “>>” at its top-left corner. To open it
please click “<<”.


Calculus 1 Problems & Solutions  –  Chapter 4  –  Section 4.2.4

 

4.2.4
Logarithmic Differentiation

 

 

Return To Contents
Go To Problems & Solutions

 

Review

 

1. Differentiation Of The Function y = (f (x))g(x)

 

Example 1.1

 

Differentiate y = (2x)sinx.

 

Solution 1
 y = (2x)sinx = esinxln 2x,

 


EOS

 

In Solution 2 below we take the natural logarithm of both sides of the given equation and differentiate implicitly both sides
of the resulting equation with respect to the variable, which here is
x.

 

Solution 2
Using logarithmic differentiation we have:

 

ln y = ln (2x)sinx = sin x ln 2x,

 

EOS

 

The given function is of the form ( f(x))g(x), with f(x) = 2x and g(x) = sin x. The variable appears in both the base and
the exponent. Neither the power rule (
d/dx) ua = aua–1u' nor the exponent rule (d/dx) au = au(ln a)u' can be applied
directly in this case.

 

In Solution 1 we transform ( f(x))g(x) into the exponential function using the definition uv = evlnu, to get ( f(x))g(x) =
eg(x) lnf(x). Then we differentiate eg(x) lnf(x) with respect to x utilizing the exponent rule. This is possible because the
base
e is a constant. In the answer, we transform eg(x) lnf(x) back to ( f(x))g(x).

 

In Solution 2 we take the natural logarithm of both sides of the equation y = ( f(x))g(x), to obtain ln y = ln ( f(x))g(x) =
g(x) ln f(x). Then we differentiate implicitly both sides of the resulting equation ln y =g(x) ln f(x) with respect to x. Note
that (
d/dx) ln y = (1/y) dy/dx = y'/y, by the chain rule. Next we solve for y'. In the answer, we replace y by ( f(x))g(x),
since we should express
y' in terms of x only, not of x and y. This technique is called logarithmic differentiation, since
it involves the taking of the natural logarithm and the differentiation of the resulting logarithmic equation. It allows us to
convert the differentiation of (
f(x))g(x) into the differentiation of a product.

 

Note that both Solutions 1 and 2 yield the same answer.

 

Return To Top Of Page     Go To Problems & Solutions

 

2. Differentiation Of Expressions Containing ( f (x))g(x)

 

Example 2.1

 

Find dy/dx if y = x3(sin x)cosx.

 

Solution 1
 
y = x3(sin x)cosx = x3ecosxlnsinx,

 


EOS

 

Solution 2
Utilizing logarithmic differentiation we get:

 

ln y = ln x3 (sin x)cosx = 3 ln x + cos x ln sin x,

 


EOS

 

The given function contains a term of the form ( f(x))g(x), with f(x) = sin x and g(x) = cos x. Hence we use either the
equation (
f(x))g(x) = eg(x) lnf(x) as in Solution 1 or logarithmic differentiation as in Solution 2. Again, in the answer don't
forget to replace
eg(x) lnf(x) by ( f(x))g(x), or y by the expression of the given function.

 

Return To Top Of Page     Go To Problems & Solutions

 

3. Differentiating Products And Quotients

 

Example 3.1

 

Find:

 

 

 

Solution
Let:

 


EOS

 

Here we have a product and a quotient, but there's no term of the form ( f(x))g(x), and we still employ logarithmic
differentiation, which therefore isn't exclusive for the form (
f(x))g(x). Of course we can use the product and quotient
rules, but doing so would be more complicated. Generally, logarithmic differentiation is advantageous when the products
and/or quotients are complicated. It enables us to convert the differentiation of a product and that of a quotient into that
of a sum and that of a difference respectively.

 

Return To Top Of Page

 

Problems & Solutions

 

1.  Differentiate y = (sec x)tanx in 2 ways:
a.  Express it as natural exponential and then differentiate.
b.  Use logarithmic differentiation.

 

Solution

 

a.  y = (sec x)tan x = etanxlnsec x,
    
y' = etanxlnsec x (sec2 x ln sec x + tan x (1/secx) sec x tan x)
       
 = (sec x)tan x (sec2 x ln sec x + tan2 x).

 

b.  ln y = ln (sec x)tanx = tan x ln sec x,

 

   

 

      y' = y(sec2 x ln sec x + tan2 x) = (sec x)tanx (sec2 x ln sec x + tan2 x).

 

Return To Top Of Page

 

 

2.  Find y' using logarithmic differentiation if y = xx/(x – 1)2.

 

Solution

 

 

Return To Top Of Page

 

 


a.  Which of these functions grows more rapidly for sufficiently large
x?
b.  Differentiate them.

 

Solution

 

 

    

 

Return To Top Of Page

 

 

4.  Find:

 

   

 

Solution

 

Let:

 

 

Return To Top Of Page

 

 

5.  Find an equation of the tangent line to the curve:

 

    

 

     at x = 0.

 

Solution

 

 

Consequently the equation of the tangent line is y – 1 = 0(x – 0) or y = 1.

 

Return To Top Of Page     Return To Contents