Trying to do Big O proofs and I'm stuck on this proof.
Need to prove if O(nlog(2,n)) is in O(n^2)
After playing around with it I get
log(2,n)/n <= c but I'm not too sure what to do after or how to conclude the proof
Trying to do Big O proofs and I'm stuck on this proof.
Need to prove if O(nlog(2,n)) is in O(n^2)
After playing around with it I get
log(2,n)/n <= c but I'm not too sure what to do after or how to conclude the proof
Yes. Since $${n\log(n)\over n^2 } = {\log(n)\over n} \to 0, $$ as $n\to\infty$. In fact it's $o(n^2)$. Since ${\log(n)\over n}\to 0$, this sequence is bounded, so be reassured.