Maths WorkshopMaths problems with full solutions
Exercise 1162Logic, sets and proofs › Quantifiers and negationL1Added 3 Nov 2026

Order of quantifiers matters

#quantifier order#forall exists#difference

Statement

Compare the truth values of:
- P1P_1: ∀x∈R, ∃y∈R, y>x\forall x\in\mathbb{R},\ \exists y\in\mathbb{R},\ y>x;
- P2P_2: ∃y∈R, ∀x∈R, y>x\exists y\in\mathbb{R},\ \forall x\in\mathbb{R},\ y>x.

Hint

In P1P_1, yy may depend on xx; in P2P_2, one yy must work for all xx.

Show solutionHide solution

Solution

P1P_1 is true. For each xx, choose y=x+1y=x+1.

P2P_2 is false. No real number is larger than every real.

Conclusion. The order matters: ∀∃\forall\exists does not imply ∃∀\exists\forall.