A while ago, I learned how to take the derivative of $y=x^x$ using implicit differentiation, and I wondered if the same trick would work on every function of this type. I tried to differentiate $y=x^{x^x}$ the same way:
$\ln y=x^x\ln x$
$\ln (\ln y)=x \ln x+\ln (\ln x)$
$\frac{\frac{dy}{dx}}{y\ln y}=1+\ln x+\frac{1}{x\ln x}$
$\frac{dy}{dx}=x^{x^x+x}\ln x(1+\ln x+\frac{1}{x\ln x})$
This result seems to imply that all functions of this type, no matter how complicated, could be differentiated in this manner. My question is: Are there any functions of this sort that are so complicated that they are impossible to differentiate? If not, can this be proven?
Consider any family $\mathfrak{F}$ of all functions $f(x)$ for which $f'(x)$ if expressible in terms of arithmetic operations, exponents, and members of $\mathfrak{F}$.
You can show using all the rules of derivatives that every expression constructed using only arithmetic operations, exponents, and members of $\mathfrak{F}$, must itself belong to $\mathfrak{F}$.
This result guarantees that closed formulas for derivatives of expressions you tried must exist.
On another note, taking derivatives of sufficiently complicated expressions quickly becomes impractical as you can expect the expressions to be monsterous in size.