Nested quantifiers & quantifier order
When quantifiers of different kinds are nested, the order encodes a dependence. ∀x ∃y R(x, y) lets y depend on x — "everyone has a mother". ∃y ∀x R(x, y) demands one y that works for all x — "someone is everyone’s mother". The second always implies the first, never the reverse, and that asymmetry is the single most examined idea in predicate logic.
✓ Unlimited questions · marked criterion by criterion · no card needed
Method: how to approach it
The order below is what examiners expect to see, and each step carries its own marks.
- Read left to right as a dialogueEach ∀ is a challenge from an opponent, each ∃ your reply. Later choices may depend on earlier ones, never on later ones.
- Identify what may depend on whatWrite y = f(x) if y comes after x. If a proposed witness needs information from a variable quantified later, the statement is false.
- Compare adjacent same-kind quantifiers∀x ∀y and ∀y ∀x are interchangeable, as are ∃x ∃y and ∃y ∃x. Only mixed pairs are order-sensitive.
- Test both orders on a concrete structureOver ℤ or a two-element domain, evaluate both readings to confirm which one the English actually means.
Worked example
Over the positive reals with R(x, y) meaning x < y, evaluate ∀x ∃y R(x, y) and ∃y ∀x R(x, y).
- First: given x > 0, take y = x + 1 > x. The witness depends on x, which is permitted.
- So ∀x ∃y (x < y) is true — there is no largest positive real.
- Second: a single y must exceed every positive x. But x = y + 1 is a positive real not less than y.
- So no such y exists.
Answer. ∀x ∃y (x < y) is true; ∃y ∀x (x < y) is false. Swapping the quantifiers turns a true statement into a false one.
Where marks get dropped
These are the specific errors that cost credit on nested quantifiers & quantifier order questions — QED's rubric penalises each of them separately.
- Assuming ∀x ∃y and ∃y ∀x are interchangeable. The ∃∀ form is strictly stronger, and this is where most marks are lost.
- Choosing a witness that secretly depends on a later-quantified variable — the definition of an invalid proof at this level.
- Misreading English scope. "Every lock is opened by some key" is ∀ lock ∃ key; "some key opens every lock" is ∃ key ∀ lock.
Practise this until it is automatic
Unlimited fresh questions
QED generates new nested quantifiers & quantifier order problems on demand at warm-up, exam and challenge level, so you can drill this one skill until it stops costing you marks.
Marked like an examiner
Every answer is scored against a point-by-point rubric with partial credit, so you see exactly which step of the method broke down — not just a tick or a cross.
Answer in real notation
A one-tap symbol palette, a visual equation editor and a truth-table builder — or photograph your handwritten working and QED converts it to LaTeX.
Saved to your library
Every question you generate is kept and re-takeable as a timed exam, and your Predicate Logic mastery is tracked so you know when this is exam-ready.
Nested quantifiers & quantifier order — frequently asked questions
Does ∃y ∀x R(x, y) imply ∀x ∃y R(x, y)?
Yes, always. A single universal witness serves as an individual witness for each x. The converse fails, as the example above shows.
Can I swap two quantifiers of the same type?
Yes. ∀x ∀y P is equivalent to ∀y ∀x P, and likewise for two ∃. Only alternating pairs carry dependence information.
How does this relate to ε–δ definitions?
Directly. Continuity is ∀ε ∃δ ∀x (…), and uniform continuity moves δ outside the ∀x. The entire difference between the two concepts is quantifier order.
The rest of Predicate Logic
Quantifiers, predicates, binding, and validity. Each subtopic below has its own method, worked example and mark-losing traps.
- 1Universal & existential quantifiers
- 2Translating English with predicates
- 3Free vs bound variables & scope
- 4Negating quantified statements
- 5Validity & counter-models
- 6Nested quantifiers & quantifier order
- 7Prenex normal form
- 8Interpretations, structures & satisfaction
- 9Equality & uniqueness (∃!)
- 10Natural deduction with quantifier rules
- 11Proving ∀-statements with an arbitrary element
- 12Disproving with a single counterexample
- 13Skolemisation & clausal form
Ready to make nested quantifiers & quantifier order exam-proof?
Generate your first questions free — no card, no setup, no personal data stored. Practise until the method is second nature.
Start practising free →