Teacher Guide: Truth Tables
Learn to build a truth table for any compound expression step by step and use it to find tautologies, contradictions and equivalent expressions.
Use this lesson with your class
Free, no student accounts needed.
Share with students
Students open the lesson and practise with instant feedback.
Class quiz
10 questions on Boolean Logic. Students join with a name, you see everyone's score.
For Teachers
- Determine the number of rows of a truth table using
- Fill the variable columns of a truth table in a systematic order for 2 and 3 variables
- Build the final column of a compound expression using helper columns
- Identify tautologies, contradictions and contingencies from the final column
- Use truth tables to decide whether two expressions are logically equivalent
- • Understanding of true and false statements (Introduction to Boolean Logic, True and False Statements)
- • The AND, OR and NOT operations and their basic truth tables
- • Powers of 2, such as
- 1. Why do you think a table with 10 variables would be impractical to write by hand? How many rows would it have?
- 2. Two friends say the same rule in different words. How could a truth table settle who is right?
- 3. Can you think of a sentence that is always true no matter what? Why is it a tautology?
- 4. Why is one row that differs enough to show that two expressions are not equivalent?
The number of rows is instead of
Remediation: Build the tables for 1, 2 and 3 variables together and count: 2, 4, 8. Ask students to predict 4 variables and check with a tree diagram that branches into T and F at every level.
NOT in front of a variable negates the whole expression
Remediation: Put and side by side and build both tables. The different final columns show that brackets change the meaning.
If two expressions agree in most rows, they are equivalent
Remediation: Compare with : they match in two rows and differ in two. Stress that equivalence is an all-rows check, like two answer keys that must match on every question.
For Struggling Students:
- • Start with one NOT and one AND or OR, using only 2 variables and 4 rows
- • Give pre-printed tables with the variable columns already filled in
- • Use colored highlighters: green for T, red for F, to make patterns visible
For On-Level Students:
- • Build complete 3-variable tables with two helper columns
- • Classify a list of expressions as tautology, contradiction or contingency
- • Prove both De Morgan's laws with truth tables
For Advanced Students:
- • Find an expression that matches a given final column (reverse truth table)
- • Investigate why a table with 10 variables has rows and discuss why computers are used
- • Prove the distributive law
- CCSS.MATH.PRACTICE.MP6 (MP6)
Attend to precision
- CCSS.MATH.PRACTICE.MP7 (MP7)
Look for and make use of structure
- CCSS.MATH.PRACTICE.MP3 (MP3)
Construct viable arguments and critique the reasoning of others
- visualInteractive Truth Table
Students fill in the result column for AND and OR and check their answers
- activityRow Detectives
Pairs receive a table with a missing and a repeated row and must find and fix them
- worksheetEquivalent or Not?
Pairs of expressions to compare with full truth tables, including both De Morgan's laws
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Definition
- 1.Count the variables and write empty rows.
- 2.Fill the variable columns in a fixed order: the first column is half T, then half F; each next column switches twice as often; the last column alternates T, F, T, F.
- 3.Add a helper column for every part of the expression, innermost part first (a NOT on a single variable, then the brackets).
- 4.Combine the helper columns into the final column.
| T | T | F | F |
| T | F | T | T |
| F | T | F | F |
| F | F | T | F |
- All T: the expression is a tautology (always true).
- All F: it is a contradiction (always false).
- Two expressions with the same final column in every row are logically equivalent.
Glossary
- Truth table
- A table that shows the value of an expression for every combination of its variables
- Compound expression
- An expression built from variables and operators, such as
- Helper column
- An extra column for one part of an expression, used to build the final column step by step
- Tautology
- An expression that is true in every row, such as
- Contradiction
- An expression that is false in every row, such as
- Logically equivalent
- Two expressions with the same value in every row, written with
Formula Card
Number of rows
$n$ is the number of variables: $2^2 = 4$, $2^3 = 8$, $2^4 = 16$
Tautology
Always true: the final column is all T
Contradiction
Always false: the final column is all F
De Morgan's laws
Two equivalences you can prove with a truth table