Big O notation question of Kolman's book

48 Views Asked by At

If

$$f(x) = x^{100} , g(x) = 2^x. $$

Show that $f(x)$ is a big $O(g(x))$, but $g(x)$ is not big $O(f(x))$.

1

There are 1 best solutions below

0
On

Hint: find the limit

$$ \lim_{x\to \infty}\frac{x^{100}}{2^x} =? $$

and use the result

$$f=O(g)\quad \rm{iff} \quad \limsup_{x \to \infty}\frac{|f(x)|}{|g(x)|} =c,$$

where $c$ is finite.