I have been given a set of questions on BigO for my university course, however I'm really struggling to wrap my head around it, and was wondering if anyone would be able to explain this example please?
The question is:
Decide whether $2^n = O(n^4 + n^2)$ is true, and justify your answer.
We've been given the following information to help us solve the problems, but after following her examples, I'm still struggling to apply it to the tasks. I'd really appreciate any help anyone may be able to give, thanks!
| Counting Basic Operations | Time Complexity (bigO) | Name (time) |
|---|---|---|
| 5 | O(1) | constant |
| n + 3 | O(n) | linear |
| $n^4 + 3n + 1$ | O($n^4$) | polynomial |
| $log(n) + 1$ | O($log(n)$) | logarithmic |
| $log(n) + n^2$ | O($n^2$) | polynomial (quadratic) |
| $nlog(n)$ | O($nlog(n)$) | quasilinear |
| $n^4 + 4^n$ | O($2^n$) | exponential |
| $n! + 2^n$ | O($n!$) | factorial |

I would recommend using the Limit Comparison test. Take $f(n) = 2^{n}, g(n) = n^{4} + n^{2}$. Now compute: $$L := \lim_{n \to \infty} \frac{2^{n}}{n^{4} + n^{2}}$$.
We have the following: