Logarithmic Differentiation: Basic Technique
You'll learn how to differentiate complicated functions by taking the natural logarithm of both sides first, then differentiating implicitly.
The Core Idea
Some functions are nightmares to differentiate directly—products of many terms, quotients raised to powers, or variable exponents. Logarithmic differentiation gives you a shortcut: instead of wrestling with product rules and quotient rules repeatedly, you take the natural logarithm of both sides, simplify using log properties, then differentiate implicitly with respect to x.
Think of it like untangling a knot: instead of pulling harder, you loosen it first (using logarithms), then work through the simpler pieces.
The Step-by-Step Process
Given y = [some complicated function]:
- Take ln of both sides:
ln(y) = ln([complicated function]) - Simplify using log properties: Break down products, quotients, and powers
ln(AB) = ln(A) + ln(B)ln(A/B) = ln(A) - ln(B)ln(A^n) = n·ln(A)
- Differentiate both sides implicitly with respect to x:
- Left side becomes
(1/y)·(dy/dx)by the chain rule - Right side: differentiate the simplified expression
- Left side becomes
- Solve for dy/dx: Multiply both sides by y
Example Walkthrough
Let y = x^x (variable base and exponent—product/quotient rules won't help!).
ln(y) = ln(x^x) = x·ln(x)- Differentiate both sides:
(1/y)·(dy/dx) = 1·ln(x) + x·(1/x) = ln(x) + 1 - Solve:
dy/dx = y·[ln(x) + 1] = x^x·(ln(x) + 1)
Key Takeaway: Logarithmic differentiation transforms messy functions into manageable sums and differences by applying ln, differentiating implicitly, then multiplying back by the original function.