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

11700 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Find the minimum and maximum points of the graph y = x^3 - 4x^2 + 4x +3 in the range 0<=x <= 5.


Express 3sinx - 2cosx in the form R(sin(x-a) given R>0 and 0<a<90°. Hence solve 3sinx - 2cosx = 1 in the interval 0<x<360°. What are the maximum and minimum values of 2sinx - 3cosx?


How do I find the maximum/minimum of a function?


If f(x) = (3x-2) / x-5 x>6, find a.) ff(8) b.) the range of f(x) c.) f^-1(x) and state its range.


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences