DLD - Lecture - 08
DLD - Lecture - 08
Lecture 08
Standard Forms of
Boolean Expressions
Sum-of-Products (SOP) Form
Product-of-sums (POS) form
Canonical forms
There are two types of canonical forms:
Sum-of-min terms or Canonical SOP
Product-of-max terms or Canonical POS
Standard Forms of
Boolean Expressions
Standard product terms or min terms
Four Boolean product terms by combining
two variables x and y with logical AND
operation.
The min terms are x’y’, x’y, xy’ and xy.
Standard Forms of
Boolean Expressions
Standard sum terms or Max terms
Four Boolean sum terms by combining two
variables x and y with logical OR
operation.
The min terms are x + y, x + y’, x’ + y and
x’ + y’.
Standard Forms of
Boolean Expressions
The following table shows the
representation of min terms and MAX
terms for 2 variables.
x y Min terms Max terms
0 0 m0=x’y’ M0=x + y
0 1 m1=x’y M1=x + y’
1 0 m2=xy’ M2=x’ + y
1 1 m3=xy M3=x’ + y’
Standard Forms of
Boolean Expressions
If the binary variable is ‘0’, then it is represented
as complement of variable in min term and as
the variable itself in Max term.
Similarly, if the binary variable is ‘1’, then it is
represented as complement of variable in Max
term and as the variable itself in min term.
If there are ‘n’ Boolean variables, then there will
be 2n min terms and 2n Max terms.
Canonical SOP and POS
form
Canonical SOP or POS form has all the
variables in all the terms
A non-canonical SOP is converted into
canonical SOP by using the rule A A 1
A non-canonical POS is converted into
canonical POS by using the rule A A 0
Standard Forms (NOT Unique)
• Standard forms are “like” canonical forms,
except that not all variables need appear in
the individual product (SOP) or sum (POS)
terms.
• Example:
f1(a,b,c) = a’b’c + bc’ + ac’
is a standard sum-of-products form
• f1(a,b,c) = (a+b+c)•(b’+c’)•(a’+c’)
is a standard product-of-sums form.
0 0 1 A.B.C A B C
0 1 0 A.B.C A B C
0 1 1 A.B.C A B C
1 0 0 A.B.C A B C
1 0 1 A.B.C A B C
1 1 0 A.B.C A B C
1 1 1 A.B.C A B C
SOP-POS Conversion
Minterm values present in SOP expression
not present in corresponding POS
expression
Maxterm values present in POS
expression not present in corresponding
SOP expression
SOP-POS Conversion
Canonical Sum A ,B,C (0,2,3,5,7)
A BC ABC ABC A BC ABC
Canonical Product A ,B,C (1,4,6)
(A B C)(A B C)(A B C)