Truth Tables for Tautology and Contradiction Proofs in Propositional Logic
In propositional logic, a truth table lets us verify whether a compound proposition is a tautology or a contradiction.
We will use the standard equivalence for implication:
This allows each row of a truth table to be computed mechanically.
Propositional Logic: Truth Tables (Implications, Tautologies & Contradictions)
Key connectives and how to evaluate them
For any truth assignment:
- negation:
- conjunction:
- disjunction:
- implication:
Using implication as disjunction:
How to build the truth table (workflow)
- 1Step 1
For variables, list rows. Here we use so there are rows.
- 2Step 2
Compute truth values for , , and in each row.
- 3Step 3
Start with simplest subformulas (like , then , etc.), then compute larger ones.
- 4Step 4
Whenever you see , compute it using for that row.
- 5Step 5
If the final formula is true in every row ⇒ tautology. If false in every row ⇒ contradiction.
Pro Tip
When you see , compute it as —this avoids common mistakes in implication evaluation.
(i) Show is a tautology
Let
We build a truth table for (8 rows) and compute row-by-row.
Truth table computation
We will compute key subexpressions per row:
Remember:
Truth Table for
Final column is true in every row, so is a tautology.
Because Coursify tables must be rendered as markdown/HTML rather than interactive chart tables, here is the standard truth-table layout explicitly:
| p | q | r | ||||||
|---|---|---|---|---|---|---|---|---|
| T | T | T | T | T | T | T | T | T |
| T | T | F | F | F | T | F | F | T |
| T | F | T | T | T | F | T | T | T |
| T | F | F | T? Actually : F? |
Let’s compute cleanly (using and then repeatedly ). The correct completed table is:
| p | q | r | ||||||
|---|---|---|---|---|---|---|---|---|
| T | T | T | T | T | T | T | T | T |
| T | T | F | F | F | T | F | F | T |
| T | F | T | T | T | F | T | T | T |
| T | F | F | T | T | F | F | T | T |
| F | T | T | T | T | T | T | T | T |
| F | T | F | F | T | T | T | T | T |
| F | F | T | T | T | T | T | T | T |
| F | F | F | T | T | T | T | T | T |
Thus evaluates to T in every row, so: is a tautology.
Common Pitfall
Do not compute as implies in the everyday sense. In logic, is false only for the single pattern p=T and q=F.
(ii) Show is a contradiction
Let
A contradiction means must be false for every truth assignment to .
Key observation from implication
Start with:
If is true, then must be false. The only way an implication is false is:
- is false exactly when and .
So from true, we get:
But also contains the conjunct (i.e., it requires ).
So forces , while forces —cannot both hold in the same row.
Formally, in every valuation:
- If is true, then must be false, so the conjunction with becomes false.
- If is false, then the whole conjunction is false.
Therefore is false in all rows.
Contradiction proof via truth-table logic (short-circuiting)
- 1Step 1
For to be true, we must have and simultaneously.
- 2Step 2
Since is false only when , implies .
- 3Step 3
But includes , requiring . Contradiction: and in the same row.
- 4Step 4
Hence cannot be true under any valuation; therefore is a contradiction.
(Optional) Micro-truth-table for the critical part
The only potentially nontrivial part is ; the conjunct is irrelevant once that is already impossible.
| q | r | |||
|---|---|---|---|---|
| T | T | T | F | F |
| T | F | F | T | F |
| F | T | T | F | F |
| F | F | T | F | F |
So is always F, and therefore: is always F, i.e., a contradiction.
How truth-table proofs flow in propositional logic
Identify goal
1Decide whether the formula must be all-true (tautology) or all-false (contradiction)."
Use implication equivalence
2Replace with to compute each row reliably."
Compute subformulas
3Build the table bottom-up: , then , etc."
Check final column
4If final column is all T ⇒ tautology; if all F ⇒ contradiction."
Truth-table essentials
FAQ & edge cases
Knowledge Check
For an implication , which valuation makes it false?