Speak Maths Β· Last school years
Logic: every door has a key
Mathematics is careful about 'and', 'or', 'if', 'all' and 'some'. A few signs make each one exact, so a sentence can be true or false and nothing in between.
Draft: written by an AI helper and not yet checked by a teacher.
The alphabet
Read each sign aloud, the way it is written under it.
- Say: not PMeans: turns true into false and false into true
- Say: P and QMeans: true only when both are true
- Say: P or QMeans: true when at least one is true; both is allowed
- Say: P implies Q; if P then QMeans: whenever P is true, Q is true too; if P is false it says nothing
- Say: P if and only if QMeans: P and Q are both true or both false
- Say: for all x, P of xMeans: P of x is true for every x
- Say: there exists an x with P of x; there exists exactly one x with P of xMeans: at least one x; the exclamation mark makes it exactly one
- Say: therefore QMeans: Q follows from what was said before
The story: Every door has a key
Tap a line to see its words.
- A notice says: every door has a key.
- Doors 1, 2 and 3 each have a key.
- Door 4 has no key.
- So the notice is not true.
- There is a door with no key.
- There is exactly one such door: door 4.
- Doors 1 and 2 are locked; doors 3 and 4 stand open.
- Door 1 is locked or door 4 has a key. The first part is true, so the sentence is true.
- Door 3 has a key but is not locked, so 'locked' and 'has a key' do not always go together.
- A new notice: every locked door has a key. True! Door 4 has no key, but it is not locked.
In words this story is 505 letters long; in symbols, 102.
Read it
What does it say?
Write it
Which notation says this?
Some door has no key.
For every number there is a bigger number.
P is true exactly when Q is true.
If it rains, the street is wet. (R: it rains; W: the street is wet.)
There is exactly one x with x plus 1 equal to 3.
No door is open. (O(d): door d is open.)
P is false and Q is false.
There is one key that opens every door. (O(k, d): key k opens door d.)
Every door is opened by some key, perhaps a different one each time. (O(k, d): key k opens door d.)
P or Q is true, and P is false; therefore Q.
A number is even if and only if it is not odd. (E(n): n is even; O(n): n is odd.)
Not every x has property B.
Build it
Tap the tiles in order. One tile does not belong.
P and Q, therefore P.
For every x there is exactly one y with y equal to two x.
If P then Q; P; therefore Q.
There is no x with P of x.
For every x, if x is even then x squared is even. (E: is even.)
P or Q, and not both.
Challenges
Creative puzzles that use every sign of this chapter. Take your time; there is no clock.
1 The corridor of doors
Three doors, three keys. Judge each sentence in this corridor: true or false?
| β | |||
| β | β | ||
| β |
A tick means O(k, d): key k opens door d.
The order of β and β changes the story: every door has its own key, but no single key opens them all.
2 Who likes whom
L(x, y) means x likes y. Pair each line with what it says.
Tap a line, then its meaning.
Swapping βx βy into βy βx turns βeach has someoneβ into βone for allβ: a much stronger claim.
3 Not every bird flies
This should say: βnot every bird fliesβ is the same as βsome bird does not flyβ. One tile is wrong. Find it, then fix it.
Tap the tile that is wrong.
Pushing Β¬ past β turns it into β, and Β¬(B β F) becomes B β§ Β¬F.
4 The one and only
Exactly one positive whole number fits. Which?
n + n = n Β· n means 2n = nΒ², so n = 0 or n = 2; with n > 0 only 2 is left.
5 Say the opposite
Which sentence says the same as this negation, without the Β¬ in front?
Β¬β becomes β, Β¬β becomes β, and Β¬(x < y) becomes x β₯ y: there is an x that no y exceeds.
6 The detective
R: it rained. W: the street is wet. The detective knows both lines. What follows?
If rain makes the street wet and the street is dry, it cannot have rained.
7 Write the proverb
Every problem has a solution, but no single solution fits every problem. Write it in symbols, with S(s, p) for βs solves pβ. Then compare.
One way:
The two halves differ only in the order of β and β, the whole point of the proverb.
8 Your own theorem
A whole number is even exactly when its square is even. Write it in symbols, using 2 β£ n for β2 divides nβ.
One way:
βExactly whenβ is β: it says both directions at once.
9 Switches and lamps
Three switches, three lamps. Judge each sentence in this room: true or false?
| β | β | ||
| β | |||
| β | β |
A tick means C(s, l): switch s controls lamp l.
One lamp answers to every switch, so βl βs holds; but no switch controls every lamp, so βs βl fails. The order of the quantifiers is the whole story.
10 The night of the broken vase
Three guests, three rooms, one broken vase. The detectiveβs notes say who entered which room. Judge each line: true or false?
| β | |||
| β | β | ||
| β |
A tick means I(g, r): guest g was in room r.
Whoever was in room 2 was also in room 1, so the β holds; but guest 1 was in room 1 and not in room 2, so the β fails.
11 Saying no
Five sentences that begin with βnotβ. Pair each with what it really says.
Tap a line, then its meaning.
A Β¬ outside the brackets is not the same as a Β¬ inside: Β¬(P β§ Q) needs only one of them false, while Β¬P β§ Β¬Q needs both.
12 Which way does the arrow point?
Four arrows between P and Q. Pair each with its meaning.
Tap a line, then its meaning.
Turning the arrow round gives a different sentence; putting a Β¬ on both ends and turning it round gives back the same one.
13 Exactly one
This should say: there is exactly one natural number n with n + 3 = 5. One tile is wrong. Find it, then fix it.
Tap the tile that is wrong.
β would claim every number works and β only that some number does; the exclamation mark says exactly one, and that one is 2.
14 Neither
This should say: βnot (P or Q)β is the same as βnot P and not Qβ. One tile is wrong. Find it, then fix it.
Tap the tile that is wrong.
When Β¬ passes through the brackets it swaps β¨ and β§: to deny βP or Qβ you must deny both.
15 The rule and the case
Every x with P has Q, and a has P. What follows about a?
The rule covers every x, so it covers a: since P(a) holds, Q(a) must hold too.
16 One way only
Every number divisible by 4 is even, but not every even number is divisible by 4. Write it in symbols, using 2 β£ n for β2 divides nβ. Then compare.
One way:
The arrow goes one way only; the second half denies the arrow back or, which is the same, points to a counterexample such as 6.
Chapter finished. The symbols are yours.
Tell your own
Tell a three-line story about a rule that turns out false for one case, in signs only. Use 'for all' or 'there exists' once. Then read it aloud.
Kept on this device only.