Truth Table
A truth table is a table that shows every possible combination of truth values (true or false) for the variables in a logical expression, along with the resulting truth value of the expression itself.
A truth table is a systematic method of listing all possible assignments of truth values to the propositional variables in a logical expression, together with the corresponding truth value of the expression under each assignment. For an expression with variables, the table contains rows, representing every possible combination of true (T) and false (F). Truth tables are used to determine logical equivalence, validity of arguments, and the behavior of logical connectives.
Key Formula
Where:
- = the number of propositional variables in the expression
Worked Example
Problem: Construct a truth table for the expression , where means "and" and means "not."
Step 1: Identify the variables. There are 2 variables ( and ), so the table needs rows.
Step 2: List all combinations of T and F for and . A standard approach is to alternate values: for the first variable cycle every 2 rows (TT then FF), and for the second variable alternate every row (TFTF).
Step 3: Evaluate the inner component for each row. This simply flips the value of .
Step 4: Evaluate for each row. The conjunction () is true only when both sides are true.
Step 5: Complete the table: Row 1: . Row 2: . Row 3: . Row 4: .
Answer: The expression is true only when is true and is false. In all other cases it is false.
Why It Matters
Truth tables are a foundational tool in logic, computer science, and digital circuit design. Every time a computer processes an if-then condition or a circuit switches on or off, the underlying logic can be represented by a truth table. In geometry courses, truth tables help you verify whether two statements are logically equivalent — for instance, confirming that a conditional and its contrapositive always share the same truth values.
Common Mistakes
Mistake: Forgetting to list all possible combinations of truth values.
Correction: With variables you need exactly rows. For 2 variables that's 4 rows, for 3 variables it's 8. A systematic pattern (like binary counting) ensures you don't miss any.
Mistake: Confusing the conditional () with the biconditional ().
Correction: The conditional is false only when is true and is false. The biconditional is false whenever and have different truth values. Build a truth table for each to see the difference clearly.
