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 ▸

Solve the differential equation: e^(2y) * (dy/dx) + tan(x) = 0, given that y = 0 when x = 0. Give your answer in the form y = f(x).


How would you differentiate f(x)=3x(2x-1)^2


How do I invert a 2x2 square matrix?


Show, by counter-example, that the statement "If cos(a) = cos(b) then sin(a) = sin(b)" is false.