2136 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

#### 654 SUBJECT SPECIALISTS

£24 /hr

Degree: Economics (Bachelors) - LSE University

Subjects offered:Maths, Physics+ 2 more

Maths
Physics
Economics
-Personal Statements-

“Hi! I study Economics at LSE. With previous tutoring experience, I am keen to provide genuine advice and create an engaging learning environment.”

£22 /hr

Degree: Mathematics (Masters) - Bristol University

Subjects offered:Maths, Further Mathematics

Maths
Further Mathematics

“I’ll help anyone finding maths hard. I still struggle now, it's not meant to be easy! Be at my tutorial or (c^2-a^2) <- a maths joke, I apologise.”

£18 /hr

Degree: Bsc Biomedical Sciences (Bachelors) - Queen Mary, London University

Subjects offered:Maths, Science+ 7 more

Maths
Science
Human Biology
Extended Project Qualification
.UKCAT.
-Personal Statements-
-Medical School Preparation-

“A science fanatic that loves sharing that knowledge and is here to help with your grades and getting into University!”

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

Expand (2x-3)(4x+4) using the FOIL method.

How is the quadratic formula used?

Find the equation of the line passing through the point ( 2, −3) which is parallel to the line with equation y + 4x = 7

Express 300 as a product of its prime factors.

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