Skip to content

Boolean Algebra

1. Identity Laws

  • A + 0 = A
  • A ⋅ 1= A

2. Null Laws

  • A + 1 = 1
  • A ⋅ 0 = 0

3. ==Idempotent Laws==

  • A + A = A
  • A ⋅ A = A

4. Complement Laws

  • A + A′ = 1
  • A ⋅ A′ = 0

5. Domination Laws

  • A+1 = 1
  • A ⋅ 0 = 0

6. Double Negation

  • (A′)′ = A

7. Commutative Laws

  • A + B = B + A
  • A ⋅ B = B ⋅ A

8. Associative Laws

  • ( A + B ) + C = A + (B + C)
  • ( A ⋅ B ) ⋅ C = `A . (B . C)

9. Distributive Laws

  • A ( B + C ) = AB + AC
  • A + BC = (A + B)(A + C)

12. Special Distributive Form

  • X + X′Y = X + YX + X' Y = X + Y
  • Example: B′+BA = B′+AB' + BA = B' + A

10. Absorption Laws

  • A + AB = A
  • A ( A + B ) = A

11. De Morgan’s Laws

  • ( A + B )′ = A'B'
  • (AB)′ = A' + B'

1. Distributive Laws

  • (a) A(B+C)=AB+ACA(B+C) = AB + AC
  • (b) (A+B)(A+C)=A+BC(A+B)(A+C) = A + BC

(A+B)(A+C)=A(A+C)+B(A+C)=A+AC+AB+BC=A+AB+AC+BC=A(1+B+C)+BC=A+BC\begin{aligned} (A + B)(A + C) &= A(A + C) + B(A + C) \\ &= A + AC + AB + BC \\ &= A + AB + AC + BC \\ &= A (1 + B + C) + BC \\ &= A + BC \end{aligned}

2. Special Distributive Laws

  • (a) X+XY=X+YX+X′Y= X+Y

X+XY=(X+X)(X+Y)=(1)(X+Y)=X+Y\begin{aligned} X + X'Y &= (X + X')(X + Y) \\ &= (1)(X + Y) \\ &= X + Y \end{aligned}

3. Absorption Laws

  • (a) A+AB=A(1+B)=A(1)=AA+AB = A(1+B) = A(1) =A
  • (b) A(A+B)=AA+AB=A+AB=AA(A+B)=AA+AB=A+AB=A

4. De Morgan’s Laws

  • (a) (A+B)=AB(A+B)′=A′B′
  • (b) (AB)=A+B(AB)′=A′+B′

To solve Boolean algebra problems effectively, you need a toolkit of laws that allow you to simplify complex expressions. These laws are divided into basic rules and more advanced theorems.

These laws are the building blocks of all Boolean logic.

NameOR Law (+)AND Law (⋅)
Identity LawA+0=AA + 0 = AA1=AA \cdot 1 = A
Null (Annulment) LawA+1=1A + 1 = 1A0=0A \cdot 0 = 0
Idempotent LawA+A=AA + A = AAA=AA \cdot A = A
Complement LawA+Aˉ=1A + \bar{A} = 1AAˉ=0A \cdot \bar{A} = 0
Double Negation(Aˉ)=A\overline{(\bar{A})} = A
2. Commutative, Associative, and Distributive Laws
Section titled “2. Commutative, Associative, and Distributive Laws”

These function similarly to standard algebra but with one major “Boolean-only” twist.

  • Commutative: A+B=B+AA + B = B + A and AB=BAA \cdot B = B \cdot A
  • Associative: (A+B)+C=A+(B+C)(A + B) + C = A + (B + C) and (AB)C=A(BC)(A \cdot B) \cdot C = A \cdot (B \cdot C)
  • Distributive: * Rule 1: A(B+C)=AB+ACA(B + C) = AB + AC (Same as normal algebra)
    • Rule 2: A+(BC)=(A+B)(A+C)A + (BC) = (A + B)(A + C) (Unique to Boolean Algebra)
      • Proof of Rule 2: Right Side: (A+B)(A+C)=AA+AC+AB+BC(A + B)(A + C) = AA + AC + AB + BC =A+AC+AB+BC= A + AC + AB + BC (since AA=AAA = A) =A(1+C+B)+BC= A(1 + C + B) + BC (since A+AC=AA + AC = A)
        =A(1)+BC=A+BC= A(1) + BC = A + BC.

These are the most powerful laws for simplifying and “shrinking” expressions.

  • Law 1: A+AB=AA + AB = A

    • Derivation: A(1+B)=A(1)=AA(1 + B) = A(1) = A.
  • Law 2: A(A+B)=AA(A + B) = A

    • Derivation: AA+AB=A+AB=A(1+B)=AAA + AB = A + AB = A(1 + B) = A.
  • Redundancy Law:

    • Sum Form: A+AˉB=A+BA + \bar{A}B = A + B
      • Derivation: (A+Aˉ)(A+B)=1(A+B)=A+B(A + \bar{A})(A + B) = 1 \cdot (A + B) = A + B.
    • Product Form: A(Aˉ+B)=ABA(\bar{A} + B) = AB
      • **Deviation: ** (AAˉ)+(AB)=0+(AB)=AB(A \cdot \bar{A}) + (A \cdot B) = 0 + (A \cdot B) = A \cdot B

Essential for breaking long “bars” (negations) over expressions.

  • Theorem 1: A+B=AˉBˉ\overline{A + B} = \bar{A} \cdot \bar{B} (The complement of a sum is the product of the complements).
  • Theorem 2: AB=Aˉ+Bˉ\overline{A \cdot B} = \bar{A} + \bar{B} (The complement of a product is the sum of the complements).

Proof (Truth Table for Theorem 2):

ABA⋅BA⋅BAˉ+Bˉ
0001111
0101101
1001011
1110000

This is an “expert level” law used to eliminate redundant terms in three-variable expressions.

  • Equation: AB+AˉC+BC=AB+AˉCAB + \bar{A}C + BC = AB + \bar{A}C
  • Derivation:
    1. AB+AˉC+BC(1)AB + \bar{A}C + BC(1)
    2. AB+AˉC+BC(A+Aˉ)AB + \bar{A}C + BC(A + \bar{A}) (since A+Aˉ=1A + \bar{A} = 1)
    3. AB+AˉC+ABC+AˉBCAB + \bar{A}C + ABC + \bar{A}BC
    4. Group terms: (AB+ABC)+(AˉC+AˉBC)(AB + ABC) + (\bar{A}C + \bar{A}BC)
    5. AB(1+C)+AˉC(1+B)AB(1 + C) + \bar{A}C(1 + B)
    6. AB(1)+AˉC(1)=AB+AˉCAB(1) + \bar{A}C(1) = AB + \bar{A}C.