Tautology in Math: Definition, Truth Tables, and Examples
Identify tautologies, contradictions, and contingencies with truth tables. Test equivalence and implications in six worked examples.
TL;DR
A tautology is a logical formula that is true under every assignment of truth values. Its truth table ends with an all-true column. For example, is always true in classical logic.
Key Points
- Check every assignment of truth values to the variables.
- One false row disproves a claim that the formula is a tautology.
- A contradiction is false in every row, while a contingency has both true and false rows.
- Two formulas are logically equivalent when their biconditional is a tautology.
- A valid argument has no row in which all its premises are true and its conclusion is false.
What is a tautology in mathematics?
In classical propositional logic, a tautology remains true no matter how you assign True and False to its statement variables. The symbols , , and mean NOT, OR, and AND. In , at least one of and is true for each assignment. This formula is called the law of excluded middle in classical logic.
| Classification | Final truth column | Example |
|---|---|---|
| Tautology | True in every row | |
| Contradiction | False in every row | |
| Contingency | True in some rows and false in others |
A specific statement can be true because of its facts. Tautology concerns the structure of a formula and every permitted assignment to its statement variables. For example, is true when both variables are true, but the all-false assignment makes it false. It is a contingency.
How do you test a tautology with a truth table?
List all assignments for distinct variables. Create columns for the subexpressions, then work from the innermost operations to the full formula. OpenStax and the TU Delft text explain these steps. A material implication is false only when is true and is false.
| True | True | True | True |
| True | False | False | True |
| False | True | False | True |
| False | False | False | True |
If is true, is already true. In the other rows the antecedent is false, which makes a material implication true. That accounts for all four rows.
How do you prove equivalence or find a counterexample?
The biconditional is true exactly when and have the same truth value. If it is a tautology, they are logically equivalent. The De Morgan's laws guide shows how equivalence compares a negated expression with its rewritten form.
You can also use known equivalences to simplify a formula. An implication can be replaced by . Then simplify with the usual AND, OR, and NOT rules. If the result is always true, so is the original.
To disprove a tautology, look for an assignment giving false. For an implication, try to make its antecedent true and its consequent false. Finding one such row is enough. Finding one true row leaves the other rows to check.
Where does this test help in computing?
A Boolean expression in a program or digital circuit can be tested with the same truth-table rules. For example, always produces true. If that is the entire condition controlling a branch, only the true case can be reached in this model. When you simplify a circuit or a compound condition, checking equivalence ensures the original and simplified expressions agree for every input.
Worked Tautology Examples
Example 1
Classify .
- If is true, the first part makes the OR true.
- If is false, is true, so the OR is still true.
- Both possible rows are true. The formula is a tautology.
Example 2
Classify .
- If is true, is false.
- If is false, the first part already makes AND false.
- Both rows are false. The formula is a contradiction.
Example 3
Is a tautology?
- Set to true and to false. The implication fails.
- Set both to true. The implication holds.
- The final column has both outcomes, so it is a contingency.
Example 4
Test by rewriting implication.
- Rewriting gives .
- In either assignment, one of those terms is true.
- The original implication is a tautology. Every assumption implies itself.
Example 5
Are and equivalent?
- If is true, the whole OR is true.
- If is false, is false and the OR is false.
- The result always agrees with , so their biconditional is a tautology.
Example 6
Check whether is a tautology.
- When the antecedent is true, is true and is false.
- Since must still be true, has to be true.
- So the implication holds when the antecedent is true and also when it is false. This verifies the argument from “ or ” and “not ” to “.”
Mistakes That Change the Classification
Mistake 1: Stopping after one true row
A single true row proves that the formula can be true. To show it is a tautology, account for all assignments.
Mistake 2: Reading logical OR as “exactly one”
Classical is inclusive. It is true when either variable is true and when both are true.
Mistake 3: Assuming a false antecedent makes an implication false
The classical implication fails only for True implying False. A false antecedent makes the material implication true in that row.
Try It Yourself
- Classify .
- Give a false row for .
- Decide whether is a tautology.
Answers and Reasoning
- The inner conjunction is false for each . Its negation is always true.
- Set false and true. The antecedent is true and the consequent false.
- Yes. The first implication is . The second is . Their truth values agree in every row.
Questions About Tautologies
Is a formula with an all-true column satisfiable?
Yes. A satisfiable formula needs at least one true assignment. A tautology has every assignment true.
Can the conclusion of a valid argument be a contingency?
Yes. Validity asks what follows when the premises hold. The conclusion can be false in other rows. It is the implication from the combined premises to the conclusion that must be a tautology.
Conclusion
- A tautology is true under every truth assignment.
- Use a complete truth table, a valid simplification, or a proof that a false row cannot occur.
- Use equivalence and premise-to-conclusion implications to apply the test to other formulas.
Read More
- How inequalities include or exclude a boundary
- How sampling affects the conclusions a dataset supports
Research Behind This Article
- Rutgers University, Math 215 — Introduction to Propositional and Predicate Calculus. Rutgers
- TU Delft, Delftse Foundations of Computation — Propositional Logic. TU Delft
- OpenStax, Contemporary Mathematics — Constructing Truth Tables. OpenStax
- Harris Kwong, A Spiral Workbook for Discrete Mathematics — Logical Equivalences. Mathematics LibreTexts