Enough Connectives
A friend says: "I want exactly one of the two: tea or coffee, not both." We have no symbol for that. Must we invent one? Or can the symbols we have already say it - and say any other table too?
From a table to a formula
Here is the table we want, for "exactly one of P and Q".
| P | Q | exactly one of P and Q |
|---|---|---|
| T | T | F |
| T | F | T |
| F | T | T |
| F | F | F |
Look at each row with T in the last column. For the row P true, Q false, write a row-formula: P ∧ ¬Q. It is true in that row and in no other. For the row P false, Q true, write ¬P ∧ Q. Now join the row-formulas with ∨: (P ∧ ¬Q) ∨ (¬P ∧ Q).
Check all four rows. Row TT: P ∧ ¬Q is false and ¬P ∧ Q is false, so F. Row TF: the first is true, so T. Row FT: the second is true, so T. Row FF: both are false, so F. The formula gives exactly the table.
Any table at all
This works for any table. For each row with T, write the letters that are true as they are, and the letters that are false with ¬. Join them with ∧. A row with P true, Q false, R true gives (P ∧ ¬Q) ∧ R. It is true in that row only. Then join all the row-formulas with ∨. The result is true exactly in the rows with T.
What if no row has T? Then the table is false everywhere. The formula P ∧ ¬P does that: it is false when P is true, and false when P is false.
So ¬, ∧ and ∨ are enough: every truth table can be written with them.
The others were shortcuts
Then → and ↔ were shortcuts all along. P → Q has the same table as ¬P ∨ Q: both are false only in the row P true, Q false. And P ↔ Q is the same as (P → Q) ∧ (Q → P).
We can do even better. By De Morgan's rule from Level 4, P ∨ Q has the same table as ¬(¬P ∧ ¬Q). So ¬ and ∧ alone are enough. Careful: the row-formulas give a correct formula, not always the shortest one.
Careful
"Enough" is about what can be said, not about how short it is. Shortcuts are still useful to read.
Try it at home
- Write the table for "P or Q, but not both" in your notebook. Is it the same as "exactly one"?
- Make a table for "P and Q have the same value". Write its row-formulas and join them.
- Check in a table that
P → Qand¬P ∨ Qagree in all four rows.
Words to know
- row-formula - a formula made to be true in one chosen row and false in all others
- enough - a set of connectives is enough when every truth table can be written with it
Big idea
Every truth table can be written with ¬, ∧ and ∨ alone, so the other connectives are only shortcuts.