Knaph

Identity and the Big Picture23 of 243 min read

All and Some in Maths

Every number has a bigger number. Is there a biggest number? These two claims sound alike, but they differ only in the order of two quantifiers. Maths uses that order all the time. Where?

Order, with numbers

Domain: whole numbers 0, 1, 2, ...
y > x: y is bigger than x, y + y: y added to itself

The domain is the natural numbers. Both y > x and y + y are given: we do not define them. Now two claims.

∀x∃y y > x: for every x there is a y bigger than x. True. Take y = x + 1.

∃y∀x y > x: there is a y bigger than every x. False. The x may be y itself, and y > y is false. There is no biggest number.

Two number lines. On the left every number has an arrow to a bigger one, so every number has a bigger one is true. On the right one number would need arrows from all numbers below it and itself, which is false.

Even, in symbols

"n is even" says n is two equal halves added: ∃y n = y + y. For 6, the witness is 3. For 0 it is 0.

Take any, call it

A maths proof uses our two fresh-name rules without saying so. "Take any number n" is all-in (∀I): we know nothing special about n. "Call it k" is some-out (∃E): k is a number we know only has the property.

We sketch: the sum of two even numbers is even. The steps are in words, with the rule beside each.

StepRule
Take any m and n. Suppose both are even.assume (a box)
m is even: some y has m = y + y. Call it k.∃E, box opens
n is even: call it j, so n = j + j.∃E, box opens
Then m + n = (k + j) + (k + j).arithmetic
So some y has m + n = y + y: y is k + j.∃I
That does not mention k or j. Both ∃E boxes close.∃E
If both are even, the sum is even.→I
m and n were any numbers, so it holds for all.∀I

Eight steps of a maths proof, each with its rule. Take any m and n is an assumption, call it k and call it j are some-out, the sum step is some-in, and the last line closes with if-then-in and all-in.

Careful

∃y∀x y > x is not the same as ∀x∃y y > x. The first needs one y that works for every x.

Try it at home

  1. Swap the quantifiers in "everyone has a mother" and say what the new claim means.
  2. Write "n is a multiple of 3" using ∃y, = and +.
  3. Read a short maths proof and mark each "take any" and "call it".

Words to know

  • take any n - all-in: n is a fresh name
  • call it k - some-out: k is a fresh name for one witness
  • ∃y n = y + y - n is even

Big idea

∀x∃y and ∃y∀x differ: every number has a bigger one, but no number is bigger than all. In maths, take any is ∀I and call it is ∃E.

Test your understanding

Sign in to test your understanding of this lesson and track your progress.