Continuity and Differentiability

Logarithmic Differentiation

Understand

For functions of the form \(y=[u(x)]^{v(x)}\) (variable base and variable exponent), or long products and quotients, take \(\log\) of both sides first:

\[\log y=v\log u\;\Rightarrow\;\frac1y\frac{dy}{dx}=v'\log u+v\,\frac{u'}{u}\]

Example: \(y=x^x\Rightarrow\log y=x\log x\Rightarrow\frac{y'}{y}=\log x+1\Rightarrow y'=x^x(1+\log x)\).

For a sum like \(y=x^x+(\sin x)^x\), differentiate each term separately by this method – do not take the logarithm of a sum.

Key Concepts

  • Use when both base and exponent vary.
  • Never apply log to a sum; split into u + v first.
  • Multiply back by y at the end.

Formula Bank

Variable power

\[\frac{d}{dx}\,u^v=u^v\left(v'\log u+\frac{v\,u'}{u}\right)\]

Common Mistakes

Treating xˣ as a power or an exponential

\(\frac{d}{dx}x^x\neq x\cdot x^{x-1}\) and \(\neq x^x\log x\). Correct: \(x^x(1+\log x)\).

Solved Examples

Differentiating (sin x)ˣ

\(y=(\sin x)^x\).

Practice & Topic Test

Topic Practice

A fresh set of questions from this topic. Change answers freely – solutions appear after you submit.

Start Practice

Topic Test

Timed: up to 10 questions in 15 minutes.

Start Test

Topic Summary

Take logs, differentiate implicitly, multiply by y. Treat each term of a sum separately.

Ready to practise this topic?

Create a free account to take practice sessions and tests, see detailed explanations and track your progress.

Create Student Account