1. ## differentiating

hello.
I'm I bit confused on differentiating this function

$y = x^{x^x}$

2. Hello,

Is it $(x^x)^x$ or $x^{x^x}$?
(see the latex code )

In both cases, you will need that :

$x^x=e^{x \ln x}$

Using the chain rule :

$(x^x)'=(x \ln x)' e^{x \ln x}=(x \ln x)' x^x$

$(x \ln x)'=1+\ln x$ (product rule)

Therefore $\boxed{(x^x)'=(1+\ln x)x^x}$

Does it help ?

3. ## y

It was $x^{x^x}$. Yes Moo it helped. Thanks a lot!

4. Originally Posted by javax
hello.
I'm I bit confused on differentiating this function

$y = x^{x^x}$
$y=x^{x^{x}}$

So $\ln(y)=\ln(x)\cdot{x^x}$

Differentiating we get

$\frac{y'}{y}=\ln(x)\left(x^x\right)'+x^{x-1}$

Now as moo showed above

$\frac{y'}{y}=\ln(x)(1+\ln x)x^x+x^{x-1}$

Now seeing that y is our original equation and solving for y' we get

$y'=x^{x^{x}}\bigg[\ln(x)(\ln(x+1)x^x+x^{x-1}\bigg]$