/ x\ / 2 \
x \a / | 1 x /1 \ 2 2*log(a)|
a *x *|- -- + a *|- + log(a)*log(x)| + log (a)*log(x) + --------|
| 2 \x / x |
\ x /
$$a^{x} x^{a^{x}} \left(a^{x} \left(\log{\left (a \right )} \log{\left (x \right )} + \frac{1}{x}\right)^{2} + \log^{2}{\left (a \right )} \log{\left (x \right )} + \frac{2}{x} \log{\left (a \right )} - \frac{1}{x^{2}}\right)$$
/ x\ / 3 2 \
x \a / |2 2*x /1 \ 3 3*log(a) 3*log (a) x /1 \ / 1 2 2*log(a)\|
a *x *|-- + a *|- + log(a)*log(x)| + log (a)*log(x) - -------- + --------- + 3*a *|- + log(a)*log(x)|*|- -- + log (a)*log(x) + --------||
| 3 \x / 2 x \x / | 2 x ||
\x x \ x //
$$a^{x} x^{a^{x}} \left(a^{2 x} \left(\log{\left (a \right )} \log{\left (x \right )} + \frac{1}{x}\right)^{3} + 3 a^{x} \left(\log{\left (a \right )} \log{\left (x \right )} + \frac{1}{x}\right) \left(\log^{2}{\left (a \right )} \log{\left (x \right )} + \frac{2}{x} \log{\left (a \right )} - \frac{1}{x^{2}}\right) + \log^{3}{\left (a \right )} \log{\left (x \right )} + \frac{3}{x} \log^{2}{\left (a \right )} - \frac{3}{x^{2}} \log{\left (a \right )} + \frac{2}{x^{3}}\right)$$