Proofs Involving Quantifiers

Chapter 3: Proofs

Learning objectives

  • Prove universally quantified statements by letting the variable be arbitrary
  • Prove existentially quantified statements by exhibiting a witness
  • Disprove universal statements by providing a counterexample
  • Combine quantifier strategies with other proof techniques
Proof Tree BuilderInteractive figure — enable JavaScript to interact.

How do you prove a statement about every integer when there are infinitely many of them? You take one — any one — and run an argument that uses no special property of that integer beyond its integer-hood. How do you prove that something exists when the universe is enormous? You build it or pick it. These two moves — arbitrary-element for \forall, exhibit-a-witness for \exists — are the entire quantifier toolkit. Almost every theorem you will encounter has at least one quantifier in its statement, and the strategy for each comes straight from the truth condition of the quantifier itself.

Proving a universal: let the variable be arbitrary

To prove xD,P(x)\forall x \in D, P(x):

  1. Begin: "Let xDx \in D be arbitrary."
  2. Use only the fact that xDx \in D (no special values, no extra assumptions).
  3. Derive P(x)P(x).
  4. Conclude: "Since xx was arbitrary, xD,P(x)\forall x \in D, P(x)." \blacksquare

The word "arbitrary" is doing a lot of work. It is a promise to the reader that you will not secretly assume xx is special. Once introduced, xx is a placeholder representing any possible element of DD; whatever you derive about it must follow only from xDx \in D.

Proving an existential: exhibit a witness

To prove xD,P(x)\exists x \in D, P(x):

  1. Produce a specific cDc \in D (the witness).
  2. Verify P(c)P(c) by computation or argument.
  3. Conclude: "Therefore xD,P(x)\exists x \in D, P(x)." \blacksquare

Sometimes the witness is obvious ("take n=1n = 1"). Sometimes finding it is the entire challenge of the proof — the witness might be the root of an equation, the limit of a sequence, or a clever construction. Once you have it, verification is usually mechanical.

There is also a non-constructive existence proof: argue that some object must exist without producing it, typically by contradiction. Non-constructive proofs are perfectly valid but leave the witness implicit.

Disproving a universal: find a counterexample

The negation ¬(x,P(x))x,¬P(x)\neg(\forall x, P(x)) \equiv \exists x, \neg P(x) tells you how to disprove a universal: exhibit a single element where the property fails. To disprove "every continuous function is differentiable," produce f(x)=xf(x) = |x|. One counterexample beats infinitely many supporting examples — this is the asymmetry between proving universals (you must handle every case) and disproving them (one is enough).

Nested quantifiers: peel from outside in

For a goal like x,y,P(x,y)\forall x, \exists y, P(x, y), peel quantifiers in order:

  1. Let xx be arbitrary.
  2. Now, depending on xx, produce a witness yy (possibly different for each xx).
  3. Verify P(x,y)P(x, y).

The order of nested quantifiers is critical. x,y,x+y=0\forall x, \exists y, x + y = 0 is true in R\mathbb{R} (take y=xy = -x). y,x,x+y=0\exists y, \forall x, x + y = 0 is false (no single yy works for every xx). When proving, your witness for y\exists y may legitimately depend on xx if the x\forall x comes first. If the y\exists y is outermost, the witness must be one fixed yy that handles every xx.

When quantifiers combine with conditionals

The very common form x,(P(x)Q(x))\forall x, (P(x) \Rightarrow Q(x)) — "every xx with property PP also has property QQ" — peels into: (1) let xx be arbitrary; (2) assume P(x)P(x); (3) derive Q(x)Q(x). This is the bread-and-butter shape of subset proofs (ABA \subseteq B), divisibility lemmas, and most "if-then for all" theorems in analysis and algebra.

Pause and think: To prove xR,yR,y2=x2+1\forall x \in \mathbb{R}, \exists y \in \mathbb{R}, y^2 = x^2 + 1, what is your witness yy allowed to depend on? Is your witness one specific number, or a formula in xx? Try writing it.

Try it

  • Identify the quantifier shape, then write only the FIRST line of the proof: (a) "Every odd integer is the sum of an even integer and an odd integer." (b) "There exists a real xx with sinx=0.5\sin x = 0.5." (c) "nN,mN,m>n2\forall n \in \mathbb{N}, \exists m \in \mathbb{N}, m > n^2."
  • Predict and verify: is xR,yR,xy=y\exists x \in \mathbb{R}, \forall y \in \mathbb{R}, xy = y true? What witness do you propose, and what universal property does it satisfy?
  • Spot the flaw: "Claim: nZ,n2>n\forall n \in \mathbb{Z}, n^2 > n. Proof: let nn be arbitrary. Take n=2n = 2. Then 4>24 > 2. So the claim holds for arbitrary nn." Where is the error, and is the claim even true?
  • Disprove or prove: xR,x2x\forall x \in \mathbb{R}, x^2 \geq x. If false, give a counterexample; if true, prove it.
  • Skeleton: write the first sentence and the conclusion sentence of a proof that "for every set AA, A\emptyset \subseteq A." (Hint: peel the \forall and then peel the implication inside the subset definition.)

A trap to watch for

The most common quantifier error is the silent specialisation of an arbitrary variable. A student writes "let nn be arbitrary" and three lines later writes "since n5n \geq 5..." with no justification. You can only assume what you have established. If your argument needs a case split (e.g., nn even vs odd), you must say so explicitly and handle both cases. The opposite error is also common: trying to prove an existential by an argument that no such object exists is unreasonable rather than by producing one. "Surely there is a prime between 100 and 110" is not a proof — 101101 and 103103 and 107107 and 109109 are. Always verify the witness.

What you now know

You can prove x,P(x)\forall x, P(x) by introducing an arbitrary xx and arguing without using any special property of it. You can prove x,P(x)\exists x, P(x) by exhibiting and verifying a witness (which may depend on outer \forall-bound variables). You can disprove a universal with a single counterexample and unpack any nested quantifier statement by peeling from the outside in. Quantifier proofs combine naturally with the conditional strategies of the previous section: most real theorems have an outer \forall, an inner implication, and require both moves in sequence.

References

  • Velleman, D. J. (2019). How to Prove It: A Structured Approach (3rd ed.). Cambridge University Press, §3.3.
  • Polya, G. (1957). How to Solve It: A New Aspect of Mathematical Method. Princeton University Press.
  • Hammack, R. (2018). Book of Proof (3rd ed.). Open-source textbook, ch. 8.
  • Bloch, E. D. (2011). Proofs and Fundamentals. Springer, ch. 2 (Quantifiers).
  • The Univalent Foundations Program (2013). Homotopy Type Theory: Univalent Foundations of Mathematics, ch. 1.11 (Propositions as types).

This page is prerendered for SEO and accessibility. The interactive widgets above hydrate on JavaScript load.