1

The formal definition of big $O$ notation we use is:

"We write $f(x)=O(g(x))$ as $x\to x_0$, if there exists $A$ such that $|f(x)|\leq A|g(x)|$ in the neighbourhood of $x_0.$"

So there are a few confusions/concerns of mine that I wanted to share:

$1)$ Why, in most examples I saw, they always compare $f(x)$ with $x$ to some power. I mean, could we in theory compare $f(x)$ to any $g(x)$ like $\arctan x$ or something less ordinary?

$2)$ If $g(x)$ is not restricted to a certain type of function, by that definition above, could we take any function $g(x)$ and we multiply $|g(x)|$ by an arbitrarily large number $A$ such that it is larger than $|f(x)|$ in some arbitrarily small domain around $x_0$?

Bernard
  • 175,478
  • Simply because it's easier to compute with power series, and their asymptotic behaviour is well known . Sometimes, you can also compare to Bertrand's series ($\sum\frac1{n^\alpha\log^\beta n} $). 2) Yes, it is valid if you can do that.
  • – Bernard Mar 08 '20 at 18:53