Data Structures and Algorithms with Object-Oriented Design Patterns in Python
next up previous index

An Asymptotic Lower Bound-Omega

The big oh notation introduced in the preceding section is an asymptotic upper bound. In this section, we introduce a similar notation for characterizing the asymptotic behavior of a function, but in this case it is a lower bound.

Definition (Omega)     Consider a function f(n) which is non-negative for all integers tex2html_wrap_inline58503. We say that ``f(n) is omega g(n),'' which we write tex2html_wrap_inline59375, if there exists an integer tex2html_wrap_inline58491 and a constant c>0 such that for all integers tex2html_wrap_inline58525, tex2html_wrap_inline59383.

The definition of omega is almost identical to that of big oh. The only difference is in the comparison--for big oh it is tex2html_wrap_inline58527; for omega, it is tex2html_wrap_inline59383. All of the same conventions and caveats apply to omega as they do to big oh.




next up previous index

Bruno Copyright © 2003, 2004 by Bruno R. Preiss, P.Eng. All rights reserved.