Taking Discrete Mathematics and completely lost when it comes to Big-Oh Notation. While I know it's used to profile code I can't figure out how to solve the following problem:
Find the least integer $n$ such that $f(x)$ is $O(x^n)$ for each of these functions.
a) $f(x) = 2x^2 + x^3 log(x)$
b) $f(x) = 3x^5 + log^4(x)$
... etc.
$f(x)$ is a $O(x^n)$ iff $|f(x)|\leq M|x^n|$ for any sufficiently large $x$. Hence
a) $f(x)\in O(x^4)$, but $f(x)\notin O(x^3)$ ...