Courses / Mathematics I
Mathematical Language and Reasoning

Quantifiers and Predicates

A predicate is a statement with a variable, like P(x): x^2 0, which becomes true or false only when x is specified.

Mathematics I 264 words Free to read

Predicates and Quantifiers

A predicate is a statement with a variable, like P(x):x20P(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
UniversalxP(x)\forall x \, P(x)For all xx, P(x)P(x)Holds for every element
ExistentialxP(x)\exists x \, P(x)There exists xxAt least one element satisfies PP

Order matters for mixed quantifiers. xyP(x,y)\forall x \, \exists y \, P(x, y) means for every xx there is some yy. This is weaker than yxP(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:

¬xP(x)x¬P(x)\neg \forall x \, P(x) \equiv \exists x \, \neg P(x) ¬xP(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: ¬xP(x)\neg \forall x \, P(x) means at least one is not PP, not that none are PP. Never swap xy\forall x \, \exists y with yx\exists y \, \forall x, as order completely changes logical meaning.

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

11practice questions
2interactive scenes

Mathematical Language and Reasoning