I am trying to calculate $\lim_{x\to 0}(1+x)^{1/x}$ by using that $\lim_{x\to+\infty}(1+1/x)^x=e$.
By substitution with $a=\frac1x$ I get that $\lim_{x\to 0}(1+x)^{1/x}= \lim_{a\to +-\infty}(1+\frac1a)^{a}$. So the Problem is that $x$ approaches $+\infty$ and $-\infty$ (not only $+\infty$).
Is there an easy way to show that $lim(1+a)^{1/a}$ is the same as $a$ approaches $-\infty$ and $+\infty$?
I would suggest to apply the following line of reasoning $$ \lim_{x\to-\infty}\left(1+\frac{1}{x}\right)^{1/x} = \lim_{x\to\infty}\left(1+\frac{1}{-x}\right)^{-1/x} = \frac1{\lim_{x\to\infty} \left(1+\frac{-1}{x}\right)^{1/x}} = \frac{1}{e^{-1}} = e. $$
I don't know if there is a better way of approaching this, but I hope this helps!