How do you differentiate x^x?

To differentiate xx, we first let y = xx. (Note that xx is not in the form xc where c is a constant or ax where a is a constant so the usual differentiation formulas cannot be used). The trick here is to take the natutral logarithm of both sides. Then you obtain, ln(y) = ln(xx). From here you need to use the rule that ln(xx) = xln(x). So currently we have ln(y) = xln(x). From here we can differentiate implicitly to get: 1/y multiplied by dy/dx = ln(x) + 1 (differentiate right hand side using product rule and left hand side using chain rule).The final step is to multiply through by y and substitute xx back in for y. This gives you: dy/dx = xx(ln(x) + 1).  

AP
Answered by Anish P. Maths tutor

3415 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

If y = (4x^2)ln(x) then find the second derivative of the function with respect to x when x = e^2 (taken from a C3 past paper)


The curve A (y = x3 – x2 + x -1) is perpendicular to the straight-line B at the point P (5, 2). If A and B intersect at P, what is the equation of B? Also, find any stationary points of the curve A.


Can you show me why the integral of 1/x is the natural log of x?


How do I rewrite 2 cos x + 4 sin x as one sin function?


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