305 views

1 Answer

0 0 votes

“Polynomially greater” check of sqrt(n) vs n:

We say f(n) is polynomially greater than g(n) if

 

Now check:

That is indeed a polynomial factor (with ε=0.5).


“Polynomially greater” check of 1 vs logn:

For polynomially greater, we need:

But:

  • For any ε>0, nε eventually grows much faster than logn.

  • So no such ε exists.

  • So: logn grows faster than 1, but NOT by a polynomial factor.

• edited by
Position:
Show:

Related questions

3 3 votes
4 4 answers
1.0k
1.0k views
NullPointer_Pro asked Dec 24, 2025
1,045 views
Consider the following recurrence relation describing the running time of an algorithm: $$T(n) = 2T\left(\frac{n}{2}\right) + \frac{n}{\log n}$$$$(Base\ condition: T(1) =...
1 1 vote
1 1 answer
1.8k
1.8k views
mdboi asked Oct 29, 2022
1,784 views
how do i apply master theorem to this?
1 1 vote
2 2 answers
1.5k
1.5k views
mdboi asked Oct 28, 2022
1,536 views
how do i apply master theorem to this? T(n)=2T(n/2)−n^3n
3 3 votes
1 1 answer
1.5k
1.5k views
mdboi asked Oct 28, 2022
1,473 views
how do i apply master theorem to this? 𝑇(𝑛)=16𝑇(𝑛/4)+5𝑛^3