Almost all
In mathematics, the term "almost all" means "all but a negligible quantity". More precisely, if is a set, "almost all elements of " means "all elements of but those in a negligible subset of ". The meaning of "negligible" depends on the mathematical context; for instance, it can mean finite, countable, or null.
In contrast, "almost no" means "a negligible quantity"; that is, "almost no elements of " means "a negligible quantity of elements of ".
Meanings in different areas of mathematics
Prevalent meaning
Throughout mathematics, "almost all" is sometimes used to mean "all except for finitely many". This use occurs in philosophy as well. Similarly, "almost all" can mean "all except for countably many".Examples:
- Almost all positive integers are greater than 1012.
- Almost all prime numbers are odd.
- Almost all polyhedra are irregular.
- If P is a nonzero polynomial, then P ≠ 0 for almost all x.
Meaning in measure theory
Examples:
- In a measure space, such as the real line, countable sets are null. The set of rational numbers is countable, so almost all real numbers are irrational.
- Georg Cantor's first set theory article proved that the set of algebraic numbers is countable as well, so almost all reals are transcendental.
- Almost all reals are normal.
- The Cantor set is also null. Thus, almost all reals are not in it even though it is uncountable.
- The derivative of the Cantor function is 0 for almost all numbers in the unit interval. It follows from the previous example because the Cantor function is locally constant, and thus has derivative 0 outside the Cantor set.
Meaning in number theory
More generally, let S be an infinite set of positive integers, such as the set of even positive numbers or the set of primes, if A is a subset of S, and if the proportion of elements of S below n that are in A tends to 1 as n tends to infinity, then it can be said that almost all elements of S are in A.
Examples:
- The natural density of cofinite sets of positive integers is 1, so each of them contains almost all positive integers.
- Almost all positive integers are composite.
- Almost all even positive numbers can be expressed as the sum of two primes.
- Almost all primes are isolated. Moreover, for every positive integer, almost all primes have prime gaps of more than both to their left and to their right; that is, there is no other prime between and.
Meaning in graph theory
The use of the term "almost all" in graph theory is not standard; the term "asymptotically almost surely" is more commonly used for this concept.
Example:
- Almost all graphs are asymmetric.
- Almost all graphs have diameter 2.
Meaning in topology
Example:
- Given an irreducible algebraic variety, the properties that hold for almost all points in the variety are exactly the generic properties. This is due to the fact that in an irreducible algebraic variety equipped with the Zariski topology, all nonempty open sets are dense.
Meaning in algebra