Boolean Algebra
Boolean Algebra
BOOLEAN ALGEBRA
ALGEBRA
LOGIC GATES
Introduction
British mathematician George Boole(1815-
1864) was successful in finding the link
between logic and mathematics. Boolean
Algebra is fundamentally important in the
design of circuits used in computers.
Boolean Algebra
• In Boolean Algebra , elements have
one of two values –True or False.
• The circuits in a computer are also
designed for two-state operations.
• That is input and output of a circuit is
either low(0) or high(1).
• The circuits are called logic circuits.
BOOLEAN VARIABLES
x= A
• The above expression is read as “x equals
the inverse of A
• Also known as inversion or
complementation.
• Can also be expressed as: A’
Boolean Theorems
(Single-Variable)
• x* 0 =0
• x* 1 =x
• x*x=x
• x*x’=0
• x+0=x
• x+1=1
• x+x=x
• x+x’=1
Boolean theorems
(multivariable)
• X Y=YX
• X+(Y+Z)=(X+Y)+Z
• X(YZ)=(XY)Z
• X(Y+Z)=XY+XZ
• (X’)’=X
DeMorgans law
1 (A.B)’= A’+ B’
2 (A+B)’= A’. B’
• DeMorgan’s law can be extended to any
number of variables.
• Replace each variable by its complement
and change all AND to OR and all OR to
AND.
• Thus, we find the complement of:
is:
• It is easy to convert a
function to sum-of-products
form using its truth table.
• We are interested in the
values of the variables that
make the function true
(=1).
• Using the truth table, we
list the values of the
variables that result in a
true function value.
• Each group of variables is
then ORed together.
Boolean Algebra
• The sum-of-products
form for our function is:
B 1
0
A
0 1
A 1
2 3
Three variable k-map
B
BC 00 0 11 10
A 1
0
0 1 3 2
A 1 4 5 7 6
C
4 VARIABLE K-MAP
C
CD
00 0 11 10
AB 1
00 0 1 3 2
01
4 5 7 6
B
11 12 13 15 14
A
10 8 9 11 10
D
F= (3,4,6,7)
Simplify the Boolean function using
map method.
B
11
1
1
11 1
A
C
There are four squares marked with
1’s,one for each minterm that
produces 1 for the function. Two
adjacent squares are combined in
the third column .the column belongs
to both B and C, and produces the
term BC. The remaining square
produce term AC’.
F=BC+AC’
Product of sum
simplification
1 1 0 1
0 1 0 0
0 0 0 0
1 1 0 1
If the squares marked with
o’s are combined , as shown
in the diagram we obtain the
given formula.
F’=AB+CD+BD’
Taking the complement of
f’, we obtain the simplified
function in product-of-sums
form
F=(A’+B’)(C’+D’)(B’+D)