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

5414 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

A circle with centre C has equation: x^2 + y^2 + 20x - 14 y + 49 = 0. Express the circle in the form (x-a)^2 +(y-b)^2=r^2. Show that the circle touches the y-axis and crosses the x-axis in two distinct points.


(1.) f(x)=x^3+3x^2-2x+15. (a.) find the differential of f(x) (b.) hence find the gradient of f(x) when x=6 (c.) is f(x) increasing or decreasing at this point?


Find the first derivative of 2x^3+5x^2+4x+1 (with respect to x)


Why does the equation x^2+y^2=r^2 form a circle in the Cartesian plane?


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