- #1
evinda
Gold Member
MHB
- 3,836
- 0
Hey again! (Wave)
I have to determine if $g(n)=O(g^5(n))$ is true or not.
I thought that I could use the definition of Big-0h, but I don't know how to begin, formulating it.
From the definition, we have that $\exists c>0$ and $n_0 \in \mathbb{N}_0$ such that $\forall n \geq n_0$:
$$0 \leq g(n) \leq c g^5 (n)$$
I took $g(n)=\frac{1}{n}$ and in this case the relation does not stand, since we get: $n^4 \leq c$.
But, taking $g(n)=n$, the relation is true?
So, for which functions is the relation true and for which not? (Thinking)
I have to determine if $g(n)=O(g^5(n))$ is true or not.
I thought that I could use the definition of Big-0h, but I don't know how to begin, formulating it.
From the definition, we have that $\exists c>0$ and $n_0 \in \mathbb{N}_0$ such that $\forall n \geq n_0$:
$$0 \leq g(n) \leq c g^5 (n)$$
I took $g(n)=\frac{1}{n}$ and in this case the relation does not stand, since we get: $n^4 \leq c$.
But, taking $g(n)=n$, the relation is true?
So, for which functions is the relation true and for which not? (Thinking)