Boolean Algebra — The Rules
On this page 5 headings
Start here In school maths, you learned rules like and . They let you simplify long expressions. Boolean algebra has its own rules for 0s and 1s. A simpler expression means fewer gates, so a cheaper, faster, cooler chip.
- Axioms: basic facts we accept as true at the start (like “0 ≠ 1”).
- Laws and theorems: rules we prove from the axioms, and then use to simplify.
Every law comes in a pair. In the second one (the dual), AND ↔︎ OR and 0 ↔︎ 1 are swapped.
| Law | OR version | AND version (dual) | In words |
|---|---|---|---|
| Identity | 0 doesn’t change an OR; 1 doesn’t change an AND | ||
| Null (domination) | OR with 1 is always 1; AND with 0 is always 0 | ||
| Idempotent | Repeating doesn’t change anything | ||
| Involution | Flip twice = original | ||
| Complement | Something OR its opposite = 1; | ||
| Commutative | Order doesn’t matter | ||
| Associative | Brackets don’t matter | ||
| Distributive | The second one is new! It doesn’t work in normal maths |
Duality rule: if something is true, its dual is also true. To find the dual, swap AND ↔︎ OR and 0 ↔︎ 1. Don’t change the variables or their bars.
| Theorem | Rule | Why |
|---|---|---|
| Combining | ||
| Absorption | ||
| Elimination |
Example 1: prove
| Step | Expression | Law used |
|---|---|---|
| 1 | Distributive | |
| 2 | Complement | |
| 3 | X | Identity |
Example 2: prove
| Step | Expression | Law used |
|---|---|---|
| 1 | Identity | |
| 2 | Distributive | |
| 3 | Null | |
| 4 | X | Identity |
Another way to check: fill in a truth table for both sides. If every row matches, they’re equal.
In one line: Boolean laws (identity, null, idempotent, complement, distributive and more) come in dual pairs, and shortcuts like and make circuits smaller. Exam words: axiom, theorem, duality, identity, null, idempotent, involution, complement, commutative, associative, distributive, combining, absorption, simplification.
