Logarithmic Differentiation

Learning Outcomes

  • Use logarithmic differentiation to determine the derivative of a function

At this point, we can take derivatives of functions of the form y=(g(x))n for certain values of n, as well as functions of the form y=bg(x), where b>0 and b1. Unfortunately, we still do not know the derivatives of functions such as y=xx or y=xπ. These functions require a technique called logarithmic differentiation, which allows us to differentiate any function of the form h(x)=g(x)f(x). It can also be used to convert a very complex differentiation problem into a simpler one, such as finding the derivative of y=x2x+1exsin3x. We outline this technique in the following problem-solving strategy.

Problem-Solving Strategy: Using Logarithmic Differentiation

  1. To differentiate y=h(x) using logarithmic differentiation, take the natural logarithm of both sides of the equation to obtain lny=ln(h(x)).
  2. Use properties of logarithms to expand ln(h(x)) as much as possible.
  3. Differentiate both sides of the equation. On the left we will have 1ydydx.
  4. Multiply both sides of the equation by y to solve for dydx.
  5. Replace y by h(x).

It may be useful to review your properties of logarithms. These will help us in step 2 to expand our logarithmic function.

Recall: Properties of logarithms

The Product Rule for Logarithms logb(MN)=logb(M)+logb(N)
The Quotient Rule for Logarithms logb(MN)=logbMlogbN
The Power Rule for Logarithms logb(Mn)=nlogbM
The Change-of-Base Formula logbM=lognMlognb n>0,n1,b1

Example: Using Logarithmic Differentiation

Find the derivative of y=(2x4+1)tanx

Watch the following video to see the worked solution to Example: Using Logarithmic Differentiation.

Example: Using Logarithmic Differentiation

Find the derivative of y=x2x+1exsin3x

Example: Extending the Power Rule

Find the derivative of y=xr where r is an arbitrary real number.

Try It

Use logarithmic differentiation to find the derivative of y=xx.

Watch the following video to see the worked solution to the above Try It.

Try It

Find the derivative of y=(tanx)π.

Try It