Boolean Algebra
Boolean Algebra
Boolean algebra provides the operations and the rules for working with
the set {0,1}. Electronic and optical switches can be studied using this
set and the rules of Boolean algebra. The three operations in Boolean
algebra that we will use most are complementation, the Boolean sum,
and the Boolean product. The complement of an element, denoted with
a bar, is defined by 0 = 1 and 1 = 0. The Boolean sum, denoted by “ + ”
or by OR, has the following values:
1+1=1 1+0=1 0+1=1 0+0=0
The Boolean product, denoted by “ · ” or by AND, has the following
values:
1·1=1 1·0=0 0·1=0 0·0=0
EXAMPLE 1
Find the value of 1 · 0 + (0 + 1)
1 · 0 + (0 + 1) =0+1
=0+0
=0
EXAMPLE 2
Translate 1 · 0 + (0 + 1) = 0 into a logical equivalence.
(T ∧ F) ∨ (F ∨ T) = F
EXAMPLE 3
Translate the logical equivalence (T ∧ T) ∨ F = T into an identity in
Boolean algebra.
(1 · 1) + 0 = 1
EXAMPLE 4
The function F(x,y) = xy from the set of ordered pairs of Boolean
variables to the set {0,1} with F(1,1)=0, F(1,0)=1, F(0,1)=0, and
F(0,0)=0
EXAMPLE 5
Find the values of the Boolean function represented by F(x,y,z)=xy + z
Identities of Boolean Algebra
EXAMPLE 6
Show that the distributive law x(y + z) = xy + xz is valid.
EXAMPLE 7
Translate the distributive law x + yz = (x + y)(x + z) into a logical
equivalence.
p ∨ (q ∧ r) = (p ∨ q) ∧ (p ∨ r)
EXAMPLE 8
Prove the absorption law x(x + y) = x using the other identities of
Boolean algebra.