Boolean algebra is governed by a set of laws and theorems that are used to manipulate and simplify Boolean expressions. These laws are similar to those of ordinary algebra but with some important differences.
1.4.1 Basic Postulates and Properties
Law/Theorem |
AND Form | OR Form |
---|---|---|
Identity Law | ||
Null/Annihilation Law | ||
Idempotent Law | ||
Complement Law | ||
Commutative Law | ||
Associative Law | ||
Distributive Law | ||
Absorption Law | ||
De Morgan’s Theorem | ||
Involution Law |
1.4.2 Duality Principle
The duality principle is a powerful concept in Boolean algebra. It states that if a Boolean expression is valid, its dual is also valid. The dual of an expression is obtained by:
- Interchanging the AND and OR operations.
- Interchanging the identity elements
0
and1
. - Leaving the variables unchanged.
For example, the dual of the distributive law is . Notice how each law in the table above has a dual counterpart.
1.4.3 De Morgan’s Theorems
De Morgan’s theorems are particularly important for simplifying expressions and converting between different logic forms.
- Theorem 1: The complement of a product of variables is equal to the sum of the complements of the variables.
- Theorem 2: The complement of a sum of variables is equal to the product of the complements of the variables.
These theorems can be extended to any number of variables. For example, .