I am required to calculate the following:
$\displaystyle{\lim_{x \to a}} \frac{x^a-a^x}{a^x-a^a}$, where $a>0$, $a\neq1$
My first thought would be l'Hôpital but seeing as though it has nothing to do with differentiability, we cannot use it, and so I am pretty stumped. Any help would be appreciated.
we have $$\lim_{x\to a}\frac{x^a-a^x}{a^x-a^a}=\lim_{x\to a}\frac{ax^{a-1}-a^x\ln(a)}{a^x\ln(a)}=-1+\frac{1}{\log(a)}$$