So as part of a problem, I need to compute the following limit:
$$\lim_{x \to \infty} \left( 1-\frac1{x^2}\right)^{x^2-1} = \frac1e$$
As can be seen, the answer is $\frac1e$. But how do I get there? I entered the limit on Wolfram Alpha, and obtained the answer. But the step-by-step solution was not available. How has this been obtained? Any help would be appreciated.
Thanks in advance.
HINT:
$$\lim_{x\to\infty}\left(1-\dfrac1{x^2}\right)^{x^2-1}=\left(\lim_{x\to\infty}\left[1+\left(-\dfrac1{x^2}\right)\right]^{-x^2}\right)^{\lim_{x\to\infty}\frac{1-x^2}{x^2}}$$
Now use $\lim_{u\to\infty}\left(1+\dfrac1u\right)^u=e$