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.
| P | Q | P ∧ Q | P ∨ Q |
|---|---|---|---|
| T | T | T | T |
| T | F | F | T |
| F | T | F | T |
| F | F | F | F |
P ∨ Q is false in one row only: the last, where both parts are false.
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 ∨.
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.
| P | Q | P ∨ Q | ¬(P ∧ Q) | (P ∨ Q) ∧ ¬(P ∧ Q) |
|---|---|---|---|---|
| T | T | T | F | F |
| T | F | T | T | T |
| F | T | T | T | T |
| F | F | F | T | F |
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.
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
- Find two rules at home that use the word or, such as a label on a medicine, a road sign or a menu.
- For each one, ask: if both are true, is that allowed?
- 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.