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

Subtitles:

Tap a line to see its words.

  1. A notice says: every door has a key.
  2. Doors 1, 2 and 3 each have a key.
  3. Door 4 has no key.
  4. So the notice is not true.
  5. There is a door with no key.
  6. There is exactly one such door: door 4.
  7. Doors 1 and 2 are locked; doors 3 and 4 stand open.
  8. Door 1 is locked or door 4 has a key. The first part is true, so the sentence is true.
  9. Door 3 has a key but is not locked, so 'locked' and 'has a key' do not always go together.
  10. 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.

2 Who likes whom

L(x, y) means x likes y. Pair each line with what it says.

Tap a line, then its meaning.

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.

4 The one and only

Exactly one positive whole number fits. Which?

5 Say the opposite

Which sentence says the same as this negation, without the Β¬ in front?

6 The detective

R: it rained. W: the street is wet. The detective knows both lines. What follows?

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.

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”.

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.

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.

11 Saying no

Five sentences that begin with β€œnot”. Pair each with what it really says.

Tap a line, then its meaning.

12 Which way does the arrow point?

Four arrows between P and Q. Pair each with its meaning.

Tap a line, then its meaning.

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.

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.

15 The rule and the case

Every x with P has Q, and a has P. What follows about a?

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.

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.