Logarithmic Differentiation

Taking logarithms and applying the Laws of Logarithms can simplify the differentiation of complex functions. This is called Logarithmic Differentiation.

Before beginning our discussion, let's review the Laws of Logarithms.

LAWS OF LOGARITHMS:


If x and y are positive numbers, then

Law 1: lo g a  ( xy )=lo g a  x+lo g a  y

Law 2: lo g a ( x y )=lo g a  xlo g a  y

Law 3: If lo g a ( x r )=rlo g a x



Let's look at some examples:

To work these examples requires the use of various differentiation rules. If you are not familiar with a rule go to the associated topic for a review.


y= x 2 +3 3 ( x1 ) 4

Step 1: Take the natural log of both sides of the equation and use the law of logarithms to simplify.

Take ln of both sides.


lny=ln x 2 +3 3 ( x1 ) 4


Apply Laws of Logarithms.


lny= 1 3 ln( x 2 +3 )4 ln( x1 )

Step 2: Differentiate implicitly.


To differentiate the two terms on the right-hand side, apply the Chain Rule

x lny= x 1 3 ln( x 2 +3 ) x 4ln( x1 )


1 y   y x =[ 1 3  · 1 x 2 +3  ·2x ][ 4 · 1 x1  ·1 ]


1 y   y x = 2x 3 x 2 +9   4 x1

Step 3: Solve for y x .


Multiply both sides by y.

y x =y[ 2x 3 x 2 +9   4 x1 ]

Step 4: Substitute for y.


y= x 2 +3 3 ( x1 ) 4

y x =[ x 2 +3 3 ( x1 ) 4 ][ 2x 3 x 2 +9   4 x1 ]

Example 1:       y= ( 3x ) x

Step 1: Take the natural log of both sides of the equation and use the law of logarithms to simplify.

lny=ln ( 3x ) x Take ln


Apply Law 1 of Logarithms


lny= x  ln( 3x )

Step 2: Differentiate implicitly.


Apply the Product & Chain Rules to the right hand side.

x lny= x x  ln( 3x )


1 y   y x = x · 1 3x  ·3+ln3x · 1 2   x 1 2


1 y   y x = 3 3 x 3 2 + ln3x 2 x

Step 3: Solve for y x and simplify.


Multiply both sides by y.

y x =y[ 1 x + ln3x 2 x ]

Step 4: Substitute for y.


y= ( 3x ) x

y x =[ ( 3x ) x ][ 2+ln3x 2 x ]

Example 2:       y= e ( 5 x 2 x+4 )

Step 1: Take the natural log of both sides of the equation and use the law of logarithms to simplify.


Remember that ln e x = e x  ln e ( 5 x 2 x+4 ) =5 x 2 x+4 .

lny=ln e ( 5 x 2 x+4 ) Take ln


lny=( 5 x 2 x+4 )

Step 2: Differentiate implicitly.

x lny= x ( 5 x 2 x+4 )


1 y   y x =[ 5( 2x )1 ]


1 y   y x =10x1

Step 3: Solve for y x .


Multiply both sides by y.

y x =y( 10x1 )

Step 4: Substitute for y.


y= e ( 5 x 2 x+4 )

y x =[ e ( 5 x 2 x+4 ) ]( 10x1 )

This function can also be solved explicitly using the chain rule.

Step 1: Identify the inner function and rewrite the outer function replacing the inner function by the variable u.

g = 5x2 - x + 4     Inner Function


u = 5x2 - x + 4


f = eu     Outer Function

Step 2: Take the derivative of both functions.

Derivative of f = eu


d dx e u      Original


eu          Nat. Exp. Rule


e u


__________________________


Derivative of g = 5x2 - x + 4


d dx 5 x 2 x+4 Original


d dx 5 x 2 d dx x+ d dx 4    Sum/Diff Rule

5 d dx x 2 d dx x+ d dx 4    Constant Multiple


5(2x) - 1 + 0 Power & Constant


10x1

Step 3: Substitute the derivatives and the original expression for the variable u into the Chain Rule and simplify.


( fg )( x )= f ( g( x ) )·g( x )

e u ( 10x1 ) Chain Rule


e ( 5 x 2 x+4 ) ( 10x1 )  Substitute for u


e ( 5 x 2 x+4 ) ( 10x1 )





Related Links:
Math
algebra
Implicit Differentiation
Combination of Functions
Calculus Topics


To link to this Logarithmic Differentiation page, copy the following code to your site: