Find the derivative of x^x

y = x^x -- Yikes! Doesn't that look ugly. 
It's mostly the x^x part, since ... to the x is fine, and x to the ... is fine.
We must split the two x's in order to continue. 
Perhaps we could log? since then we can pull the index to the front. 
so: log(y) = log(x^x) = x log(x) -- because [log(a^b) = b log(a)]
Well this looks much better. On the left we have something which is easy using chain rule
and the right side, looks easy using product rule.

So:
d/dx log(y) = dy/dx * (1/y) 
and:
d/dx xlog(x) = 1log(x) + x*(1/x)
= log(x) + 1

so:
dy/dx * (1/y) = 1 + log(x)
Multiplying through by y, gives us:
dy/dx = y ( 1 + log(x) )
but remember, y = x^x 
so dy/dx = x^x ( 1 + log(x) )

MD
Answered by Mayur D. Maths tutor

5484 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Differentiate this equation: xy^2 = sin(3x) + y/x


Find the tangent to y = x^2 - 4x + 9 at the point (3,15)


How do you differentiate the curve y = 4x^2 + 7x + 1? And how do you find the gradient of this curve?


For the function f(x) = 4x^3 -3x^2 - 6x, find a) All points where df/dx = 0 and b) State if these points are maximum or minimum points.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning