A tautology is an expression that is 1 on every row of its truth table, whatever the inputs. The simplest is : one of A and is always 1. Its opposite, an expression that is 0 on every row, is a contradiction, such as .
A tautology simplifies all the way to the constant 1, and a contradiction to 0. In a circuit, the output could be replaced by a wire tied high or low.
They matter in simplification because they make terms vanish:
- A term containing both X and , like , is a contradiction, so it is 0 and can be deleted from an SOP.
- A bracket that is a tautology, like , is 1 and can be dropped from a product.
Checking: to show an expression is a tautology, show every row is 1, or simplify it to 1. To show it is not, find one row that gives 0.
A trap: looks like "something plus its complement", but it is not a tautology. It is 0 whenever A ≠ B. The true complement of is .
| 0 | 0 | 1 | 1 | 1 |
| 0 | 1 | 1 | 1 | 0 |
| 1 | 0 | 1 | 1 | 0 |
| 1 | 1 | 1 | 1 | 1 |