0% found this document useful (0 votes)
2K views4 pages

SUM of PRODUCT PRODUCT of SUM

1. The document discusses Sum of Products (SOP) and Product of Sums (POS) canonical forms. SOP is a boolean expression consisting of minterms, while POS consists of maxterms. 2. Examples are provided to show how to derive SOP and POS expressions from truth tables. Shorthand notation is also introduced to represent minterms and maxterms compactly. 3. Rules are given for converting between SOP, POS, and their shorthand notation representations.

Uploaded by

raul gironella
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views4 pages

SUM of PRODUCT PRODUCT of SUM

1. The document discusses Sum of Products (SOP) and Product of Sums (POS) canonical forms. SOP is a boolean expression consisting of minterms, while POS consists of maxterms. 2. Examples are provided to show how to derive SOP and POS expressions from truth tables. Shorthand notation is also introduced to represent minterms and maxterms compactly. 3. Rules are given for converting between SOP, POS, and their shorthand notation representations.

Uploaded by

raul gironella
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

In this tutorial we will learning about Sum of Products and Product of Sums.

Canonical Expression
A boolean expression consisting entirely either of minterm or maxterm is called canonical expression.

Example: if we have two variables X and Y then,

Following is a canonical expression consisting of minterm XY + X’Y’


and
Following is a canonical expression consisting of maxterm (X+Y).(X’ + Y’)

Different Forms of Canonical Expression


There are two forms of canonical expression.

1. Sum of Products (SOP)


2. Product of Sums (POS)

Sum of Products (SOP)


A boolean expression consisting purely of Minterm (product terms) is said to be in canonical sum of
products form.

Example: let’s say, we have a boolean function F defined on two variables A and B. So, A and B are the
inputs for F and let’s say, output of F is true i.e., F = 1 when any one of the input is true or 1. Now we draw
the truth table for F.

A B F
0 0 0
0 1 1
1 0 1
1 1 1

Now we will create a column for the minterm using the variables A and B. If input is 0 we take the
complement of the variable and if input is 1 we take the variable as is.

A B F Minterm
0 0 0 A'B'
0 1 1 A'B
1 0 1 AB'
1 1 1 AB

To get the desired canonical SOP expression we will add the minterm (product terms) for which the output
is 1.

F = A’B + AB’ + AB
Converting Sum of Products (SOP) to shorthand notation
From the previous example we have
F = A’B + AB’ + AB
Now, lets say we want to express the SOP using shorthand notation.

we have F = A’B + AB’ + AB

First we need to denote the minterms in shorthand notation.

A’B = (01)2 = m1
AB’ = (10)2 = m2
AB = (11)2 = m3

We saw the conversion of SOP to shorthand notation. Lets check the conversion of shorthand notation to
SOP.

Converting shorthand notation to Sum of Products (SOP)


Lets say, we have a boolean function F defined on two variables A and B. So, A and B are the inputs for F
and lets say, the minterms are expressed as shorthand notation given below.
F = ∑(1, 2, 3)
our task is to get the SOP.

F has two input variables A and B and output of F = 1 for m1, m2 and m3 i.e., 2nd, 3rd and 4th combination.

we have,
F = ∑(1, 2, 3)
= m1 + m2 + m3
= 01 + 10 + 11

To convert from shorthand notation to SOP we follow the given rules. If the variable is 1 then it is taken "as
is" and if the variable is 0 then we take its "complement".

F = ∑(1, 2, 3)
= A’B + AB’ + AB

And we have the required SOP

Product of Sums (POS)


A boolean expression consisting purely of Maxterms (sum terms) is said to be in canonical product of sums
form.

Example
Let’s say, we have a boolean function F defined on two variables A and B. So, A and B are the inputs for F
and let’s say, output of F is true i.e., F = 1 when only one of the input is true or 1.

now we draw the truth table for F

ABF
0 0 0
0 1 1
1 0 1
1 1 0

Now we will create a column for the maxterm using the variables A and B. If input is 1 we take the
complement of the variable and if input is 0 we take the variable as is.

A B F Maxterm
0 0 0 A+B
0 1 1 A + B'
1 0 1 A' + B
1 1 0 A' + B'

To get the desired canonical POS expression we will multiply the maxterms (sum terms) for which the
output is 0.

F = (A+B) . (A’+B’)

Converting Product of Sums (POS) to shorthand notation


From the previous example we have
F = (A+B).(A’+B’)
Now, let’s say we want to express the POS using shorthand notation.

we have F = (A+B).(A’+B’)

First we need to denote the maxterms in shorthand notation.

A+B = (00)2 = M0
A’+B’ = (11)2 = M3

Now we express F using shorthand notation.

F = M0.M3

This can also be written as F = ꞃ (0, 3)

We saw the conversion of POS to shorthand notation. Let’s check the conversion of shorthand notation to
POS.

Converting shorthand notation to Product of Sums (POS)


Let’s say, we have a boolean function F defined on two variables A and B so, A and B are the inputs for F
and let’s say, the maxterm are expressed as shorthand notation given below.

F = ꞃ (1, 2, 3)

Our task is to get the POS.

F has two input variables A and B and output of F = 0 for M1, M2 and M3 i.e., 2nd, 3rd and 4th combination.
we have, F = ꞃ (1, 2, 3)
= M1 . M2 . M3
= 01 . 10 . 11

To convert from shorthand notation to POS we follow the given rules. If the variable is 0 then it is taken as
is and if the variable is 1 then we take its complement.

we have, F = ꞃ (1, 2, 3)
= (A+B’) . (A’+B) . (A’+B’)

And we have the required POS.

Solve:

For this function the canonical SOP expression is

F = ∑( m1, m2, m3, m5 )

Which means that the function is true for the min terms {1, 2, 3, 5}.

By expanding the summation we get.

F = m1 + m2 + m 3 + m5

Now putting min terms in the expression

F = A̅B̅C + A̅BC̅ + A̅BC + AB̅C

Canonical form contains all inputs either complemented or non-complemented in its product terms.

You might also like