Course contentsShow
← Mathematics
Lesson 1459 of 3,12133. Derivatives of Special FunctionsFree lesson

Logarithmic Differentiation: Basic Technique

Apply the logarithmic differentiation method: take ln of both sides, differentiate implicitly, then solve for dy/dx.

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]:

  1. Take ln of both sides: ln(y) = ln([complicated function])
  2. 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)
  3. 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
  4. 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!).

  1. ln(y) = ln(x^x) = x·ln(x)
  2. Differentiate both sides: (1/y)·(dy/dx) = 1·ln(x) + x·(1/x) = ln(x) + 1
  3. 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.