Problem: Find the derivative of y = x^x for x > 0.
Step 1: Take the natural logarithm of both sides.
lny=ln(xx)=xlnx
Step 2: Differentiate both sides with respect to x. On the left, use implicit differentiation. On the right, use the product rule.
y1dxdy=1⋅lnx+x⋅x1=lnx+1
Step 3: Solve for dy/dx by multiplying both sides by y, then substitute the original expression for y.
dxdy=y(lnx+1)=xx(lnx+1)
Answer:dxdy=xx(lnx+1)
Why It Matters
Standard derivative rules (power rule, exponential rule) fail when both the base and the exponent contain the variable, as in xx. Logarithmic differentiation converts such expressions into forms where the product rule and chain rule apply. It also simplifies derivatives of long products or quotients by turning multiplication into addition via logarithm properties.
Common Mistakes
Mistake: Forgetting to multiply by y (or the original function) in the final step.
Correction: When you differentiate ln y, you get (1/y)(dy/dx). You must multiply both sides by y at the end to isolate dy/dx, then replace y with the original expression.
Related Terms
Derivative — The core concept this technique computes