How do I differentiate y=x^x?

y=x^x

To find the differential, dy/dx, logs of both sides must be taken:

log(y)=log(x^x)

Then using log rules, the power can be brought down, outside the log expression:

log(y) = x log(x)

This expressions can now be differentiated with respect to x, using the chain rule on the left and the product rule on the right, giving:

(1/y) * dy/dx = 1 + log(x)

Multiplying through by y gives:

dy/dx = y (1 + log(x)) 

Remember! From the start of the question y=x^x, so this can be rewritten to:

dy/dx = x^x + x^xlog(x)

 

PL

Related Maths A Level answers

All answers ▸

Locate the position and the nature of any turning points in the function: 2x^3 - 9x^2 +12x


A cannonball is fired at an angle of 30 degrees and a velocity of 16 m/s. How long does it take (to 2 significant figures) for the cannonball to reach the ground?


What is implicit differentiation and how do I do it?


A function is defined as f(x) = x / sqrt(2x-2). Use the quotient rule to show that f'(x) = (x-2)/(2x-2)^(3/2)