100% free no uploads no sign-up

derivative of x^x

The derivative of x^x is x^x(ln(x) + 1).

problem
d/dx x^x
answer
d/dx x^x = x^x(ln(x) + 1)

✓ checked: the answer matches the slope of the original function at several sample points (numerical differentiation).

step-by-step working

  1. Logarithmic differentiation: let y = x^x. Take ln of both sides: ln(y) = x·ln(x). Differentiate: y′/y = d/dx[x·ln(x)], so y′ = y·d/dx[x·ln(x)].

    d/dx x^x = x^x(ln(x) + 1)
  2. Product rule: (u·v)′ = u′·v + u·v′, with u = x and v = ln(x).

    d/dx (x·ln(x)) = ln(x) + 1
  3. Standard derivative: d/dx ln(u) = 1/u.

    d/dx ln(x) = 1/x
plain-text version of this solution
Problem: d/dx x^x
Step 1: Logarithmic differentiation: let y = x^x. Take ln of both sides: ln(y) = x·ln(x). Differentiate: y′/y = d/dx[x·ln(x)], so y′ = y·d/dx[x·ln(x)]. d/dx x^x = x^x(ln(x) + 1)
Step 2: Product rule: (u·v)′ = u′·v + u·v′, with u = x and v = ln(x). d/dx (x·ln(x)) = ln(x) + 1
Step 3: Standard derivative: d/dx ln(u) = 1/u. d/dx ln(x) = 1/x
Answer: d/dx x^x = x^x(ln(x) + 1)
✓ checked: the answer matches the slope of the original function at several sample points (numerical differentiation).

Related problems

Try it yourself

Change the problem below and press Enter. Steps, answer and check update instantly, all in your browser.

mode: derivative

Enter solves · Shift+Enter for a new line · put systems on separate lines or separate them with commas

Frequently asked questions

What is the derivative of x^x?

d/dx x^x = x^x(ln(x) + 1). It uses the logarithmic differentiation, product rule and standard derivative.

How do you check the derivative of x^x?

Compare it with the slope of the graph. At x = 1.5, the slope worked out from a tiny step, (f(1.5 + h) − f(1.5 − h)) / (2h) with h = 0.00001, is about 2.582, and x^x(ln(x) + 1) gives 2.582 there too. The solver runs this check at several points.

What is the derivative of x^(2x)?

d/dx x^(2x) = 2x^(2x)(ln(x) + 1).

More derivatives