Logarithmic differentiation
Consider the function
Differentiating this directly can get tedious because you’d need to use several derivative rules (power, product, quotient, and chain), and some of them more than once.
Logarithmic differentiation streamlines the work by taking a logarithm first, then using log properties to rewrite a complicated expression as a sum and difference of simpler terms. After that, differentiation is much more straightforward.
This technique is also useful when the variable appears in both the base and the exponent, such as .
Here’s how to do this:
Step-by-step process
- Take the natural logarithm of both sides (skip if one side is already a single logarithm with a complicated argument)
- Expand using log properties.
- Differentiate implicitly
- Isolate to find the derivative
The log properties to remember are:
| Name | Formula |
|---|---|
| Product | |
| Quotient | |
| Power | |
| Root |
Let’s use the function at the start as an example:
Differentiate
1. Take the natural log of both sides
2. Expand using log properties
First use the quotient property to turn the fraction into a difference, and treat the denominator as a product:
Now use the power and root properties to bring exponents out front:
At this point, each term is a constant multiple of a simple logarithm, which is much easier to differentiate.
3. Differentiate implicitly
Differentiate both sides with respect to . On the left, use the chain rule: .
Simplifying,
4. Isolate to find the derivative
Multiply both sides by , then replace with the original function so the final answer is written in terms of .
Logarithmic differentiation is also useful when the function appears in an exponent (so the exponent is not a constant).
Here’s a classic example:
- Differentiate
Solution
1. Take the natural log of both sides
2. Use log properties
Apply the power property :
3. Differentiate implicitly
Differentiate both sides. On the right, use the product rule.
4. Isolate to find the derivative
Multiply both sides by , then substitute .
Let’s increase the difficulty:
Find the derivative of
Solution
1. Take the natural log of both sides
2. Use log properties
Use the power property to bring the exponent down:
The right-hand side still contains a variable in an exponent, so take the natural log of both sides again:
Use the product property to separate the right-hand side:
Then use the power property again:
3. Differentiate implicitly
Differentiate both sides with respect to .
Left side (chain rule twice):
Right side: differentiate using the product rule, and differentiate using the chain rule.
Simplifying,
4. Isolate to find the derivative
Multiply both sides by :
Finally, replace with the original function.
Examples
- The total resistance in a circuit is modeled by the function
Find (or in other words, ) using logarithmic differentiation.
Solution
1. Take the natural log of both sides
2. Expand using log properties
Use the product property first:
Now use the power and root properties:
Finally, use the quotient property:
3. Differentiate implicitly
Differentiate both sides with respect to .
Simplifying,
4. Isolate to find the derivative
Multiply both sides by and substitute the original expression for .
- The population of a bacterial culture is modeled by
Find the instantaneous rate of change of the population at time .
Solution
1. Take the natural log of both sides
2. Expand using log properties
Use the product property to split the logarithm into a sum:
Now use the power property on the first two terms:
Since , this becomes
3. Differentiate implicitly
Differentiate both sides with respect to .
4. Isolate to find the derivative
Multiply both sides by and substitute the original expression for .
At , the instantaneous rate of change of the population is