Class 12 Computer
Class 12 Computer
CLASS 12
COMPUTER SCIENCE
Sum of Product is the abbreviated form of SOP. Sum of product form is a form of expression in
Boolean algebra in which different product terms of inputs are being summed together. This product is
not arithmetical multiply but it is Boolean logical AND and the Sum is Boolean logical OR.
To understand better about SOP, we need to know about min term.
Min Term
Minterm means the term that is true for a minimum number of combinations of inputs. That is true for
only one combination of inputs.
Since AND gate also gives True only when all of its inputs are true so we can say min terms are AND of
input combinations like in the table given below
.
3 inputs have 8 different combinations. Each combination has a min terms denoted by small m and its
decimal combination number written in subscript. Each of these minterms will be only true for the
specific input combination.
.
3 inputs have 8 different combinations so it will have 8 maxterms. Maxterms are denoted by capital M
and decimal combination number In the subscript as shown in the table given above.
In maxterm, each input is complemented because Maxterm gives ‘0’ only when the mentioned
combination is applied and Maxterm is complement of minterm.
M3 = m̅ 3
M3 = (A̅ BC)’
M3 = A + B̅ +C̅ DE Morgan’s law
Which is why for A=0 Max term consist A & for A=1 Max term consist A̅ .
We can represent the one canonical formed equation in other canonical form i.e. we can represent the
SOP form of equation in POS form and POS form equation in SOP form. To convert the canonical
equations, we interchange the Σ and Π symbols after listing out the index numbers of the equations,
which are excluded from the original form of equation.
The important thing to remember about Boolean functions is that, the SOP and POS forms are Duals to
each other. There are 2 steps to follow to convert the canonical form of the equations. They are
Step 2: Use the De Morgan’s principle of Duality to the index numbers of the Boolean function or
writing the indexes of the terms that are not presented in the given form of equation.
To convert the SOP form into POS form, first we should change the Σ to Π and then write the numeric
indexes of missing variables of the given Boolean function.
Example:
Step 2: writing the missing indexes of the terms, 001, 100 and 110. Now write the sum form for these
noted terms.
To convert the POS form into SOP form, first we should change the Π to Σ and then write the numeric
indexes of missing variables of the given Boolean function.
110 = A * B* C’ 111 = A * B * C
We can include all the variables in each product term of the SOP form equation, which doesn’t have all
the variables by converting into standard SOP form. The normal SOP form function can be converted to
standard SOP form by using the Boolean algebraic law, (A + A’ = 1) and by following the below steps.
Step 1:
By multiplying each non-standard product term with the sum of its missing variable and its complement,
which results in 2 product terms
Step 2:
By repeating the step 1, until all resulting product terms contain all variables
By these two steps we can convert the SOP function into standard SOP function. In this process, for
each missing variable in the function, the number of product terms will double.
Example:
Sol: F=xy+xz+yz
= x y z + x y z’ + x y z + x y’ z + x y z + x’ y z
= x y z + x y z’ + x y’ z + x’ y z
We can include all the variables in each product term of the POS form equation, which doesn’t have all
the variables by converting into standard POS form. The normal POS form function can be converted to
standard POS form by using the Boolean algebraic law, (A * A’ = 0) and by following the below steps.
Step 1:
By adding each non-standard sum term to the product of its missing variable and its complement, which
results in 2 sum terms
Step 2:
Applying Boolean algebraic law, A + BC = (A + B) * (A + C)
Step 3:
By repeating the step 1, until all resulting sum terms contain all variables
By these three steps we can convert the POS function into standard POS function.
Example:
F = (A’ + B + C) * (B’ + C + D’) * (A + B’ + C’ + D)
In the first term, the variable D or D’ is missing, so we add D*D’ = 1 to it. Then
(A’ + B + C + D*D’) = (A’ + B + C + D) * (A’ + B + C + D’)
Similarly, in the second term, the variable A or A’ is missing, so we add A*A’ = 1 to it. Then
(B’ + C + D’ + A*A’) = (A + B’ + C + D’) * (A’ + B’ + C + D’)
The third term is already in the standard form, as it has all the variables. Now the standard POS form
equation of the function is
F = (A’ + B + C + D) * (A’ + B + C + D’) * (A + B’ + C + D’) * (A’ + B’ + C + D’) * (A + B’ + C’ + D)
Assignment Work
Note: - Please do all this work in your copies which will be check when school be re-open.