For example, $e^{x} = 1 + x + x^2/2 + O(x^3)$,
and we interpret $O(x^3)$ as the remainder term that goes to zero like $x^3$.
What's the primary usage of Big-O notation? (strictly in math classes, e.g., real (complex) analysis I/II and not in computer science.)
Basically, I am a little shaky about using Big-O notation to classify rates of growth (to infinity) but am more comfortable using it to classify rates of decay (to zero), say, of a remainder term of a Taylor / Laurent expansion.
Edit: My main confusion is this: the remainder term in the example I gave decays to zero like x^3, hence it's in O(x^3), but the remainder obviously does not grow like x^3, as x goes to infinity -- which means the remainder is not in O(x^3)...?
Thanks,
Part of what is probably confusing you is that big/little oh notation get used with different limits in different contexts, and we quite frequently don't say what the limit actually is explicitly. For instance, in the context of Taylor's theorem, $e^x=1+O(x)$ is a statement about the behavior of $e^x$ near zero, not about its behavior elsewhere. On the other hand, $n^2+n+1=O(n^2)$ is a statement about a limit as $n \to \infty$. In principle you could even have a limit as a variable tends to some nonzero finite value. We can explicitly say what the limit is, by writing things like "$e^x=1+O(x)$ as $x \to 0$", but more often than not we don't do this, because the notation is meant as a shorthand anyway.
Regardless of what sort of limit we are dealing with, big Oh notation really is not about growth or about decay, it is about boundedness. For instance $e^x=1+O(x)$ means that $\frac{e^x-1}{x}$ is a bounded function near zero; $n^2+n+1=O(n^2)$ means that $\frac{n^2+n+1}{n^2}$ is bounded for large $n$. These boundedness properties tell us something about growth or decay of the original function, but only because we know whether the function we are comparing to is growing or decaying in the relevant limit.