Derivatives of Exponential and Logarithmic Functions: Learn It 3

Logarithmic Differentiation

We now explore derivatives of functions like [latex]y=(g(x))^n[/latex] for certain values of [latex]n[/latex], and those involving forms like [latex]y=b^{g(x)}[/latex], where [latex]b>0[/latex] and [latex]b\ne 1[/latex]. These functions present a challenge when trying to find derivatives directly. To address this, we employ logarithmic differentiation. This technique is particularly useful for differentiating functions of the form [latex]y=x^x[/latex] or [latex]y=x^{\pi}[/latex].

Logarithmic differentiation simplifies the process by taking the natural logarithm of both sides, which transforms multiplicative relationships into additive ones, making the derivative more straightforward to compute. We will apply this technique to solve problems such as finding the derivate of [latex]y=\frac{x\sqrt{2x+1}}{e^x \sin^3 x}[/latex].

We outline this technique in the following problem-solving strategy.

How To: Use Logarithmic Differentiation

  1. Begin by Logarithmizing: To apply logarithmic differentiation to the function [latex]y=h(x)[/latex], start by taking the natural logarithm of both sides of the equation, giving [latex]\ln y=\ln (h(x))[/latex].
  2. Expand Using Logarithm Properties: Utilize the properties of logarithms to simplify [latex]\ln (h(x))[/latex] as much as possible. This may involve using the logarithm rules for multiplication, division, and powers.
  3. Differentiate Both Sides: With [latex]y[/latex] implicitly defined by the equation [latex]\ln y=\ln h(x)[/latex], differentiate both sides with respect to [latex]x[/latex]. On the left, apply the chain rule to obtain [latex]\frac{1}{y}\frac{dy}{dx}[/latex], and on the right, use the derivative of [latex]\ln h(x)[/latex].
  4. Isolate [latex]\frac{dy}{dx}[/latex]:  Multiply through by [latex]y[/latex] to solve for [latex]\frac{dy}{dx}[/latex]. 
  5. Simplify the Derivative: Simplify the expression for [latex]\frac{dy}{dx}[/latex] to obtain the final derivative in terms of [latex]x[/latex].

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

The Product Rule for Logarithms [latex]{\mathrm{log}}_{b}\left(MN\right)={\mathrm{log}}_{b}\left(M\right)+{\mathrm{log}}_{b}\left(N\right)[/latex]
The Quotient Rule for Logarithms [latex]{\mathrm{log}}_{b}\left(\frac{M}{N}\right)={\mathrm{log}}_{b}M-{\mathrm{log}}_{b}N[/latex]
The Power Rule for Logarithms [latex]{\mathrm{log}}_{b}\left({M}^{n}\right)=n{\mathrm{log}}_{b}M[/latex]
The Change-of-Base Formula [latex]{\mathrm{log}}_{b}M\text{=}\frac{{\mathrm{log}}_{n}M}{{\mathrm{log}}_{n}b}\text{ }n>0,n\ne 1,b\ne 1[/latex]

Find the derivative of [latex]y=(2x^4+1)^{\tan x}[/latex]

Find the derivative of [latex]y=x^r[/latex] where [latex]r[/latex] is an arbitrary real number.