Boolean Algebra
Claude Shannon showed how the basic rules of logic, first given by George Boole in 1854 in his “The Laws of Thought”, could be used to design circuits. These rules form the basis for Boolean algebra. In this chapter we develop the basic properties of Boolean algebra.
Boolean Functions
Boolean algebra provides the operations and the rules for working with the set
Boolean Expressions and Boolean Functions
Let
Boolean functions can be represented using expressions made up from variables and Boolean operations. The Boolean expressions in the variables
Boolean functions
The complement of the Boolean function
-
Definition: A Boolean algebra is a set
with two binary operations and elements and and a unary operation such that these properties hold for all and in :-
Identity laws
-
Complement laws
-
Associative laws
-
Commutative laws
-
Distributive laws
-
Representing Boolean Functions
Two important problems of Boolean algebra will be studied in this section. The first problem is: Given the values of a Boolean function, how can a Boolean expression that represents this function be found? The second problem is: Is there a smaller set of operators that can be used to represent all Boolean functions?
Sum-of-Products Expansions
- Definition:
A literal is a Boolean variable or its complement. A minterm of the Boolean variables
is a Boolean product where or . Hence, a minterm is a product of literals, with one literal for each variable.
By taking Boolean sums of distinct minterms we can build up a Boolean expression with a specified set of values. In particular, a Boolean sum of minterms has the value
It is also possible to find a Boolean expression that represents a Boolean function by taking a Boolean product of Boolean sums. The resulting expansion is called the conjunctive normal form or product-of-sums expansion of the function. These expansions can be found from sum-of-products expansions by taking duals.