ArticleslgStudy

mathematics

Almost everywhere

Almost everywhere is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Almost everywhere rather than just read about it. In short: In measure theory (a branch of mathematical analysis), a property holds almost everywhere (sometimes abbreviated as a.e.) if the set for which the property does not hold is negligible in a technical sense. The notion of "almost everywhere" is a companion notion to the concept of measure zero, and is analogous to the notion of almost surely in probability theory.

Almost everywhere — main illustration
Almost everywhere — illustration

Key takeaways

  • Almost everywhere belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Almost everywhere to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Almost everywhere from memory before moving on to harder problems.

Reference excerpt

In measure theory (a branch of mathematical analysis), a property holds almost everywhere (sometimes abbreviated as a.e.) if the set for which the property does not hold is negligible in a technical sense. The notion of "almost everywhere" is a companion notion to the concept of measure zero, and is analogous to the notion of almost surely in probability theory. More specifically, a property holds almost everywhere if it holds for all elements in a set except a subset of measure zero, 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 be contained within a set of measure zero. When discussing sets of real numbers, the Lebesgue measure is usually 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 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 not necessarily including all of the outcomes. These 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 can also have other meanings).

Definition If (X,Σ,μ) is a measure space, a property P is said to hold almost everywhere in X if there exists a measurable set N∈Σ with μ(N)=0, and all x∈X∖N have the property P. Another common way of expressing the same thing is to say that "almost every point satisfies P", or that "for almost every x, P(x) holds". It is not required that the set {x∈X:¬P(x)} has measure zero; it may not be measurable. By the above definition, it is sufficient that {x∈X:¬P(x)} be contained in some set N that is measurable and has measure zero. However, this technicality vanishes when considering a complete measure space: if X is complete then N exists with measure zero if and only if {x∈X:¬P(x)} is measurable with measure zero.

Properties If property P holds almost everywhere and implies property Q, then property Q holds almost everywhere. This follows from the monotonicity of measures. If (Pn) is a finite or a countable sequence of properties, each of which holds almost everywhere, then their conjunction ∀nPn holds almost everywhere. This follows from the countable sub-additivity of measures. By contrast, if (Px)x∈𝐑 is an uncountable family of properties, each of which holds almost everywhere, then their conjunction ∀xPx does not necessarily hold almost everywhere. For example, if μ is Lebesgue measure on X=𝐑 and Px is the property of not being equal to x (i.e. Px(y) is true if and only if y≠x), then each Px holds almost everywhere, but the conjunction ∀xPx 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".

Examples If f : R → R is a Lebesgue integrable function and f(x)≥0 almost everywhere, then ∫abf(x)dx≥0 for all real numbers a<b with equality if and only if f(x)=0 almost everywhere. If f : [a, b] → R is a monotonic function, then f is differentiable almost everywhere. If f : R → R is Lebesgue measurable and ∫ab|f(x)|dx<∞ 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 12ε∫x−εx+εf(t)dt 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. A bounded function f : [a, b] → R is Riemann integrable if and only if it is continuous almost everywhere. As a curiosity, the decimal expansion of almost every real number in the interval [0, 1] contains the complete text of Shakespeare's plays, encoded in ASCII; similarly for every other finite digit sequence, see Normal number.

Definition using ultrafilters 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:

If U ∈ F and U ⊆ V then V ∈ F The intersection of any two sets in F is in F 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. With this notion of "almost everywhere" Łoś's theorem can be understood as saying that a first-order formula is true in an ultraproduct if and only if it's true in almost all of the factors.

See also Dirichlet's function, a function that is equal to 0 almost everywhere. Cantor function

References

Bibliography Billingsley, Patrick (1995). Probability and measure (3rd ed.). New York: John Wiley & Sons. ISBN 0-471-00710-2.

Illustrations

Almost everywhere: The function 1/x is differentiable and continuous almost everywhere; more precisely, everywhere except at x = 0.
The function 1/x is differentiable and continuous almost everywhere; more precisely, everywhere except at x = 0.

Worked examples

Example 1 — a first encounter with Almost everywhere

Start with the simplest possible case. Write down what Almost everywhere claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Almost everywhere before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Almost everywhere ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Almost everywhere

In research
Almost everywhere appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Almost everywhere in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Almost everywhere is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical terminology, Measure theory, so understanding it makes those chapters shorter.
In everyday life
Look for Almost everywhere outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Almost everywhere” →

How to study Almost everywhere in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Almost everywhere means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Almost everywhere out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Almost everywhere in simple terms?

In measure theory (a branch of mathematical analysis), a property holds almost everywhere (sometimes abbreviated as a.e.) if the set for which the property does not hold is negligible in a technical sense. The notion of "almost everywhere" is a companion notion to the concept of measure zero, and i…

Why does Almost everywhere matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Almost everywhere?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Almost everywhere.

Tags

  • Mathematical terminology
  • Measure theory

Keep exploring