CE2704 · Digital Logic Design
Theme 2 · Boolean algebra & logic gates

Boolean theorems & simplification

The algebra rules that let you shrink an expression — fewer gates, less power, faster circuits. And the intuition to trust what a synthesis tool produces.

Built from first principles.

Before you start

What you need first

  • Boolean basics & gates — AND/OR/NOT and their notation.
  • Truth tables — to check any identity in a minute.

What you'll be able to do

  • Apply the postulates (identity, null, idempotent, complement).
  • Use the theorems (commutative, associative, distributive, absorption).
  • Simplify an expression step by step to fewer gates.

Postulates — the starting facts

The rules everything builds on. The first three behave much like ordinary arithmetic:

RuleAND formOR form
IdentityA·1 = AA+0 = A
NullA·0 = 0A+1 = 1
IdempotentA·A = AA+A = A

Three more involve NOT:

RuleFormWhy
Complement (AND)A·A′ = 0a signal can't be 1 and 0 at once
Complement (OR)A+A′ = 1a signal is either 1 or 0 — no third option
Double negation(A′)′ = Ainverting twice returns the original
Duality: every AND rule has a matching OR rule — swap AND↔OR and 0↔1. That halves what you memorise. And any identity can be checked with a small truth table.

Theorems — the rules you'll lean on

Two are exactly like ordinary algebra:

TheoremAND formOR form
CommutativeA·B = B·AA+B = B+A
Associative(A·B)·C = A·(B·C)(A+B)+C = A+(B+C)

Two are more powerful than they look:

TheoremForm 1Form 2
DistributiveA·(B+C) = A·B + A·CA + B·C = (A+B)·(A+C)
AbsorptionA·(A+B) = AA + A·B = A
The shocker: the OR-form distributive A + B·C = (A+B)·(A+C) is false in ordinary math (\(3 + 2\cdot4 \neq (3+2)(3+4)\)) but true in Boolean algebra. Absorption says a term swallowed by a broader one disappears: whenever A is 1, A + A·B is 1 regardless of B.
📐 Worked example

Simplify F = A·B + A·B′ + A′·B

That's three AND terms and two ORs — about seven gate inputs. Apply one rule per step:

1Factor A from the first two terms (distributive):
$$ F = A\cdot(B + B') + A'\cdot B $$
2\(B+B' = 1\) (complement), and \(A\cdot 1 = A\) (identity):
$$ F = A + A'\cdot B $$
3Use \(A + A'\cdot B = A + B\) (distributive OR-form, then complement + identity):
$$ F = A + B $$
Payoff: seven gate inputs collapse to a single 2-input OR — one gate instead of five. Smaller, cooler, faster.
🔭 Why bother in 2026, when a synthesis tool does this automatically? Because you need this intuition to debug, to verify, and to understand what the tool produced.

✏️ Try it yourself

Simplify each to its shortest form: (a) A·1 + 0   (b) A + A·B   (c) (A+B)·A   (d) (A+1)·(B+0)

(a) A·1 = A, A+0 = A → A. (b) absorption → A. (c) absorption variant → A. (d) A+1 = 1 (null), B+0 = B, 1·B → B.

Recap — the whole topic on one screen

GroupRules you own now
Postulatesidentity · null · idempotent · complement · double-negation
Theoremscommutative · associative · distributive · absorption
Most useful for shrinkingidentity, complement, absorption
Dualityswap AND↔OR and 0↔1 to get the partner rule

Next topic

DeMorgan's theorem

One identity is so important it gets its own topic: what happens when a NOT bar sits over a whole AND or OR — the rule behind NAND/NOR designs and every synthesis tool.

→ DeMorgan's theorem