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

3416 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

What is the chain rule and how is it used?


A curve has the equation y=sin(x)cos(x), find the gradient of this curve when x = pi. (4 marks)


a) show that (cosx)^2=8(sinx)^2-6sinx can be written as (3sinx-1)^2=2 b)Solve (cosx)^2=8(sinx)^2-6sinx


How to draw the inverse of a 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