Calculate $\lim\limits_{x\to a}\frac{a^{a^{x}}-{a^{x^{a}}}}{a^x-x^a}$ Please help me solving $\displaystyle\lim_{x\to a}\frac{a^{a^{x}}-{a^{x^{a}}}}{a^x-x^a}$

The ratio is $R(x)=\dfrac{u(t)-u(s)}{t-s}$ with $u(z)=a^z$, $t=a^x$ and $s=x^a$. When $x\to a$, $t\to a^a$ and $s\to a^a$ hence $R(x)\to u'(a^a)$. Since $u(z)=\exp(z\log a)$, $u'(z)=u(z)\log a$. In particular, $u'(a^a)=u(a^a)\log a$. Since $u(a^a)=a^{a^a}$, $\lim\limits_{x\to a}R(x)=a^{a^a}\log a$.
