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

Related Maths A Level answers

All answers ▸

A block of temperature H=80ºC sits in a room of constant temperature T=20ºC at time t=0. At time t=12, the block has temperature H=50ºC. The rate of change of temperature of the block (dH/dt) is proportional to the temperature difference of the block ...


Find ∫ (2x^5 - 1/(4x^3)-5) dx. giving each term in its simplest form.


Find the first three terms of the binomial expansion of (3 + 6x)^(1/2).


The air pressure in the cabin of a passenger plane is modelled by the equation: P(x) = 3cos(x/2) - sin(x/2) where x is the altitude. Express P(x) in the form Rcos(x/2 +z) where z is acute and in degrees and then find the maximum pressure