Courses / Mathematics I
Mathematical Language and Reasoning

Quantifiers and Predicates

Mathematics I 264 words Free to read

Predicates and Quantifiers

A predicate is a statement with a variable, like P(x):x2≥0P(x): x^2 \ge 0, which becomes true or false only when xx is specified. Quantifiers bind variables over a domain to make definite claims.

QuantifierSymbolMeaningTrue Condition
Universal∀x P(x)\forall x \, P(x)For all xx, P(x)P(x)Holds for every element
Existential∃x P(x)\exists x \, P(x)There exists xxAt least one element satisfies PP

Order matters for mixed quantifiers. ∀x ∃y P(x,y)\forall x \, \exists y \, P(x, y) means for every xx there is some yy. This is weaker than ∃y ∀x P(x,y)\exists y \, \forall x \, P(x, y), where one single yy works for every xx.

Example: Over integers, "for every xx there is a larger yy" is true, but "there is a yy larger than every xx" is false. Swapping order can change truth value.

Order of quantifiers: a moving target that always exists, a fixed one

Negating Quantifiers

Negation of quantifiers requires pushing the negation inward, flipping the quantifier and negating the predicate:

¬∀x P(x)≡∃x ¬P(x)\neg \forall x \, P(x) \equiv \exists x \, \neg P(x) ¬∃x P(x)≡∀x ¬P(x)\neg \exists x \, P(x) \equiv \forall x \, \neg P(x)

The negation of "all are PP" is "some is not PP." This is why a single counterexample disproves a universal claim.

Common pitfall: ¬∀x P(x)\neg \forall x \, P(x) means at least one is not PP, not that none are PP. Never swap ∀x ∃y\forall x \, \exists y with ∃y ∀x\exists y \, \forall x, as order completely changes logical meaning.

Practise this lesson

Try the questions below, free, answers included. The full set, with its interactive scenes, is in the Tryals app.

11practice questions
2interactive scenes

Mathematical Language and Reasoning