Since $\log(1+x) = x + O(x^2)$ when $x \to 0$, we have $n\log(1 + \frac{x}{n}) = x + O(\frac{x^2}{n})$ when $n\to +\infty$
Can someone explain the big-o notation here and why is it true?
I'm trying to understand a proof for the limit of $e^x$, but I really fail to understand the logic of the two equalities above.