Opentopia Directory Encyclopedia Tools

Landau notation

Encyclopedia : L : LA : LAN : Landau notation


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.

Introduction

Easily understandable and detailed accounts of these notations including many examples are found in the following articles, focusing on different aspects:

Definition

Landau's notation is defined in the following way:

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).

Generalizations

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.

Remarks on notation

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 ([x\mapsto x]).

Properties

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, [ f = \Theta(g)\iff f=O(g)\land g=O(f) ].)

Stability for sum and product:

Note, however, that we do not have [ O(f) + O(g) = O(f+g) ], 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.

Applications

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,

[ f\sim g \iff (f-g) = o(g) ]
which is a more precise notion than the rough equivalence Θ used in computational complexity theory. (It reduces to [\lim f/g = 1] if f and g are positive real valued functions.)

External links

Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: