Module 1: Foundations of Digital Logic · 1.2 Boolean Algebra

Boolean Axioms and Theorems

Boolean algebra provides mathematical rules to transform and minimize digital logic expressions. Each algebraic simplification removes redundant gates from the physical hardware implementation.

This article details Huntington’s postulates, proves standard Boolean theorems, and demonstrates systematic algebraic simplification.

Huntington’s Postulates

In 1904, Edward Huntington defined a formal set of postulates for Boolean algebra:

  • P1, Closure: Any Boolean operation on Boolean operands produces a Boolean value. The results of $A + B$ and $A \cdot B$ evaluate to 0 or 1.
  • P2, Identity Elements: $$A + 0 = A \qquad A \cdot 1 = A$$ Zero is the identity element for the OR operation. One is the identity element for the AND operation.
  • P3, Commutativity: $$A + B = B + A \qquad A \cdot B = B \cdot A$$ Input order does not change the circuit output.
  • P4, Distributivity: $$A \cdot (B + C) = (A \cdot B) + (A \cdot C)$$ $$A + (B \cdot C) = (A + B) \cdot (A + C)$$ The second distributive law distributes OR over AND.
  • P5, Complementation: $$A + A’ = 1 \qquad A \cdot A’ = 0$$ Every Boolean variable contains a unique complement $A’$.

Principle of Duality

Every algebraic identity remains valid when you exchange the OR ($+$) and AND ($\cdot$) operators, and swap identity elements 0 and 1. This property is the Principle of Duality. Every proved theorem automatically provides a dual theorem.

Fundamental Boolean Theorems

In two-valued logic, engineers prove theorems using perfect induction by evaluating the expression for all input combinations.

Idempotency Theorem

$$A + A = A \qquad A \cdot A = A$$

Proof by truth table:

Variable $A$ Operation $A + A$ Operation $A \cdot A$
0 $0 + 0 = 0$ $0 \cdot 0 = 0$
1 $1 + 1 = 1$ $1 \cdot 1 = 1$

Hardware meaning: If both inputs of a logic gate connect to the same signal, the gate is redundant. Replace the gate with a direct conductor wire.

Null Elements (Dominance)

$$A + 1 = 1 \qquad A \cdot 0 = 0$$

Hardware meaning: When one input of an OR gate connects to constant 1, the output is permanently 1. When one input of an AND gate connects to constant 0, the output is permanently 0. Synthesis tools remove the logic gate and propagate the constant.

Involution (Double Inversion)

$$(A’)’ = A$$

Hardware meaning: Two cascaded inverters cancel each other and preserve signal polarity.

Absorption Theorem

$$A + AB = A \qquad A(A + B) = A$$

Proof by algebraic expansion:

$$A + AB = A \cdot 1 + AB = A(1 + B) = A \cdot 1 = A$$

Proof by truth table:

$A$ $B$ $AB$ $A + AB$
0 0 0 0
0 1 0 0
1 0 0 1
1 1 1 1

The output column matches variable $A$.

Hardware meaning: When signal $A$ drives an OR gate, an AND gate that computes $AB$ into that same OR gate is redundant. Eliminate the AND gate.

Absorption Variant

$$A + A’B = A + B \qquad A(A’ + B) = AB$$

Proof:

$$A + A’B = (A + A’)(A + B) = 1 \cdot (A + B) = A + B$$

Consensus Theorem

$$AB + A’C + BC = AB + A’C$$

Proof:

$$BC = BC(A + A’) = ABC + A’BC$$

Substitute into the original expression:

$$AB + A’C + BC = AB + A’C + ABC + A’BC$$ $$= AB(1 + C) + A’C(1 + B) = AB(1) + A’C(1) = AB + A’C$$

Term $BC$ is redundant. Removing this term eliminates an AND gate from the circuit.

Summary of Theorems

