Derivatives of Exponential and Logarithm Functions — Question 8

PDF ↗

Question 8

Let f(x)=xxf(x) = x^x, where x>0x > 0.

  • (a) Find the derivative f′(x)f'(x).

  • (b) Simplify your answer as much as possible.

Original worksheet page 1: question and worked solution for 3-6-008
Show solutionHide solution

Question 8 - Solution

We are given: f(x)=xxfor x>0f(x) = x^x \quad \text{for } x > 0

This is a function where the variable is both the base and the exponent. To differentiate it, we take the natural logarithm of both sides:

Let y=xxy = x^x Take the natural log of both sides: ln⁡y=ln⁡(xx)=xln⁡x\ln y = \ln(x^x) = x \ln x

Differentiate both sides implicitly:

1y⋅dydx=ddx(xln⁡x)\frac{1}{y} \cdot \frac{dy}{dx} = \frac{d}{dx}(x \ln x)

Now differentiate the right-hand side using the product rule:

ddx(xln⁡x)=1⋅ln⁡x+x⋅1x=ln⁡x+1\frac{d}{dx}(x \ln x) = 1 \cdot \ln x + x \cdot \frac{1}{x} = \ln x + 1

Now solve for dydx\frac{dy}{dx}:

dydx=y(ln⁡x+1)\frac{dy}{dx} = y(\ln x + 1)

Recall that y=xxy = x^x, so:

f′(x)=xx(ln⁡x+1)f'(x) = \boxed{x^x (\ln x + 1)}

Original worksheet page 2: question and worked solution for 3-6-008

Original worksheet layout. Use Enlarge or open the PDF for a closer view.