$\lim_{x \to \infty} \left(1-\frac{\ln(x)}{x}\right)^x$
The answer is 0 (I have faith in my lecturer, so I believe this to be correct), but I get 1. I applied L'Hopital to the fraction, got $\lim_{x \to \infty} \frac{1}{x}$, and eventually $1$.
Questions:
- How do I reach $0$?
- I may agree that for $x \to 0$ there may be issues, but for $x \to \infty$ the function is well behaved (i.e. continuous): then why can't I calculate the limes inside? In other words, why does the approach above fail?