Almost everywhere

From Wikipedia, the free encyclopedia
Jump to: navigation, search
A simple example measure assigns to a subregion of the rectangle the fraction of the geometrical area it occupies. Then, the rectangle's boundary has measure 0, while its interior has measure 1. Almost every point of the rectangle is an interior point, yet the interior has a nonempty complement.

In measure theory (a branch of mathematical analysis), a property holds almost everywhere if, in a technical sense, the set for which the property holds takes up nearly all possibilities. The notion of almost everywhere is a companion notion to the concept of measure zero. In the subject of probability, which is largely based in measure theory, the notion is referred to as almost surely.

More specifically, a property holds almost everywhere if the set of elements for which the property does not hold is a set of measure zero (Halmos 1974), or equivalently if the set of elements for which the property holds is conull. In cases where the measure is not complete, it is sufficient that the set is contained within a set of measure zero. When discussing sets of real numbers, the Lebesgue measure is assumed unless otherwise stated.

The term almost everywhere is abbreviated a.e.; in older literature p.p. is used, to stand for the equivalent French language phrase presque partout.

A set with full measure is one whose complement is of measure zero. In probability theory, the terms almost surely, almost certain and almost always refer to events with probability 1, which are exactly the sets of full measure in a probability space.

Occasionally, instead of saying that a property holds almost everywhere, it is said that the property holds for almost all elements (though the term almost all also has other meanings).


If is a measure space, a quality P is said to hold almost everywhere in X if μ({xX: ¬P(x)}) = 0. Another common way of expressing the same thing is to say that "almost every point satisfies P" or "for almost every x, P(x) holds".


  • If property P holds almost everywhere and implies property Q, then property Q holds almost everywhere. This follows from the monotonicity of measures.
  • If is a finite or countable sequence of properties, each of which holds almost everywhere, then their conjunction holds almost everywhere. This follows from the countable subadditivity of measures.
  • By contrast, if is an uncountable family of properties, each of which holds almost everywhere, then their conjunction does not necessarily hold almost everywhere. For example, if is Lebesgue measure on and is the property of not being equal to (i.e. is true if and only if ), then each holds almost everywhere, but the conjunction does not hold anywhere.

As a consequence of the first two properties, it is often possible to reason about "almost every point" of a measure space as though it were an ordinary point rather than an abstraction. This is often done implicitly in informal mathematical arguments. However, one must be careful with this mode of reasoning because of the third bullet above: universal quantification over uncountable families of statements is valid for ordinary points but not for "almost every point".


for all real numbers a < b with equality iff almost everywhere.
for all real numbers a < b, then there exists a set E (depending on f) such that, if x is in E, the Lebesgue mean
converges to f(x) as decreases to zero. The set E is called the Lebesgue set of f. Its complement can be proved to have measure zero. In other words, the Lebesgue mean of f converges to f almost everywhere.

Definition using ultrafilters[edit]

Outside of the context of real analysis, the notion of a property true almost everywhere is sometimes defined in terms of an ultrafilter. An ultrafilter on a set X is a maximal collection F of subsets of X such that:

  1. If UF and UV then VF
  2. The intersection of any two sets in F is in F
  3. The empty set is not in F

A property P of points in X holds almost everywhere, relative to an ultrafilter F, if the set of points for which P holds is in F.

For example, one construction of the hyperreal number system defines a hyperreal number as an equivalence class of sequences that are equal almost everywhere as defined by an ultrafilter.

The definition of almost everywhere in terms of ultrafilters is closely related to the definition in terms of measures, because each ultrafilter defines a finitely-additive measure taking only the values 0 and 1, where a set has measure 1 if and only if it is included in the ultrafilter.