I am struggling on some problems asking me to prove that one function is Big-Oh of another function, but these functions are a little more complicated than the typical examples seen in practice.
For example, Prove $(\log n)^3 \in O(\sqrt{n})$
I know I need to prove that $(\log n)^3 \leq c*\sqrt{n}$ for all $n > n_0$, but I'm not sure how I would even go about finding some specific values of $c$ and $n_0$?
Example- $n^3 + 10^9 \cdot n^2 \in O(n^4)$ because we can throw away the $10^9 n^2$ term, for sufficiently large n and $n^3 < n^4$ for positive integers.
– nickalh Jan 26 '24 at 03:24