Find witnesses proving that $f(x) = 2x^3 + x^2 + 5 \textrm{ is } \mathrm{O}(x^3 )$.
What do i need to do here?
Like step by step?
Find witnesses proving that $f(x) = 2x^3 + x^2 + 5 \textrm{ is } \mathrm{O}(x^3 )$.
What do i need to do here?
Like step by step?
You need to find constants $C$ and $N$ (these are your witnesses) such that $$|f(x)| \leq C|x^3|$$ for all $x \geq N$.
An easy way to do this is change all of the variables in your polynomial to the highest occuring power, that is $$f(x) = 2x^3 + x^2 + 5 \leq 2x^3 + x^3 + 5x^3 = 8x^3,$$ so we can take $C = 8$ and $N = 1$, which will be your witnesses.