in Algorithms
401 views
3 votes
3 votes

f(n)=Ω(n),g(n)=O(n)  than  what  is f(n).g(n)

in Algorithms
401 views

1 Answer

3 votes
3 votes
Best answer

SInce f(n)=Ω(n) ---> f(n) $\geq$ c1n

and g(n)=O(n) --->  g(n) $\leq$ c2n   

 f(n).g(n) = Ω(n)   but we can't say anything about Big-oh notation as f(n) can be n2.n3,2n, etc.

selected by

2 Comments

if f(n)= n

and g(n) = 1/n

f(n)g(n) = 1 which is not lower bounded by omega(n)

therefore your statement fails
0
0

@Niraj Singh 2Usually we consider non-decreasing functions, so the answer is correct.

0
0