Truth Tables
A truth table lists the value of a compound proposition for every possible combination of values of its variables. It is the most reliable way to evaluate or compare logical expressions.
How many rows?
Section titled “How many rows?”With variables, each can be T or F, so there are rows. Two variables need 4 rows, three need 8.
Building a table step by step
Section titled “Building a table step by step”| T | T | T | F | F |
| T | F | F | F | F |
| F | T | T | T | T |
| F | F | T | T | T |
Reading the last column: the expression is true exactly when is false.
Common mistakes
Section titled “Common mistakes”- Missing rows. Always check you have rows.
- Evaluating the outer connective before the inner ones. Work from the innermost brackets outwards.
Key takeaways
Section titled “Key takeaways”- A truth table covers every combination of truth values: rows for variables.
- Add one column per sub-expression and evaluate from the inside out.
- The final column gives the value of the whole proposition in each case.
Test yourself
Section titled “Test yourself”4 questions. Pick an answer to check it, or open "Show answer".
How many rows does a truth table for a proposition with 3 variables have?
Show answer
Answer: C. 8
Explanation: Each variable has 2 possible values, so 3 variables give combinations. 6 comes from wrongly multiplying .
In the truth table for , in how many rows is the result true?
Show answer
Answer: A. 1
Explanation: Conjunction is true only when both and are true, which happens in exactly one of the 4 rows.
What is the value of when is T and is F?
Show answer
Answer: B. False
Explanation: is F and is F, and F F is F. Notice this matches in the same row, which is not a coincidence.
When building a truth table for , which column should you fill first after and ?
Show answer
Answer: C.
Explanation: Work from the inside out. The negation applies to the whole conjunction, so you need before you can negate it. and don’t appear in the expression at all.
© 2026 Navninder Singh Benipal. Free to read and study. Licensed under CC BY-NC-ND 4.0: share the link, but please don't republish or sell these notes.