SOP and POS Lecture Notes
SOP and POS Lecture Notes
1
Definition 1.2. A product term is any Boolean expression consisting of literals (a variable or its com-
plement, e.g., xi or xi ) that are AND-ed together. It may contain fewer literals than the total number of
variables in the Boolean function.
Product Term Examples (may omit variables):
• x (single literal, 1-variable function).
• xy (2-literals, 2-variable function).
• yz (2-literals, 3-variable function; x is missing).
2
3 Product-of-Sums (POS) Form
A product-of-sums (POS) expression is a canonical representation of a Boolean function, structured as
a logical AND (product) of one or more sum (OR) terms. Each sum term consists of literals combined
with OR operations.
3.2 Example
For variables A, B, C, D, a valid POS expression:
F (A, B, C, D) = (A + B + C + D)(A + B + D)(C + D)(A + D)
• Each parenthesis represents a sum term
• The implied AND operation between terms is denoted by juxtaposition
3
Solution:
Sum of Products: To find a sum of products from a truth table:
• Identify the rows having output 1.
• For each such row, write the variable if the variable input is 1 or write the complement of the variable
if the variable input is 0, then multiply the variables forming a term.
• add all such terms.
Product of Sums To find a product of sums from a truth table:
• identify the rows having output 0.
• For each such row, write the variable if the variable input is 0 or write the complement of the variable
if the variable input is 1, then add the variables forming a sum
• Multiply all such sums.
Sum of Products (SOP):
(1, 1, 1) : A · B · C,
(1, 1, 0) : A · B · C,
(0, 1, 0) : A · B · C,
(0, 0, 0) : A · B · C.
Z = A · B · C + A · B · C + A · B · C + A · B · C.
(1, 0, 1) : (A + B + C),
(1, 0, 0) : (A + B + C),
(0, 1, 1) : (A + B + C),
(0, 0, 1) : (A + B + C).
Z = (A + B + C) · (A + B + C) · (A + B + C) · (A + B + C).
4
Output
A B C Y
1 1 1 0
1 1 0 0
1 0 1 1
1 0 0 0
0 1 1 0
0 1 0 0
0 0 1 1
0 0 0 0
i) Determine and simplify the logic expression for the output Y above.
Solution:
There are two rows with output 1’s and their corresponding binary values are 001 and 101 which
correspond to product terms ĀB̄C and AB̄C respectively.
The resulting expression for the output is
Y = ĀB̄C + AB̄C = (Ā + A)B̄C = 1.B̄C = B̄C.
ii) Sketch the logic circuit for the simplified expression.
Example 3.3. Derive the truth table for the Sum Of Product expressions
x̄ȳz̄ + x̄ȳz + x̄yz̄ + x̄yz + xyz
Solution:
x y z F Minterms
1 1 1 1 xyz
1 1 0 0
1 0 1 0
1 0 0 0
0 1 1 1 x̄yz
0 1 0 1 x̄yz̄
0 0 1 1 x̄ȳz
0 0 0 1 x̄ȳz̄
Example 3.4. Simplify the boolean expression P̄ Q̄R̄ + P̄ Q̄R + P̄ QR̄ + P̄ QR + P QR.
Solution: