I am trying to prove that the function $f_a(x) = e^{-\frac{1}{(x-a)}}$ is differentiable for all $x>a$. However, I do not know how to show $|\frac{e^{-\frac{1}{(x-a)}}-e^{-\frac{1}{(p-a)}}}{x-p} - (-\frac{e^{-\frac{1}{(p-a)}}}{(p-a)^2})| < \epsilon$ if $0<|x-p|<\delta$.
My next idea was to apply the natural logarithmic function to $e^{-\frac{1}{(x-a)}}$ to get $\hat{f_a}(x)=-\frac{1}{(x-a)}$. From here, I can prove that $\hat{f_a}(x)$ is differentiable for any $x>a$, but I do not know if this implies that $f_a(x)$ is differentiable for any $x>a$.
I know that $f_a(x):(-\infty,\infty) \rightarrow (0,\infty)$ and $\hat{f_a}(x):(-\infty,\infty) \rightarrow (-\infty,\infty)$.
Can you please help me understand how I can prove $f_a(x)$ is differentiable for all $x>a$? Thank you for your time and help.