Sub topic 3
Boolean Identities and Laws
Assume you can read binary values and use AND, OR, NOT, NAND, NOR, XOR, and XNOR gates. This chapter uses + for OR, juxtaposition for AND, and ' for NOT. For example, A'B + C means (NOT A AND B) OR C.
Boolean identities let you replace an expression with an equivalent one. The goal is usually to reduce the number of literals, terms, or gates without changing the function.
Core Boolean laws
Let A, B, and C be Boolean variables. The most useful laws are:
| Law | Identity | Meaning |
|---|---|---|
| Identity | `A + 0 = A`, `A · 1 = A` | 0 and 1 leave the value unchanged |
| Null or domination | `A + 1 = 1`, `A · 0 = 0` | OR with 1 or AND with 0 fixes the result |
| Idempotent | `A + A = A`, `A · A = A` | Repeating a variable has no effect |
| Complement | `A + A' = 1`, `A · A' = 0` | A variable and its complement cover all cases or no cases |
| Involution | `(A')' = A` | Double complementation restores the variable |
| Commutative | `A + B = B + A`, `AB = BA` | Operand order does not matter |
| Associative | `A + (B + C) = (A + B) + C` | Grouping does not matter |
| Distributive | `A(B + C) = AB + AC` | AND distributes over OR |
| Dual distributive | `A + BC = (A+B)(A+C)` | OR distributes over AND |
The dot is often omitted, so AB means A · B.
Absorption and consensus
Absorption removes a term that is already covered by another term:
A + AB = AA(A + B) = A
For the first identity, whenever AB is 1, A is already 1. Therefore, adding AB cannot change the result.
The consensus theorem is useful when three product terms appear:
AB + A'C + BC = AB + A'C
The term BC is the consensus term. It is redundant because either A is 1, in which case AB covers the relevant case, or A is 0, in which case A'C covers it.
Worked simplification
Simplify:
F = A + A'B
Use the dual distributive law:
F = (A + A')(A + B)
Apply the complement law:
F = 1(A + B)
Apply the identity law:
F = A + B
The original expression needs a NOT gate, an AND gate, and an OR gate. The simplified expression needs only an OR gate.
A reliable simplification process
- Remove double complements.
- Apply complement, identity, and domination laws.
- Factor common literals or distribute when it exposes a complement pair.
- Apply absorption.
- Check the result with a truth table when the expression is important.
Exercise
Simplify F = AB + AB'.
Show answer
Factor A: F = A(B + B') = A · 1 = A.