1203 views

### 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.

2 years ago

Answered by Alina, a GCSE Maths tutor with MyTutor

## Still stuck? Get one-to-one help from a personally interviewed subject specialist

#### 526 SUBJECT SPECIALISTS

£36 /hr

Ignacio P.

Degree: Aerospace Engineering MEng (Masters) - Bristol University

Subjects offered:Maths, Spanish+ 5 more

Maths
Spanish
Science
Physics
Further Mathematics
Chemistry
-Personal Statements-

“Author of The 3-Step Method to Achieving (under publishing) - APPLIED NEUROSCIENCE & COACHING FOR EXPLOSIVE RESULTS IN MATH, PHYSICS, SPANISH & MORE!”

£18 /hr

Sophia H.

Degree: Biomedical Sciences (Bachelors) - Cardiff University

Subjects offered:Maths, Russian+ 1 more

Maths
Russian
English

“Hopeful doctor in the making looking to help you reach your goals! I'm interested in everything so I am sure we will have something in common. ”

£22 /hr

Neha C.

Degree: Medicine (Bachelors) - Birmingham University

Subjects offered:Maths, Biology

Maths
Biology

“Passionate, patient and pleasant tutor, tutoring students on maths and science subjects.”

Alina K.

Currently unavailable:

Degree: Mathematics (Bachelors) - Imperial College London University

Subjects offered:Maths, Russian+ 4 more

Maths
Russian
Physics
Further Mathematics
Economics
Chemistry

“I have always loved tutoring students and helping them to get a good understanding in their subject, specifically the Sciences and Mathematics. I have helped with A-level, IB and GCSE MathematicsI took GCSE Mathematics, Advanced Math...”

MyTutor guarantee

### You may also like...

#### Other GCSE Maths questions

Find the possible values of x when x^2+8x+15=0

How do I factorise a quadratic equation?

What is solution by substitution?

Divide 270 in the ratio 3:2:1

We use cookies to improve your site experience. By continuing to use this website, we'll assume that you're OK with this.