Question:
Find $\lim_{x\to\infty} \left(1-\frac{e}{x}\right)^{x^2}$
Attempt:
We can solve this limit by using the natural logarithm and the limit definition of the exponential function. Let's begin by taking the natural logarithm of the expression inside the limit:
$\ln\left[\left(1-\frac{e}{x}\right)^{x^2}\right] = x^2 \ln\left(1-\frac{e}{x}\right)$
Now we can rewrite the limit as:
$\lim_{x\to\infty} x^2 \ln\left(1-\frac{e}{x}\right)$
Let's focus on the expression inside the natural logarithm. We can use the Taylor series expansion for $\ln(1-x)$:
$\ln\left(1-\frac{e}{x}\right) = -\frac{e}{x} - \frac{e^2}{2x^2} - \frac{e^3}{3x^3} - \cdots$
As $x$ approaches infinity, all the terms after the first one become negligible, so we can approximate the expression as:
$\ln\left(1-\frac{e}{x}\right) \approx -\frac{e}{x}$
Substituting this back into our limit, we get:
$\lim_{x\to\infty} x^2 \ln\left(1-\frac{e}{x}\right) \approx \lim_{x\to\infty} -e x = -\infty$
Finally, we can take the exponential functio n of both sides to get the original limit:
$\lim_{x\to\infty} \left(1-\frac{e}{x}\right)^{x^2} = e^{-\infty} = \boxed{0}$
Therefore, the limit is 0.
Is this correct ?
As already commented, your proof is absolutely blameless but alternatively, you could have used $\lim_{u\to0}\left(1+u\right)^{1/u}=e,$ which instantly gives: $$\lim_{x\to^+\infty}\left(1-\frac ex\right)^{x^2}=\lim_{x\to+\infty}\left(\left(1-\frac ex\right)^{-\frac xe}\right)^{-ex}=e^{-\infty}=0.$$
Your approximation of $\ln\left(1-\frac ex\right)$ by $-\frac ex$ as $x\to\infty$ is classical but it does not need Taylor series, and should be denoted by $\sim$ instead of $\approx:$ $$\ln(1+u)\sim u\quad\text{as}\quad u\to0,$$ which has a precise meaning: $$\lim_{u\to0}\frac{\ln(1+u)}u=1.$$ (No need for L'Hospital for this limit, it is simply the derivative at $1$ of $\ln,$ by definition.)
And the asymptotic equivalence is especially designed to be perfectly compatible