Mid Lecture 2
Mid Lecture 2
Sum-of-Products, Product-of-Sum
Prepared By: Asif Mahfuz
Standardization
• All Boolean expression, regardless of their form, can be converted into either of the two
standard forms.
• The two standard forms are: Sum-of-Products (SOP) and Product-of-Sum (POS).
• Standardization makes evaluation, simplification and implementation of Boolean
expression much more systematic and easier.
ഥ𝐁
𝐅 𝐀, 𝐁, 𝐂 = 𝐀 ഥ 𝐂ത + 𝐀
ഥ 𝐁𝐂ത + 𝐀𝐁𝐂ത + 𝐀𝐁𝐂
ഥ 𝐂ത + 𝐀𝐁
𝐅 𝐀, 𝐁, 𝐂 = 𝐀
• For the function F = σ 2,3,5,7 :
a) Construct the truth table.
b) Implement the function.
Boolean Expression(POS) to Truth-Table
• Form a truth-table for the following Boolean expression.
𝐅 𝐀, 𝐁, 𝐂 = (𝐀 + 𝐁) ∙ (𝐁 ത
ഥ + 𝐂)
• In the first step, we will convert the POS to SPOS:
𝐅 𝐀, 𝐁, 𝐂 = 𝐀 + 𝐁 + 𝐂𝐂ത ∙ 𝐁 ഥ + 𝐂ത + 𝐀𝐀
ഥ
𝐅 𝐀, 𝐁, 𝐂 = (𝐀 + 𝐁 + 𝐂) ∙ (𝐀 + 𝐁 + 𝐂) ത ∙ (𝐁
ഥ + 𝐂ത + 𝐀) ∙ (𝐁
ഥ + 𝐂ത + 𝐀
ഥ)
• Once we have converted the expression to SPOS, now we can directly form the truth-table.
Function Implementation using POS
• For the function F = ς(1,2,5,6):
a) Construct the truth table.
b) Implement the function.
Solution:
Step 1 Step 2
Step 3 ഥ𝐁
𝐅 𝐀, 𝐁, 𝐂 = 𝐀 ഥ 𝐂ത + 𝐀 ഥ 𝐂ത + 𝐀𝐁𝐂
ഥ 𝐁𝐂 + 𝐀𝐁
• Now that we have the Boolean expression, we can simplify it and implement it.
Connecting the Dots between SOP and POS
• From the truth table determine the standard SOP expression and the equivalent POS
expression.
Standard SOP expression:
• Write down the sum of min terms of the
combinations for which the function is 1.
𝐅=𝐀 ഥ 𝐂ത + 𝐀𝐁
ഥ 𝐁𝐂 + 𝐀𝐁 ഥ 𝐂 + 𝐀𝐁𝐂ത + 𝐀𝐁𝐂
Equivalent POS expression:
• Write down the product of max terms of the
combinations for which the function is 0.
𝐅 = (𝐀 + 𝐁 + 𝐂) ∙ (𝐀 + 𝐁 + 𝐂)ത ∙ (𝐀 + 𝐁
ഥ + 𝐂)
𝐅=𝐀 ഥ 𝐂ത + 𝐀𝐁
ഥ 𝐁𝐂 + 𝐀𝐁 ഥ 𝐂 + 𝐀𝐁𝐂ത + 𝐀𝐁𝐂 𝐅ത = 𝐀
ഥ𝐁ഥ 𝐂ത + 𝐀
ഥ𝐁 ഥ 𝐁𝐂ത
ഥ𝐂 + 𝐀