Differentiate x^x

This can't be differentiated with the usual methods (chain rule, product rule). First we set y = xx, and our objective is to calculate dy/dx in terms of x.
To turn this function into more familiar functions, we log both sides:
ln y = ln(xx) = x ln x
where in the second equality we have used the logarithm rule ln(ab) = b ln a.
Then we differentiate both sides with respect to x. For the left hand side, we use the chain rule, dz/dx = (dz/dy) * (dy/dx), with z = ln y:
d(ln y)/dx = d(ln y)/dy * dy/dx = (1/y) * dy/dx
On the right hand side, we use the product rule, d(uv)/dx = u * dv/dx + v*du/dx, with u = x and v = ln x:
d(x ln x)/dx = x * (1/x) + ln x * 1 = 1 + ln x
So then we have
(1/y) * dy/dx = 1 + ln x
and our goal is to find dy/dx in terms of x only. To do this, we multiply both sides by y and substitute y = xx, leaving
dy/dx = xx (1 + ln x)

JT
Answered by Joel T. Maths tutor

13354 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Express asin(x) + bcos(x) in the form Rsin(x+c), where c is a non-zero constant.


Differentiate y=ln(x)+5x^2, and give the equation of the tangent at the point x=1


The quadratic equation 2x^2 + 8x + 1 = 0 has roots x1 and x2. Write down the value of x1+x2 and x1*x2 and find the value of x1^2 + x2^2


Question 3 on the OCR MEI C1 June 2015 paper. Evaluate the following. (i) 200^0 (ii) (9/25)^(-1/2)


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