How do you differentiate x^x?

There are two ways we can find the derivative of x^x. It's important to notice that this function is neither a power function of the form x^k nor an exponential function of the form b^x, so we can't use the differentiation formulas for either of these cases directly. (i) Let y=x^x, and take logarithms of both sides of this equation: ln(y)=ln(x^x). Using properties of logarithmic functions, we can rewrite this as ln(y)=x.ln(x). Then differentiating both sides with respect to x, and using the chain rule on the LHS and product rule on the RHS, gives 1/y.dy/dx=ln(x)+1. Rearranging, we have dy/dx=y.(ln(x)+1). That is, dy/dx=x^x(ln(x)+1). (ii) Write x^x=e^(ln(x^x))=e^(x.ln(x)), using the properties of the exponential and logarithmic functions. Now, d/dx(x.ln(x))=ln(x)+1 by the product rule. Hence, d/dx(e^(x.ln(x)))=(ln(x)+1).(e^(x.ln(x)) by the chain rule, and using the fact that the derivative of e^[f(x)]=f'(x).e^[f(x)] for any differentiable function f(x). Finally, rewriting e^(x.ln(x)) as x^x gives d/dx(x^x)=x^x.(ln(x)+1), as with the first method.

Related Further Mathematics A Level answers

All answers ▸

You have three keys in your pocket which you extract in a random way to unlock a lock. Assume that exactly one key opens the door when you pick it out of your pocket. Find the expectation value of the number of times you need to pick out a key to unlock.


Find the 4th roots 6


When using the method of partial fractions how do you choose what type of numerator to use and how do you know how many partial fractions there are?


How do you find the general solution of a second order differential equation?


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–2024

Terms & Conditions|Privacy Policy