0 votes

Use the limit method to prove the asymptotic relation between these 3 functions:

2n

n^2

The limit method says that: lim (n --> infinity)  f(n) / g(n)   tends to 0, then f(n) = o(g(n)).  Similarly, if the limit tends to infinity, then f(n) = small omega (g(n)), and if the limit tends to a constant, then f(n) = theta (g(n)).

in Asymptotic Analysis by AlgoMeister (1.6k points)

1 Answer

+1 vote
 
Best answer

lim (n --> infinity)  n / 2n tends to 1/2 ; n = theta(2n)

 lim (n --> infinity)  n / n^2 , it will be 1/n and tends to 0 ; n = o(n^2)

 lim (n --> infinity)  2n / n^2 , it will be 1/n and tends to 0 ; 2n = o(n^2)

by Active (316 points)
selected by
The Book: Analysis and Design of Algorithms | Presentations on Slideshare | Lecture Notes, etc
...