Logo
All chapters
Volume II: Digital Logic  ›  Boolean Algebra & Logic Gates

Boolean Algebra: Theorems & Properties

The algebra rules that let you shrink a logic expression without changing what it does.

PrevAxiomatic Definition
NextBoolean Functions

Description

A set of algebraic identities over {0,1} with operators AND (·), OR (+), and NOT (′). Simpler expressions mean fewer gates: less area, less delay, less power. Apply theorems repeatedly to factor, absorb, or cancel terms until no rule applies.

  • Each law has a dual: swap AND↔OR and 0↔1 to get the partner law.
  • Single-variable laws collapse redundancy; two/three-variable laws restructure terms.
  • DeMorgan converts between AND/OR forms — the basis of NAND/NOR design.
  • Absorption: A + AB = A (a term is swallowed by a simpler one).
  • Combining: AB + AB′ = A (a variable that appears both true and complemented drops out).
  • DeMorgan: (AB)′ = A′ + B′ and (A + B)′ = A′B′.
  • What: A set of algebraic identities over {0,1} with operators AND (·), OR (+), and NOT (′).
  • Why: Simpler expressions mean fewer gates: less area, less delay, less power.
  • How: Apply theorems repeatedly to factor, absorb, or cancel terms until no rule applies.
  • Where: Pre-K-map simplification, deriving canonical forms, and HDL expression cleanup.

At a glance

What

A set of algebraic identities over {0,1} with operators AND (·), OR (+), and NOT (′).

Why

Simpler expressions mean fewer gates: less area, less delay, less power.

How

Apply theorems repeatedly to factor, absorb, or cancel terms until no rule applies.

Where

Pre-K-map simplification, deriving canonical forms, and HDL expression cleanup.

When

Before committing a logic equation to a circuit or RTL — minimize first.

Think of it like…

Like cancelling terms in algebra to shorten an expression — absorption (A+AB=A) is the logic version of noticing a clause is already implied, so you cross it out.

How to read the laws

  • Each law has a dual: swap AND↔OR and 0↔1 to get the partner law.
  • Single-variable laws collapse redundancy; two/three-variable laws restructure terms.
  • DeMorgan converts between AND/OR forms — the basis of NAND/NOR design.

Most-used in practice

  • Absorption: A + AB = A (a term is swallowed by a simpler one).
  • Combining: AB + AB′ = A (a variable that appears both true and complemented drops out).
  • DeMorgan: (AB)′ = A′ + B′ and (A + B)′ = A′B′.

Boolean theorems (with duals)

LawOR formAND form (dual)
IdentityA + 0 = AA · 1 = A
Null / DominanceA + 1 = 1A · 0 = 0
IdempotentA + A = AA · A = A
ComplementA + A′ = 1A · A′ = 0
Involution(A′)′ = A(A′)′ = A
CommutativeA + B = B + AA · B = B · A
AssociativeA+(B+C)=(A+B)+CA(BC)=(AB)C
DistributiveA+BC=(A+B)(A+C)A(B+C)=AB+AC
AbsorptionA + AB = AA(A+B) = A
DeMorgan(A+B)′ = A′B′(AB)′ = A′+B′

Every row's two forms are duals: swap + ↔ · and 0 ↔ 1.

Worked simplification

StepExpressionLaw used
startA + A′B
1(A + A′)(A + B)distributive
21 · (A + B)complement
3A + Bidentity

A + A′B = A + B — three theorems, no truth table needed.

Verify a law on real gates

▶ live simulator
A0B00YAND

Click a terminal (A/B) to toggle it · glowing wires carry a logic 1 · the lamp is output Y

ABY
000
010
100
111

The 5 Whys

  1. 1

    Why simplify Boolean expressions? To use fewer logic gates.

  2. 2

    Why fewer gates? Less silicon area and lower cost per chip.

  3. 3

    Why does delay drop too? Shorter gate chains mean signals settle faster.

  4. 4

    Why does power drop? Fewer switching nodes dissipate less dynamic energy.

  5. 5

    Root cause: the theorems remove logical redundancy the truth table can't see directly.

Cheat sheet

Working principle

  • Apply theorems repeatedly to factor, absorb, or cancel terms until no rule applies.
  • A set of algebraic identities over {0,1} with operators AND (·), OR (+), and NOT (′).

Formulas & Boolean expressions

  • Absorption: A + AB = A (a term is swallowed by a simpler one).
  • Combining: AB + AB′ = A (a variable that appears both true and complemented drops out).
  • DeMorgan: (AB)′ = A′ + B′ and (A + B)′ = A′B′.

Key facts

  • Each law has a dual: swap AND↔OR and 0↔1 to get the partner law.
  • Absorption: A + AB = A (a term is swallowed by a simpler one).

Why it exists

  • Root cause: the theorems remove logical redundancy the truth table can't see directly.
PrevAxiomatic Definition
NextBoolean Functions