Knaph

Every Way It Could Be6 of 242 min read

Or and And in Symbols

A café menu says "soup or salad". A fire alarm rings for "smoke or heat". Both use the word or. Do they mean the same thing?

Two signs, side by side

In Level 2 we met two kinds of or. Now we give or a sign: ∨. It always allows both. Here are ∧ and ∨ together.

PQP ∧ QP ∨ Q
TTTT
TFFT
FTFT
FFFF

P ∨ Q is false in one row only: the last, where both parts are false.

Two truth tables side by side. The and table has a green T only in its first row, which is circled. The or table has a red F only in its last row, which is circled.

Two kinds of or

A fire alarm rings for smoke or heat. If there is smoke and heat, it still rings. That is ∨: at least one, both allowed.

"Soup or salad" on a menu means one of them, not both. That is the only-one or. It is not ∨.

A menu card reading soup or salad, marked only one, beside an alarm panel reading smoke or heat, marked both allowed.

The only-one or in symbols

We can build it from signs we know: (P ∨ Q) ∧ ¬(P ∧ Q). In words: at least one, and not both.

PQP ∨ Q¬(P ∧ Q)(P ∨ Q) ∧ ¬(P ∧ Q)
TTTFF
TFTTT
FTTTT
FFFTF

The answer is T when exactly one of P and Q is true. The first row is the one ∨ would accept and this claim refuses.

A truth table with five columns ending in the only-one claim. Its last column reads F, T, T, F and is tinted. The first and last rows are false.

Careful

Do not read ∨ as only one of them. In a table, both true is T for ∨. To rule out both, you must add ¬(P ∧ Q).

Try it at home

  1. Find two rules at home that use the word or, such as a label on a medicine, a road sign or a menu.
  2. For each one, ask: if both are true, is that allowed?
  3. Write "allowed" or "not allowed". Allowed is ∨. Not allowed is the only-one or.

Words to know

  • ∨ - the sign for or: true when at least one part is true, both allowed
  • only-one or - or with both ruled out: (P ∨ Q) ∧ ¬(P ∧ Q)

Big idea

The sign ∨ is false only when both parts are false. The only-one or needs an extra step to rule out both.

Test your understanding

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