In complexity theory, computer science, and mathematics, Landau notation, also called "little o"- and "big O notation", is a mathematical notation used for asymptotic comparison of functions.
More exactly, it is used to describe asymptotic upper bounds for the magnitude of a function in terms of another, usually simpler, function.
It was introduced by Paul Bachmann in the 1894 second volume of his book Analytische Zahlentheorie (the first volume, which came out in 1892, did not contain Landau notation), and popularized in the work of Edmund Landau.
Easily understandable and detailed accounts of these notations including many examples are found in the following articles, focusing on different aspects:
If f,g are complex valued functions defined on a neighbourhood of some point xo (which may be x=∞ on the extended real line), then
In the first case, f is called dominated by g, in the second case, f is called negligible with regard to g (in the neighbourhood of xo).
The generalization to functions taking values in any normed vector space is straightforward (replacing absolute values by norms), where f and g need not take their values in the same space. A generalization to functions g taking values in any topological group is also possible.
The "limiting process" x→xo can also be generalized by introducing an arbitrary filter base, i.e. to directed nets f and g.
Notice that the "=" used above does not mean equality. Use of "∈" or Hardy notation would be more logical, but is much less common.
The advantage of the above notation is that it allows for the abuse of notation consisting in writing f = g + o(h) instead of f - g = o(h), which is quite handy in calculations of approximations obtained by (repeated) use of Taylor's theorem and formulae for this notation (see below).
A second abuse of notation is to write f(x) (which is a number, for given x) instead of f (which is a function). This can be justified with the convention that x represents the identity function ().
Basic properties concerning this notation are the following:
Transitivity of O and o:
Reflexivity of O:
Thus, O is a preorder, the associated equivalence relation being asymptotic (rough) equivalence, .)
Stability for sum and product:
Note, however, that we do not have , as f and g on the r.h.s. may cancel (partially). This relation is true, however, if f and g are positive (real valued) functions.
Note also that the above relations usually become wrong if they are read from right to left (in the cases where this could make sense).
Also, care should be taken to specify the point xo whenever there could be any ambiguity on it. This is a common source of error when using Taylor's formula and changes of variables.
Main applications of Landau notations are found in complexity theory and asymptotic analysis.
The o notation can be used to define derivatives and differentiability in quite general spaces, and also (asymptotical) equivalence of functions,
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Landau notation".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world