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 ▸

integrate( x^3+4x^2+3)dx


The equation of a line is y=e(^2x)-9 and the line has points at (0,a) and (b,0). Find the values of a and b.


The velocity of a moving body is given by an equation v = 30 - 6t, where v - velocity in m/s, t - time in s. A) What is the acceleration a in m/s^2? B) Find the expression for the displacement s in terms of t given the initial displacement s(0)=10 m.


What is differentiation and why is it useful?