Tautology in math, with truth tables
In logic, a tautology is a compound statement that is true for every possible truth value of its parts. Its form settles the result in advance, whatever the individual statements say. Its opposite, a contradiction, is false in every case, and a statement that is sometimes true and sometimes false is called a contingency.
For students and parents planning test prep or coursework: one hour with George Li, one to one by video, is $180, $200 or $160, by subject. You leave with a written plan within one working day.
Book your first session| Symbol | Read as | True when |
|---|---|---|
| ¬p | not p | p is false |
| p ∧ q | p and q | both p and q are true |
| p ∨ q | p or q | at least one is true |
| p → q | if p then q | p is false, or q is true |
The connective → is true unless its first part is true and its second part is false.
Standard propositional logic, restated by us
How do you translate a sentence into symbols?
Give each simple statement a letter and link the letters with connectives. "It will rain today or it will not rain today" has two parts, with p standing for "it will rain today", so it becomes p ∨ ¬p. "If the number is even and a multiple of 3, then it is even" becomes (p ∧ q) → p, where p is "the number is even" and q is "the number is a multiple of 3".
How does a truth table prove a tautology?
A truth table lists every combination of true (T) and false (F) for the letters, then computes the statement for each row. A statement with n letters has 2 to the power n rows, so two letters give 4 rows and three letters give 8. If the final column is T in every row, the statement is a tautology.
Example 1: p ∨ ¬p. There is one letter, so two rows.
| p | ¬p | p ∨ ¬p |
|---|---|---|
| T | F | T |
| F | T | T |
Every row ends in T, so p ∨ ¬p is a tautology. In words, a statement is either true or false, and one of the two always holds.
Example 2: (p ∧ q) → p. There are two letters, so four rows.
| p | q | p ∧ q | (p ∧ q) → p |
|---|---|---|---|
| T | T | T | T |
| T | F | F | T |
| F | T | F | T |
| F | F | F | T |
The last column is all T. The only way an if-then statement can fail is a true first part and a false second part, and here a true p ∧ q forces p to be true. So the statement holds in every case.
What does a non-tautology look like?
Example 3: p → q. Build the table. When p is T and q is T, the result is T. When p is T and q is F, the result is F. When p is F, the result is T in both rows. One row gives F, so p → q is a contingency, not a tautology.
Example 4: p ∧ ¬p. In row p = T, T ∧ F is F, and in row p = F, F ∧ T is F. Every row is F, so this is a contradiction. Its negation, ¬(p ∧ ¬p), is therefore a tautology, which says a statement cannot be both true and false at once.
How are tautologies used?
A tautology that links two statements with "if and only if" shows they are logically equivalent, so one can replace the other. Take (p → q) ↔ (¬p ∨ q). The left side has the column T, F, T, T over the four rows. The right side, ¬p ∨ q, computes to T, F, T, T over the same rows. The two columns match in every row, so the biconditional is true each time and the statement is a tautology. That is why "if p then q" can be rewritten as "not p or q" in a proof.
In everyday writing, people also call a needless repetition, such as saying the same idea twice in different words, a tautology. The math meaning is different: it is a statement that cannot fail, and it carries no new information about the world.
What mistakes should you watch for?
- Testing only one row. A tautology needs every row to be true, and one false row ends it.
- Skipping rows. With two letters you need all four combinations.
- Misreading "if p then q" as false whenever p is false. It is true in that case.
- Confusing a tautology with a true fact. A statement can be true today and still fail the truth table test.
When does a tutor help with logic?
A tutor helps when truth tables seem mechanical and you want to see what the table proves, since drawing the rows for a few statements together makes the pattern clear. See the college courses page, the packages, or book a first session.
Common questions
What is a tautology?
A compound statement that is true in every possible case, whatever truth values its parts have.
What is the opposite of a tautology?
A contradiction, which is false in every case.
How do you prove a statement is a tautology?
Build its truth table. If every row of the final column is true, it is a tautology.
Is every true statement a tautology?
No. Many statements are true only because of facts about the world, and a tautology is true by its form alone.