# Pre-interview_Test_Question_36

Set y = x^x. Then \ln y = \ln x^x = x \ln x. Differentiating:

\displaystyle \frac 1 y \frac {\mathrm dy} {\mathrm dx} = \ln x + \frac x x = \ln x + 1

So:

\displaystyle \frac {\mathrm dy} {\mathrm dx} = y (\ln x + 1) = x^x(\ln x + 1)

1 Like

Love this one!!! .

Massive thanks @MathsNinja17!!!

1 Like

y = x^x = (e^{\ln x})^x = e^{x \ln x}

\dfrac{dy}{dx} = ( \ln x +1) e^{x \ln x} = ( \ln x +1) x^x

2 Likes

This is used by Imperial, amongst others, on a fairly regular basis. The first candidate of mine was asked it 20 years ago and it still crops up!

2 Likes

They asked it at my oxford interview

2 Likes