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$?