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

Related Maths A Level answers

All answers ▸

Find the integral of log|x| by integration by parts


How do you integrate ln(x)?


Using integration by parts, and given f(x) = 3xcos(x), find integrate(f(x) dx) between (pi/2) and 0.


Let w, z be complex numbers. Show that |wz|=|w||z|, and using the fact that x=|x|e^{arg(x)i}, show further that arg(wz)=arg(w)+arg(z) where |.| is the absolute value and arg(.) is the angle (in polar coordinates). Hence, find all solutions to x^n=1 .