What Logarithmic Differentiation Is For
Some functions are technically differentiable using the rules you already know, but doing so directly can become extremely complicated. A classic example is a function containing several factors multiplied together, such as .
An even more important case occurs when the variable appears in both the base and the exponent, such as . The ordinary power rule does not apply because the exponent is not constant, while the ordinary exponential rule does not apply because the base is not constant.
Logarithmic differentiation solves these problems by taking the natural logarithm of both sides first. The logarithm converts multiplication into addition, division into subtraction, and powers into coefficients. Differentiation then becomes much easier.
The Key Idea
Suppose . Take the natural logarithm of both sides:
The logarithm lets us use the logarithm rules to rewrite the expression. For a product, for example:
Once the expression has been rewritten in this form, differentiate both sides implicitly with respect to . Because , the derivative of the left side is .
Finally, solve for . The original function is then substituted back in at the end.
The Basic Procedure
- Take the natural logarithm of both sides. Write .
- Use logarithm properties to simplify the right-hand side. Products become sums, quotients become differences, and exponents become coefficients.
- Differentiate implicitly. Remember that , so its derivative is .
- Solve for . Factor out when necessary.
- Substitute the original expression for .
- Simplify. Look for a form that is easy to interpret and use.
Worked Examples
Differentiate .
Differentiate .
Differentiate .
Differentiate .
When Should You Use Logarithmic Differentiation?
You do not need logarithmic differentiation for every complicated-looking function. It is especially useful when the expression has one or more of these features:
- A product containing several factors.
- A quotient with complicated expressions in the numerator and denominator.
- Several factors raised to different powers.
- A variable appearing in both the base and exponent.
- A function that becomes much simpler after applying logarithm properties.
The most important special case is a function such as . The ordinary power rule cannot handle this because the exponent is not a constant. Logarithmic differentiation handles it naturally.
Why the Variable-Exponent Case Works
Consider the general function . Taking logarithms gives:
Differentiating produces:
Multiplying both sides by gives the general result:
This formula is worth recognizing, but on the AP exam it is often safer to understand the logarithmic-differentiation process rather than simply memorizing the result.
Common Mistakes
When differentiating , the derivative is not simply . Because , the chain rule gives .
After logarithmic differentiation, you often obtain an equation containing . You must multiply through by and then substitute the original function back in. Stopping one line too early leaves the derivative incomplete.
Remember that , while . A quotient becomes a difference, not a product.
The power rule requires a constant exponent. For example, cannot be differentiated by simply writing . The exponent itself depends on , so logarithmic differentiation is an appropriate method.
Practice Problems
Differentiate .
Show answer
Differentiate .
Show answer
Differentiate .
Show answer
Differentiate .
Show answer
Test yourself: AP Calculus practice exams
Ready to check what you know? Work an AP-style practice exam, then open the full solutions.
Want all 1,114 practice problems?
This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.
Get the Calc Pass App
Scan to download and practice on the go, with instant scoring.
Vol. 1: 1,114 Questions
The complete practice question bank, organized by AB & BC topic.
View on Amazon