Theorem Name OR Formulation AND Formulation
Identity $A + 0 = A$ $A \cdot 1 = A$
Null Element $A + 1 = 1$ $A \cdot 0 = 0$
Idempotency $A + A = A$ $A \cdot A = A$
Complementation $A + A’ = 1$ $A \cdot A’ = 0$
Involution $(A’)’ = A$ —
Commutative $A + B = B + A$ $AB = BA$
Associative $A + (B + C) = (A + B) + C$ $A(BC) = (AB)C$
Distributive $A + BC = (A + B)(A + C)$ $A(B + C) = AB + AC$
Absorption $A + AB = A$ $A(A + B) = A$
Absorption Variant $A + A’B = A + B$ $A(A’ + B) = AB$
Consensus $AB + A’C + BC = AB + A’C$ $(A+B)(A’+C)(B+C) = (A+B)(A’+C)$

Step-by-Step Algebraic Simplifications

Example 1: Simplify $F = A’B + A’B’ + AB$

Algebraic Expression Applied Rule
$A’B + A’B’ + AB$ Initial expression
$A’(B + B’) + AB$ Distributivity
$A’ \cdot 1 + AB$ Complementation ($B + B’ = 1$)
$A’ + AB$ Identity
$(A’ + A)(A’ + B)$ Second Distributive Law
$1 \cdot (A’ + B)$ Complementation ($A’ + A = 1$)
$A’ + B$ Identity

Result: $F = A’ + B$. This reduces five input literals and three gates to a single OR gate and one inverter.

Example 2: Simplify $F = AB’C + AB’C’ + ABC$

Algebraic Expression Applied Rule
$AB’C + AB’C’ + ABC$ Initial expression
$AB’(C + C’) + ABC$ Distributivity
$AB’ \cdot 1 + ABC$ Complementation ($C + C’ = 1$)
$A(B’ + BC)$ Distributivity
$A(B’ + C)$ Absorption variant ($B’ + BC = B’ + C$)
$AB’ + AC$ Distributivity

Result: $F = AB’ + AC$.

Example 3: Simplify $F = ABC + ABD + A’B’C + A’B’D$

Algebraic Expression Applied Rule
$ABC + ABD + A’B’C + A’B’D$ Initial expression
$AB(C + D) + A’B’(C + D)$ Distributivity
$(AB + A’B’)(C + D)$ Distributivity

Result: $F = (AB + A’B’)(C + D)$. This factored multilevel form reduces total gate input count.

Practice Exercises

Exercise 1: Simplify $F = AB + AB’ + A’B$.

View Solution
Algebraic Expression Applied Rule
$AB + AB’ + A’B$ Initial expression
$A(B + B’) + A’B$ Distributivity
$A \cdot 1 + A’B$ Complementation
$A + A’B$ Identity
$A + B$ Absorption variant

Result: $F = A + B$.

Exercise 2: Simplify $F = (A + B)(A + B’)$.

View Solution
Algebraic Expression Applied Rule
$(A + B)(A + B’)$ Initial expression
$A + BB'$ Second Distributive Law
$A + 0$ Complementation ($BB’ = 0$)
$A$ Identity

Result: $F = A$.

Exercise 3: Simplify $F = A’BC + AB’C + ABC’ + ABC$.

View Solution

Use idempotency to replicate term $ABC$ ($ABC = ABC + ABC + ABC$):

Algebraic Expression Applied Rule
$A’BC + AB’C + ABC’ + ABC$ Initial expression
$A’BC + AB’C + ABC’ + ABC + ABC + ABC$ Idempotency
$(A’BC + ABC) + (AB’C + ABC) + (ABC’ + ABC)$ Commutativity
$BC(A’ + A) + AC(B’ + B) + AB(C’ + C)$ Distributivity
$BC(1) + AC(1) + AB(1)$ Complementation
$AB + AC + BC$ Identity

Result: $F = AB + AC + BC$. This is the 3-input majority voting logic.

← Boolean Algebra: Two Values, Three Operations De Morgan's Laws and Bubble Pushing →