Logarithmic differentiation is a way to find derivatives by taking of both sides first and then differentiating implicitly. It is most useful when a function has a variable exponent, like , or when products and quotients would be messy to expand term by term.
If you searched for how to differentiate , this is the standard method. The ordinary power rule does not apply directly because the exponent is not constant.
How logarithmic differentiation works
Start by writing
Then take the natural logarithm of both sides:
The payoff is that logarithm rules turn hard structures into easier ones before you differentiate:
The third rule is the key one. It moves an exponent down into a factor, which is usually much easier to differentiate.
When to use logarithmic differentiation
Logarithmic differentiation is especially useful when at least one of these is true:
- The function is a variable power, such as or .
- The function is a long product or quotient that would be tedious with repeated product and quotient rules.
- Taking logs makes the structure easier to read before differentiating.
For real-valued calculus, the domain matters. The logarithm step needs the expression inside the log to be positive on the interval you are using. Many textbook examples are chosen so that condition already holds.
Worked example: differentiate
Assume . That condition matters because is only defined for positive in real-valued calculus.
Start with
Take the natural logarithm of both sides:
Now use the logarithm power rule:
Differentiate both sides with respect to :
The right side needs the product rule:
So
Multiply both sides by :
Now replace with the original function:
So the derivative of for is
Why this method helps
Without logarithmic differentiation, does not fit the ordinary power rule because that rule assumes is constant.
After taking logs, the exponent becomes part of the product , and standard differentiation rules work again. That is the main idea to remember: logarithms reorganize the expression before you differentiate it.
Common mistakes
- Skipping the domain check. For real-valued work, needs a positive input.
- Forgetting that , not just .
- Differentiating incorrectly and missing the product rule.
- Stopping at and forgetting to multiply by at the end.
- Using logarithmic differentiation when a simpler rule would do the job faster.
Where students use logarithmic differentiation
You will see this method in calculus whenever expressions mix powers, products, and quotients in a way that ordinary rules make messy. It is common in derivative problems involving variable exponents, and it also helps simplify some formulas before moving on to optimization or related rates.
Try a similar logarithmic differentiation problem
Try your own version with
This is a good follow-up because the base stays positive for every real , so the logarithm step is valid everywhere. If you can turn into and differentiate that cleanly, the method has clicked.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →