What the topic is about
Truth tables: 1 is true and 0 is false; ∧ means "and", ∨ means "or", ¬ means "not", → means "if…, then". Find the value of an expression, or count the sets of values that make it true.
Where it leads
Truth tables are the base of computer science: processors, conditions in programs and search filters run on them. In higher grades and at university logic becomes a subject of its own. Going through every combination of values carefully is an important skill in maths and programming alike.
How to solve
- Work from the inside of the brackets out, writing down each value.
- Two letters have 4 sets of values, three have 8: list them in order, as when counting in binary.
- A → B is false only when A = 1 and B = 0.
A worked example
1 is true, 0 is false, ∧ means "and", ∨ means "or", ¬ means "not". For how many sets of values of A, B is the expression true (equal to 1)?
(A ∨ B) ∧ (B ∧ A) = ?
Answer: 1
- Sets of values in all: 4. Check each one.
- The expression is true for: A = 1, B = 1.
- Such sets: 1.
Typical mistakes
- Missing a set while going through them.
- Applying ¬ to the wrong part of the expression.
How to tell it is learnt
- Builds a table for two or three variables without missing rows.
- Works out a complex expression step by step.
- Knows that "if A, then B" is false only when A = 1 and B = 0.
How to help at home
Compare with switches: "and" is two switches in a row, "or" two side by side. When is the lamp on?
A game without a phone
Make a "logic circuit" from switches or cards: the lamp is on if switch A and switch B are on. Write the table for all four cases, then for "or". Talk about the rule "If you have done your homework, you can play": in which case is the rule broken? Only in one.



