The limit I'm trying to evaluate is $$ \lim_{x\to+\infty} e^x \left[e - \left(1 + \frac{1}{x}\right)^x\right] $$
After some hours trying, I've made almost no progress. I always end up in some indeterminate form and L'Hospital isn't getting me anywhere (though I think that, if used properly, it might solve the problem). Maybe it's not even that difficult and I'm just stuck for some stupid reason. Any ideas?
We want to know how quickly the term in the square bracket goes to $0$. The usual proof used to show that it converges towards $0$ needs order $1$ Taylor expansion of the logarithm but here we need a slighly more sophisticated approximation thus we will need to do a second order expansion of the logarithm.
\begin{align} \left(1+\frac{1}{x}\right)^{x} &= e^{x \ln(1+\frac{1}{x})}\\ &= e^{x (\frac{1}{x} - \frac{1}{2 x^2} + o(\frac{1}{x^2}))} \text{ using } \log(1+u) = u-\frac{u^{2}}{2} + o(u^2)(u \rightarrow 0)\\ &= e^{1 - \frac{1}{2x} + o(\frac{1}{x}))}\\ &= e e^{\frac{-1}{2x} + o(\frac{1}{x})} \\ &= e (1 - \frac{1}{2x} + o(\frac{1}{x})) \text{ using } e^u=1+u+o(u)(u \rightarrow 0)\\ &= e-\frac{e}{2x}+o(\frac{1}{x})(x \rightarrow +\infty) \end{align} thus $$ e-\left(1+\frac{1}{x}\right)^{x}\sim_{+\infty} \frac{e}{2x}$$
This connects to many posts that pointed out it seems to behave like $\frac{C}{x}$ with a certain constant $C$, which is in fact $C=\frac{e}{2}$.
We can then do the product of the two equivalents :
$$ e^{x}\left[e-\left(1+\frac{1}{x}\right)^{x}\right] \sim_{+\infty} e^x\frac{e}{2x} $$ By elementary calculus, we know that $\frac{e^x}{x}$ goes towards infinity when $x$ goes to infinity, therefore the total expression goes towards $+\infty$ since $C >0$.
I suppose just using l'Hopital's rule (which I do not like because it justs make things "magic" while it should be elementary and understandable) fails here because you need information about the second order expansion somewhere, while l'Hopitals rule is just a fancy name for a first order expansion.