Find the derivative of $f(x)=x^{x^{\dots}{^{x}}}$. 
Find the derivative of $f(x)$:
$$f(x)=x^{x^{\dots}{^{x}}}$$

Let $n$ be the number of overall $x's$ in $f(x)$. So for $n=1$, $f(x)=x$. I then tried to determine a pattern by solving for the derivative from $n=1$ to $n=5$. Here's what I got:
\begin{align}
n = 2 \Longrightarrow f(x) &= x^x \\
f'(x) &= \frac{d}{dx}\left(e^{x\ln \left(x\right)}\right) \\
&= e^{x\ln \left(x\right)}\frac{d}{dx}\left(x\ln \left(x\right)\right) \\
&= e^{x\ln \left(x\right)}\left(\ln \left(x\right)+1\right) \\
&= x^x\left(\ln \left(x\right)+1\right)
\end{align}
\begin{align}
n = 3 \Longrightarrow f(x) &= x^{x^{x}} \\
f'(x) &= \frac{d}{dx}\left(e^{x^x\ln \left(x\right)}\right) \\
&= e^{x^x\ln \left(x\right)}\frac{d}{dx}\left(x^x\ln \left(x\right)\right) \\
&= e^{x^x\ln \left(x\right)}\left(x^x\ln \left(x\right)\left(\ln \left(x\right)+1\right)+x^{x-1}\right) \\
&= x^{x^x}\left(x^x\ln \left(x\right)\left(\ln \left(x\right)+1\right)+x^{x-1}\right)
\end{align}
\begin{align}
n = 5 \Longrightarrow f(x) &= x^{x^{x^{x^{x}}}} \\
f'(x) &= ... \\
&= x^{x^{x^{x^x}}}\left(x^{x^{x^x}}\ln \left(x\right)\left(x^{x^x}\ln \left(x\right)\left(x^x\ln \left(x\right)\left(\ln \left(x\right)+1\right)+x^{x-1}\right)+x^{x^x-1}\right)+x^{x^{x^x}-1}\right)
\end{align}
However, I am not sure if I see a pattern here that can help solve the question.

Let $f_1(x)=x$ and $f_n(x)=x^{f_{n-1}(x)}=x^{x^{\ldots^{x}}}$ ($n$ $x's$ on the exponent).
Then $\ln(f_n(x))=f_{n-1}(x)\cdot\ln(x)$ so: $$\frac{f'_n(x)}{f_{n}(x)}=f'_{n-1}(x)\cdot\ln(x)+\frac{f_{n-1}(x)}{x}\implies f'_{n}(x)=f_{n}(x)\cdot\left(f'_{n-1}(x)\cdot\ln(x)+\frac{f_{n-1}(x)}{x}\right).$$
