Boolean algebra operates on values {0, 1} with three operations: AND (·), OR (+), and NOT (¬). The laws mirror set algebra and underlie all digital logic.
| Law | AND form | OR form |
|---|---|---|
| Identity | a · 1 = a | a + 0 = a |
| Null | a · 0 = 0 | a + 1 = 1 |
| Idempotent | a · a = a | a + a = a |
| Complement | a · ¬a = 0 | a + ¬a = 1 |
| De Morgan | ¬(a · b) = ¬a + ¬b | ¬(a + b) = ¬a · ¬b |
| Absorption | a · (a + b) = a | a + (a · b) = a |
NAND (NOT-AND) is functionally complete: any Boolean function can be built using only NAND gates. This matters in chip fabrication — one transistor type needed.
Any Boolean function can be written in Sum of Products form: OR of AND terms, one per row where the output is 1.
1. Simplify: a + (a · b) using absorption.
2. Apply De Morgan: ¬(x + ¬y · z).
De Morgan's law states ¬(a · b) equals
A NAND gate is 'functionally complete' means
The complement law states a · ¬a =
Sum of Products (SOP) form is
The absorption law says a + (a · b) =