‹ Class 12 · Ch 5
Continuity and Differentiability · Principle 13 of 15

Take logs first

For y = uᵛ: take logs of both sides, differentiate, then multiply by y.

Stuck? Ask Guru

NCERT: 5.5 Logarithmic Differentiation

Think

Base and power both move

How do you differentiate xˣ? The power rule needs a constant power, and the rule for aˣ needs a constant base. Here both change with x.

Which tool could turn a power into something easier?

What this lesson covers

The idea

To differentiate y = [u(x)]^v(x) (or a messy product/quotient), take log of both sides, log y = v(x) log u(x), differentiate using the chain rule, and multiply back by y; f(x) and u(x) must be positive.

Base and power both move

How do you differentiate xˣ? The power rule needs a constant power, and the rule for aˣ needs a constant base. Here both change with x.

Which tool could turn a power into something easier?

  • taking the logarithm
  • expanding with the binomial theorem
  • there is no way

Take logs, then differentiate

The logarithm has already been taken on both sides, turning the power into a product: log y = v(x) log u(x). Now differentiate each side with respect to x, then multiply back by y.

Logs turn powers into products

Logarithmic differentiation. For y = [u(x)]^v(x): take logarithms, log y = v(x) log u(x); differentiate using the chain rule, 1/y · dy/dx = …; then multiply by y. f(x) and u(x) must be positive, otherwise their logarithms are not defined.

The same trick turns a messy product or quotient into a sum: for y = √[(x − 3)(x² + 4)/(3x² + 4x + 5)], log y = ½[log(x − 3) + log(x² + 4) − log(3x² + 4x + 5)].

Notes

y = uᵛ: log y = v log u, differentiate (left side gives (1/y) dy/dx), then multiply by y. Works only where the logs are defined (u > 0). Also useful for long products and quotients.

Check yourself

y = 2ˣ. Using log y = x log 2, dy/dx = ?

y = xˣ, so dy/dx = xˣ(1 + log x). What is dy/dx at x = 1?

Answer: 1

1 · (1 + 0) = 1.

Why must u(x) be positive in logarithmic differentiation?

  • x · 2ˣ⁻¹. That is the power rule, which needs a constant power.
  • 2ˣ log 2 — correct. Right: (1/y) dy/dx = log 2, so dy/dx = 2ˣ log 2.
  • 2ˣ. That is true only for base e. For base 2 there is an extra factor log 2.
  • so that log u(x) is defined — correct. Right. The logarithm of a non-positive number is not defined.
  • so that the derivative is positive. The derivative can be negative. The condition is about taking logs at all.
  • so that y is an integer. Nothing needs to be an integer.