I have two functions 1) $y=x^{x^{x}}$ 2) $y=(x^x)^x$
These two functions seem same to me and I just see it as a mere difference of writing style but when I graph it using an online graph plotter they have different curves also when I find their derivatives using logarithmic differentiation I get different results.For 1 and 2 I got $dy/dx$ as $x^{x^{x}}[x^x\cdot\ln(x)[1+\ln(x)]+x^{(x-1)}]$ and $(x^x)^x[x[2\ln(x)+1]]$ respectively
So,my question is ,Are these two functions really different,if yes ,how?If no,how can you justify their similar looking expressions?