Question #62636

Let f(n) and g(n) be functions with domain {1, 2, 3, . . .}. Prove the following:
If f(n) = Ω(g(n)), then g(n) = O(f(n)).
1

Expert's answer

2016-10-13T10:18:03-0400

Answer on Question #62636 – Math – Algorithms | Quantitative Methods

Question

Let f(n)f(n) and g(n)g(n) be functions with domain {1,2,3,}\{1, 2, 3, \ldots\}.

Prove the following:

If f(n)=Ω(g(n))f(n) = \Omega(g(n)), then g(n)=O(f(n))g(n) = O(f(n)).

Solution

If f(n)=Ω(g(n))f(n) = \Omega(g(n)), then, by definition of Ω\Omega, there exist positive constants cc and n0n_0 such that


cg(n)f(n) for all nn0.c | g (n) | \leq | f (n) | \text{ for all } n \geq n_0.


Hence,


g(n)f(n)c.| g (n) | \leq \frac{| f (n) |}{c}.


Set


1c=k.\frac {1}{c} = k.


If c>0c > 0, then k>0k > 0.

Besides,


g(n)kf(n).| g (n) | \leq k | f (n) |.


Therefore, there exist positive constants kk and n0n_0 such that g(n)kf(n)|g(n)| \leq k |f(n)| for all nn0n \geq n_0.

By definition of OO,


g(n)=O(f(n)).g (n) = O (f (n)).


www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS