Universal and Existential Quantifiers

A game on the number line teaches the quantifiers. Swap the order and watch the same game collapse.

One side moves first and the other side answers. 'For all' demands an answer to every challenge. 'There exists' needs just one good answer. Swapping the order changes the claim itself. This pattern becomes the epsilon-delta definition later.

For example, for every πŸ§‘ classmate, someone taller exists. But one person taller than everybody does not exist. A single swap changes the whole meaning.

βˆ€xβ€‰βˆƒy (y>x)\forall x \,\exists y \,(y > x)
Β¬(βˆ€xβ€‰βˆƒy)=βˆƒxβ€‰βˆ€y\lnot(\forall x \,\exists y) = \exists x \,\forall y
βˆ€Ξ΅>0β€‰βˆƒΞ΄>0β€‰βˆ€t (∣t∣<Ξ΄β†’βˆ£2t∣<Ξ΅)\forall \varepsilon > 0 \,\exists \delta > 0 \,\forall t \,(|t| < \delta \to |2t| < \varepsilon)

Examples & Exercises

Concept check

Negate completely the Ξ΅\varepsilon-Ξ΄\delta definition of continuity of ff at aa β€” "for all Ξ΅>0\varepsilon > 0 there is Ξ΄>0\delta > 0 such that for all xx, ∣xβˆ’a∣<Ξ΄|x-a| < \delta implies ∣f(x)βˆ’f(a)∣<Ξ΅|f(x)-f(a)| < \varepsilon".

State precisely what the negation says about ff.

Β¬(βˆ€Ξ΅>0Β βˆƒΞ΄>0Β βˆ€x (∣xβˆ’a∣<Ξ΄β†’βˆ£f(x)βˆ’f(a)∣<Ξ΅))\lnot\big(\forall\varepsilon{>}0\ \exists\delta{>}0\ \forall x\,(|x-a|<\delta \to |f(x)-f(a)|<\varepsilon)\big)
βˆƒΞ΅>0Β βˆ€Ξ΄>0Β βˆƒx (∣xβˆ’a∣<Ξ΄β€…β€Šβˆ§β€…β€Šβˆ£f(x)βˆ’f(a)∣β‰₯Ξ΅)\exists\varepsilon{>}0\ \forall\delta{>}0\ \exists x\,(|x-a|<\delta \;\land\; |f(x)-f(a)|\ge\varepsilon)
The Ξ΅\varepsilon-Ξ΄\delta statement (Ξ΅=2.5\varepsilon = 2.5, Ξ΄=Ξ΅/2=1.25\delta = \varepsilon/2 = 1.25), negation chain shown: final step βˆƒΞ΅>0Β βˆ€Ξ΄>0Β βˆƒt (∣t∣<δ∧∣2t∣β‰₯Ξ΅)\exists\varepsilon{>}0\ \forall\delta{>}0\ \exists t\,(|t| < \delta \land |2t| \ge \varepsilon).
  1. βˆƒΞ΅>0Β βˆƒΞ΄>0Β βˆƒx (∣xβˆ’a∣<δ∧∣f(x)βˆ’f(a)∣β‰₯Ξ΅)\exists\varepsilon{>}0\ \exists\delta{>}0\ \exists x\,(|x-a|<\delta \land |f(x)-f(a)|\ge\varepsilon)
  2. βˆƒΞ΅>0Β βˆ€Ξ΄>0Β βˆƒx (∣xβˆ’a∣<δ∧∣f(x)βˆ’f(a)∣β‰₯Ξ΅)\exists\varepsilon{>}0\ \forall\delta{>}0\ \exists x\,(|x-a|<\delta \land |f(x)-f(a)|\ge\varepsilon)
  3. βˆƒΞ΅>0Β βˆ€Ξ΄>0Β βˆƒx (∣xβˆ’a∣<Ξ΄β†’βˆ£f(x)βˆ’f(a)∣β‰₯Ξ΅)\exists\varepsilon{>}0\ \forall\delta{>}0\ \exists x\,(|x-a|<\delta \to |f(x)-f(a)|\ge\varepsilon)
  4. βˆ€Ξ΅>0Β βˆ€Ξ΄>0Β βˆƒx (∣xβˆ’a∣β‰₯δ∧∣f(x)βˆ’f(a)∣<Ξ΅)\forall\varepsilon{>}0\ \forall\delta{>}0\ \exists x\,(|x-a|\ge\delta \land |f(x)-f(a)|<\varepsilon)
Show explanation

Answer: βˆƒΞ΅>0Β βˆ€Ξ΄>0Β βˆƒx (∣xβˆ’a∣<δ∧∣f(x)βˆ’f(a)∣β‰₯Ξ΅)\exists\varepsilon{>}0\ \forall\delta{>}0\ \exists x\,(|x-a|<\delta \land |f(x)-f(a)|\ge\varepsilon)

The negation flips every quantifier (βˆ€\forall becomes βˆƒ\exists, βˆƒ\exists becomes βˆ€\forall) and rewrites the final implication via Β¬(Pβ†’Q)≑P∧¬Q\lnot(P \to Q) \equiv P \land \lnot Q. The first option fails to flip the Ξ΄\delta quantifier, the third keeps the implication instead of turning it into a conjunction, and the fourth never flips the outer βˆ€Ξ΅\forall\varepsilon and merely reverses the inequalities.

Prove βˆ€x∈RΒ βˆƒy∈RΒ (y>x)\forall x \in \mathbb{R}\ \exists y \in \mathbb{R}\ (y > x) (witness y=x+1y = x+1) and disprove βˆƒy∈RΒ βˆ€x∈RΒ (y>x)\exists y \in \mathbb{R}\ \forall x \in \mathbb{R}\ (y > x).

Conclusion: quantifier order matters.

βˆ€xΒ βˆƒyΒ (y>x)Β isΒ true,βˆƒyΒ βˆ€xΒ (y>x)Β isΒ false\forall x\ \exists y\ (y > x)\ \text{is true},\qquad \exists y\ \forall x\ (y > x)\ \text{is false}
The statement βˆ€xβ€‰βˆƒy (y>x)\forall x\,\exists y\,(y > x) (true), challenge x=2x = 2: witness y=3y = 3, and 3>23 > 2 holds.
Show proof
  1. Prove the first statement. Let an arbitrary x∈Rx \in \mathbb{R} be given. Set y=x+1y = x + 1; then y∈Ry \in \mathbb{R} and yβˆ’x=1>0y - x = 1 > 0, i.e. y>xy > x.

    Since xx was arbitrary, such a yy exists for every xx β€” βˆ€xΒ βˆƒyΒ (y>x)\forall x\ \exists y\ (y > x) is true. At the scene's challenge x=2x = 2 the witness is y=3y = 3 and 3>23 > 2 holds.

  2. Disprove the second statement. Whatever candidate y0∈Ry_0 \in \mathbb{R} is proposed, set x=y0+1x = y_0 + 1; then x∈Rx \in \mathbb{R} and y0>xy_0 > x is equivalent to y0>y0+1y_0 > y_0 + 1, i.e. 0>10 > 1, which is false.

    Hence no y0y_0 satisfies "y0>xy_0 > x for all xx" β€” βˆƒyΒ βˆ€xΒ (y>x)\exists y\ \forall x\ (y > x) is false. In the scene the candidate y=2y = 2 falls to xβ€²=3x' = 3.

  3. Conclusion: quantifier order completely changes the meaning. In βˆ€xΒ βˆƒy\forall x\ \exists y the choice of yy may depend on xx (y=x+1y = x+1), but in βˆƒyΒ βˆ€x\exists y\ \forall x a single yy must work for every xx.

    This ordering is exactly why Ξ΄\delta in the Ξ΅\varepsilon-Ξ΄\delta definition is allowed to depend on Ξ΅\varepsilon.

Negate "ff is bounded on (0,1](0,1]" β€” i.e. βˆƒMΒ βˆ€x∈(0,1] ∣f(x)βˆ£β‰€M\exists M\ \forall x \in (0,1]\ |f(x)| \le M β€” to obtain βˆ€MΒ βˆƒx∈(0,1] ∣f(x)∣>M\forall M\ \exists x \in (0,1]\ |f(x)| > M, then use that form to prove f(x)=1/xf(x) = 1/x is unbounded on (0,1](0,1].

Β¬(βˆƒMΒ βˆ€x∈(0,1]Β (∣f(x)βˆ£β‰€M))Β β‰‘Β βˆ€MΒ βˆƒx∈(0,1]Β (∣f(x)∣>M)\lnot\big(\exists M\ \forall x \in (0,1]\ (|f(x)| \le M)\big)\ \equiv\ \forall M\ \exists x \in (0,1]\ (|f(x)| > M)
x=1∣M∣+2∈(0,1],f(x)=∣M∣+2>Mx = \frac{1}{|M|+2} \in (0,1],\qquad f(x) = |M|+2 > M
The statement βˆƒyβ€‰βˆ€x (y>x)\exists y\,\forall x\,(y > x) (false), negation chain shown: final step βˆ€yβ€‰βˆƒx (y≀x)\forall y\,\exists x\,(y \le x) β€” the same quantifier pattern as the negation of boundedness.
Show proof
  1. Negate the definition of boundedness: Β¬(βˆƒMΒ βˆ€x∈(0,1]Β (∣f(x)βˆ£β‰€M))\lnot\big(\exists M\ \forall x \in (0,1]\ (|f(x)| \le M)\big). Pushing the negation inward gives βˆ€MΒ Β¬(βˆ€x∈(0,1]Β (∣f(x)βˆ£β‰€M))\forall M\ \lnot\big(\forall x \in (0,1]\ (|f(x)| \le M)\big), then βˆ€MΒ βˆƒx∈(0,1]Β Β¬(∣f(x)βˆ£β‰€M)\forall M\ \exists x \in (0,1]\ \lnot(|f(x)| \le M), i.e. βˆ€MΒ βˆƒx∈(0,1]Β (∣f(x)∣>M)\forall M\ \exists x \in (0,1]\ (|f(x)| > M).

    In words: "whatever bound MM is proposed, there is a point xx exceeding it" β€” that is the definition of unboundedness.

  2. Now apply it to f(x)=1/xf(x) = 1/x (x∈(0,1]x \in (0,1]). Let an arbitrary M∈RM \in \mathbb{R} be given. Set x=1∣M∣+2x = \frac{1}{|M|+2}; the denominator is positive so x>0x > 0, and ∣M∣+2β‰₯2|M|+2 \ge 2 gives x≀12<1x \le \frac12 < 1 β€” hence x∈(0,1]x \in (0,1].

    Then ∣f(x)∣=f(x)=∣M∣+2|f(x)| = f(x) = |M|+2, and since ∣M∣β‰₯M|M| \ge M we have ∣M∣+2>M|M|+2 > M. So ∣f(x)∣>M|f(x)| > M holds at this xx.

  3. Since MM was arbitrary, for every MM there is an x∈(0,1]x \in (0,1] with ∣f(x)∣>M|f(x)| > M β€” i.e. βˆ€MΒ βˆƒx∈(0,1]Β (∣f(x)∣>M)\forall M\ \exists x \in (0,1]\ (|f(x)| > M) holds, so ff is unbounded on (0,1](0,1]. The key is the quantifier order: because MM is given first (βˆ€M\forall M), the witness xx may be chosen afterwards (βˆƒx\exists x), which is why the MM-dependent choice x=1/(∣M∣+2)x = 1/(|M|+2) is legitimate.

1. Foundations of Proof