Logarithmic differentiation

Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

About this lesson

Calculus BC (AP-aligned) › Implicit differentiation and related rates

To save a PDF, choose “Save as PDF” in the print dialog.

Sources and credits

Original sedifier lesson.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits

Logarithmic differentiation

Implicit differentiation and related rates.

Discover

How would you differentiate f(x)=xxf(x) = x^x? The base and the exponent both change.

  1. Take the logarithm first
  2. Use the power rule: x⋅xx−1x \cdot x^{x-1}

Key idea

Logarithmic differentiation.

If y=f(x)>0y = f(x) > 0, take ln⁡y\ln y, differentiate both sides, then multiply by yy:

y′y=(ln⁡y)′\dfrac{y'}{y} = (\ln y)', so y′=y (ln⁡y)′y' = y\,(\ln y)'.

Worked example

Differentiate y=xxy = x^x for x>0x > 0.

ln⁡y=xln⁡x\ln y = x\ln x
Take logarithms.
y′y=ln⁡x+1\dfrac{y'}{y} = \ln x + 1
Differentiate both sides (product rule on the right).
y′=xx(ln⁡x+1)y' = x^x(\ln x + 1)
Multiply by yy.

Your turn, guided

Your turn: for y=xxy = x^x, what is y′(1)y'(1)?

y′(1)=1y'(1) = 1
11(ln⁡1+1)=1×11^1(\ln 1 + 1) = 1 \times 1.

Practice ★

  1. f(x)=x3xf(x) = x^{ 3x} for x>0x > 0. Find f′(1)f'(1).
  2. f(x)=x2xf(x) = x^{ 2x} for x>0x > 0. Find f′(1)f'(1).
  3. f(x)=x8xf(x) = x^{ 8x} for x>0x > 0. Find f′(1)f'(1).

Practice ★★

  1. f(x)=xxf(x) = x^x. Find f′(4)f'(4) exactly.
  2. f(x)=xxf(x) = x^x. Find f′(2)f'(2) exactly.

Exit ticket

Two questions to check.

  1. f(x)=x3xf(x) = x^{ 3x} for x>0x > 0. Find f′(1)f'(1).
  2. f(x)=x2xf(x) = x^{ 2x} for x>0x > 0. Find f′(1)f'(1).

Summary card

Logarithmic differentiation

  • For y=f(x)g(x)y = f(x)^{g(x)}: write ln⁡y=g(x)ln⁡f(x)\ln y = g(x)\ln f(x).
  • Differentiate, then multiply by yy.

It also shortens long products and quotients.

Sources and credits

Original sedifier lesson.

Written with AI assistance; every answer is checked by our math engine. Not yet reviewed by a teacher.

This lesson: CC BY-SA 4.0, © sedifier · All credits