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.

LS

Related Further Mathematics A Level answers

All answers ▸

Find a vector that is normal to lines L1 and L2 and passes through their common point of intersection where L1 is the line r = (3,1,1) + u(1,-2,-1) and L2 is the line r = (0,-2,3) + v(-5,1,4) where u and v are scalar values.


z = 4 /(1+ i) Find, in the form a + i b where a, b belong to R, (a) z, (b) z^2. Given that z is a complex root of the quadratic equation x^2 + px + q = 0, where p and q are real integers, (c) find the value of p and the value of q.


A block of mass 50kg resting on a rough surface with a coefficient of friction equal to 1/3. Find the maximum angle at which the surface can be inclined to the horizontal without the block slipping. Give your answer to 3 significant figures


Express sin(5theta) in terms of sin(theta) and powers of sin(theta) only.