HiveBrain v1.2.0
Get Started
← Back to all entries
snippetModerate

How to prove that $n(\log_3(n))^5 = O(n^{1.2})$?

Submitted by: @import:stackexchange-cs··
0
Viewed 0 times
provethatlog_3how

Problem

This a homework question from Udi Manber's book. Any hint would be nice :)

I must show that:


$n(\log_3(n))^5 = O(n^{1.2})$

I tried using Theorem 3.1 of book:


$f(n)^c = O(a^{f(n)})$ (for $c > 0$, $a > 1$)

Substituing:

$(\log_3(n))^5 = O(3^{\log_3(n)}) = O(n) $

but $n(\log_3(n))^5 = O(n\cdot n) = O(n^2) \ne O(n^{1.2})$

Thank you for any help.

Solution

Do what you did, but let $a = (3^{0.2})$... that should do it, right?

The reason that what you did didn't work is as follows. The big-oh bound is not tight; while the logarithm to the fifth is indeed big-oh of linear functions, it is also big oh of the fifth root function. You need this stronger result (which you can also get from the theorem) to do what you're doing.

Context

StackExchange Computer Science Q#974, answer score: 14

Revisions (0)

No revisions yet.