Lably
Skip to content

Universal quantification

Mathematical use of "for all"

  • 6 min read
  • 4 chapters
  • 3 labs on Lably

Learn it on Lably

It is usually denoted by the turned A (∀) logical operator symbol, which, when used together with a predicate variable, is called a universal quantifier ("∀x", "∀(x)", or sometimes by "(x)" alone). Universal quantification is distinct from existential quantification ("there exists"), which only asserts that the property or relation holds for at least one member of the domain.

The universal quantifier is encoded as U+2200 ∀ FOR ALL in Unicode, and as \forall in LaTeX and related formula editors.

Basics

Suppose it is given that

2·0 = 0 + 0, and 2·1 = 1 + 1, and 2·2 = 2 + 2, ..., and 2 · 100 = 100 + 100, and ..., etc.

This would seem to be an infinite logical conjunction because of the repeated use of "and". However, the "etc." cannot be interpreted as a conjunction in formal logic, Instead, the statement must be rephrased:

For all natural numbers n, one has 2·n = n + n.

This is a single statement using universal quantification.

This statement can be said to be more precise than the original one. While the "etc." informally includes natural numbers, and nothing more, this was not rigorously given. In the universal quantification, on the other hand, the natural numbers are mentioned explicitly.

This particular example is true, because any natural number could be substituted for n and the statement "2·n = n + n" would be true. In contrast,

For all natural numbers n, one has 2·n > 2 + n

is false, because if n is substituted with, for instance, 1, the statement "2·1 > 2 + 1" is false. It is immaterial that "2·n > 2 + n" is true for most natural numbers n: even the existence of a single counterexample is enough to prove the universal quantification false.

On the other hand, for all composite numbers n, one has 2·n > 2 + n is true, because none of the counterexamples are composite numbers. This indicates the importance of the domain of discourse, which specifies which values n can take. In particular, note that if the domain of discourse is restricted to consist only of those objects that satisfy a certain predicate, then for universal quantification this requires a logical conditional. For example,

For all composite numbers n, one has 2·n > 2 + n

is logically equivalent to

For all natural numbers n, if n is composite, then 2·n > 2 + n.

Here the "if ... then" construction indicates the logical conditional.

Notation

In symbolic logic, the universal quantifier symbol ∀ (a turned "A" in a sans-serif font, Unicode U+2200) is used to indicate universal quantification. It was first used in this way by Gerhard Gentzen in 1935, by analogy with Giuseppe Peano's ∃ (turned E) notation for existential quantification and the later use of Peano's notation by Bertrand Russell.

For example, if P(n) is the predicate "2·n > 2 + n" and N is the set of natural numbers, then

∀n∈NP(n)

is the (false) statement

"for all natural numbers n, one has 2·n > 2 + n".

Similarly, if Q(n) is the predicate "n is composite", then

∀n∈N(Q(n)→P(n))

is the (true) statement

"for all natural numbers n, if n is composite, then 2·n > 2 + n".

Several variations in the notation for quantification (which apply to all forms) can be found in the Quantifier article.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Foundations