A predicate becomes a proposition when its variables are bound
P(x) has no truth value; P(5) and ∀x P(x) both do. Binding happens by substitution or by a quantifier.
A predicate is a sentence with a free variable. ∀ and ∃ bind that variable and produce something with a truth value — and both depend entirely on the domain, which is why an unstated domain is an unstated claim.
Core ideas
Propositional logic cannot express "every integer has a successor". Predicates and quantifiers are what it takes.
P(x) has no truth value; P(5) and ∀x P(x) both do. Binding happens by substitution or by a quantifier.
∃x (x² = 2) is false over the rationals and true over the reals. Stating the domain is not pedantry — without it there is no claim.
Vacuous truth again: with nothing to check, nothing fails. Symmetrically, ∃ over an empty domain is false.
The material
What each quantifier asserts, and what it takes to establish or refute it.
A predicate P(x) is a sentence containing a free variable, which becomes a proposition once a value from the domain is substituted. Predicates may have several variables: Q(x, y).
The domain is the set of values the variables range over. It is part of the statement: ∀x (x² ≥ x) is true over the integers and false over the reals, where x = ½ refutes it.
∀x P(x) ("for all x, P(x)") is true when P(c) is true for every c in the domain, and false as soon as one c makes it false.
∃x P(x) ("there exists x such that P(x)") is true when P(c) is true for at least one c in the domain.
The asymmetry in what it costs to settle these is the heart of the lesson. To prove ∀x P(x) over an infinite domain you need an argument covering every case; to refute it you need one counterexample. For ∃x P(x) it is the reverse: one witness proves it, and refuting it takes a general argument.
Over a finite domain both quantifiers collapse into connectives. With domain {1, 2, 3}, ∀x P(x) is P(1) ∧ P(2) ∧ P(3) and ∃x P(x) is P(1) ∨ P(2) ∨ P(3). That is exactly why the empty-domain conventions come out as they do: an empty conjunction is T and an empty disjunction is F.
In ∀x P(x, y) the variable x is bound and y is free. A formula with a free variable is still a predicate; only when all variables are bound is it a proposition.
"Every even integer greater than 2 is composite" is written ∀x ((x > 2 ∧ Even(x)) → Composite(x)) — the restriction becomes the hypothesis of a conditional. With ∃ the restriction becomes a conjunction instead: ∃x (Even(x) ∧ Prime(x)). Mixing these two patterns up is the standard error.
∃!x P(x) means "there is exactly one x with P(x)", and abbreviates ∃x (P(x) ∧ ∀y (P(y) → y = x)). It is two claims: something exists, and nothing else does.
Interactive
A finite universe you can edit
Method
Domain first, predicate second, quantifier last.
"All integers", "all real numbers", "all students in this class". Without it the formula is not a claim.
Give each property a symbol with its variables shown: P(x) for "x is prime", L(x, y) for "x likes y".
"Every", "all", "each", "any" signal ∀. "Some", "there is", "at least one" signal ∃. Beware "any", which is ∀ in a positive sentence and often ∃ under a negation.
With ∀, a restriction becomes the hypothesis of →. With ∃, it becomes a conjunct of ∧. Using ∧ under ∀ claims far too much.
Domain: all integers. P(x) = "x is prime", E(x) = "x is even".
The second wrong form is the subtler one. P(9) → E(9) is F → F, which is true, so the existential is satisfied by a number that is neither prime nor even. A conditional under ∃ is almost always a mistake.
Translate "every positive even integer greater than 2 is composite" and "some composite number is odd" into symbols, and say for each why the connective inside had to be what it is.
Something to change about this lesson? Write it down, tick it off when it is handled, and export the list when you want to act on it. Kept in this browser only: nothing is sent anywhere, and nobody is notified.
No recommendations yet for this lesson.