Boolean Algebra Basics
Foundations of Boolean Algebra
Logical States: Binary variables are limited to two distinct states: (logic high / true) and (logic low / false).
Primary Purpose: Forms the mathematical framework for analyzing, designing, and optimizing digital binary circuits.
Fundamental Operations
Boolean Addition ( Operation):
Denoted by the plus symbol (); forms a sum term (e.g., ).
Condition: Evaluates to if one or more literals equal ; evaluates to only when all literals are simultaneously .
Boolean Multiplication ( Operation):
Denoted by a dot () or adjacent literals (e.g., ); forms a product term.
Condition: Evaluates to if and only if all literals equal ; evaluates to if any single literal is .
Universal Laws of Boolean Algebra
Commutative Laws: Operand order does not alter output.
Addition:
Multiplication:
Associative Laws: Grouping order across identical operations does not alter output.
Addition:
Multiplication:
Distributive Laws:
Multiplication over Addition:
Addition over Multiplication:
Essential Rules and Identities
Identity Rules: and
Null (Annulment) Rules: and
Idempotent Rules: and
Involution (Double Negation):
Complement Rules: and
Absorption Rules: and
Elimination Rule:
Second Distributive Dual:
XOR and XNOR:
DeMorgan's Theorems and Dualities
First Theorem (Law of Intersection): The complement of a product equals the sum of the complements.
Mathematical Identity:
Gate Equivalence: A gate functions identically to an inverted-input (Negative-OR) gate.
Second Theorem (Law of Union): The complement of a sum equals the product of the complements.
Mathematical Identity:
Gate Equivalence: A gate functions identically to an inverted-input (Negative-AND) gate.
Duality Principle: An expression's dual is obtained by interchanging and .
Circuit Simplification Workflow
Write Boolean logic expressions at each successive gate output node.
Apply DeMorgan's theorems to break overbars covering multiple terms.
Cancel paired double-negations via involution ().
Expand and factor terms using associative and distributive laws.
Eliminate redundant variables and terms using identity, complement, idempotent, and absorption rules to minimize hardware gate count.