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.