6 Canonical Form
6 Canonical Form
Minterms
Binary variable: 𝑥 𝑥 Normal Form
𝑥 , 𝑥′ Complement Form
Each Maxterms are complement of its corresponding minterms ,and vice versa.
mj = Mj and Mj = mj
N variables 2𝑁 maxterms
Complement of f1’
Property of Boolean Algebra
• Any Boolean expression can be expressed as a sum of minterms / ORing of
minterms/ Sum of Products
• Any Boolean expression can be expressed as a Product of maxterms /
ANDing of maxterms/ Product of Sums
• sum of minterms and Product of maxterms are said to be Canonical
forms.
Canonical forms of Boolean expression.
1.Sum of Products form (SOP)/Sum of Minterms(SOM)
2.Product of Sums form (POS)/Product of Maxterms(POM)
B,C A
Variables in the function: A, B, C
First term: A = A(1)(1) = A(B+B’)(C+C’) = (AB + AB’)(C+C’) = ABC + ABC’ + AB’C + AB’C’
𝐹 𝐴, 𝐵, 𝐶 = 𝑚(1,4,5,6,7)
𝐶𝑜𝑚𝑝𝑙𝑒𝑚𝑒𝑛𝑡, 𝐹 ′ 𝐴, 𝐵, 𝐶 = 𝑚 0,2,3 = 𝑚0 + 𝑚2 + 𝑚3
x y z F
0 0 0 0 In SOM form,
𝐹 𝐴, 𝐵, 𝐶 = = 𝑚(1,3,6,7)
0 0 1 1
0 1 0 0
0 1 1 1 𝑆𝑖𝑛𝑐𝑒 𝑡𝑟𝑒𝑒 𝑣𝑎𝑟𝑖𝑎𝑏𝑙𝑒𝑠 are present,
total no of minterms = 8
1 0 0 0
Missing terms: 0,2,4,5
1 0 1 0
1 1 0 1
1 1 1 1 In POM form,
𝐹 𝐴, 𝐵, 𝐶 = = 𝑀(0,2,4,5)
Standard Forms (NOT Unique)
𝐹 𝑤, 𝑥, 𝑦, 𝑧 = 𝑀 0,1,2,3,4,6,12
In POS form,
𝐹 𝑤, 𝑥, 𝑦, 𝑧 = 𝑀 0,1,2,3,4,6,12
Since 4 variables expression ,16 maxterms are possible
Missing terms: 5,7,8,9,10,11,13,14,15
In POS form,
𝑭 𝒘, 𝒙, 𝒚, 𝒛 = 𝒎(5,7,8,9,10,11,13,14,15 )
Example
* Convert the given Boolean expression into canonical SOP form
𝑌 = 𝐴𝐶 + 𝐴𝐵 + 𝐵𝐶
𝑌 = 𝐴𝐶. 1 + 𝐴𝐵. 1 + 𝐵𝐶. 1 = 𝐴𝐶. 𝐵 + 𝐵′ + 𝐴𝐵. 𝐶 + 𝐶 ′ + 𝐴 + 𝐴′ . 𝐵𝐶
= 𝐴𝐵𝐶 + 𝐴𝐵′ 𝐶 + 𝐴𝐵𝐶 + 𝐴𝐵𝐶′ + 𝐴𝐵𝐶 + 𝐴′ 𝐵𝐶
Y = 𝐴𝐵𝐶 + 𝐴𝐵′ 𝐶 + 𝐴𝐵𝐶 ′ + 𝐴′ 𝐵𝐶
= 𝑚3 + 𝑚5 + 𝑚6 + 𝑚7 = (3,5,6,7)
F = x’+x(x+y’)(y+z’)
= x’+* x(x+y’)(y+z’)+ 𝑎 + 𝑏𝑐𝑑 = (𝑎 + 𝑏)(𝑎 + 𝑐)(𝑎 + 𝑑)
F = (x’+x)(x’+x+y’)(x’+y+z’)
F = (1)(1+y’)(x’+y+z’) = (1+y’)(x’+y+z’)
=(1)(x’+y+z’) = x’+y+z’ F= M5 = 𝑀(5) 𝑌 = 𝑀(101)
Example
* Convert the given Boolean expression into canonical POS form
𝑌 = 𝐴(𝐴 + 𝐵)(𝐴 + 𝐵 + 𝐶)
𝑌 = 𝐴+0+0 𝐴+𝐵+0 𝐴+𝐵+𝐶
= 𝐴 + 𝐵𝐵 + 𝐶𝐶 A + B + C𝐶 ( 𝐴 + 𝐵 + 𝐶)
𝑌 = 𝐴+𝐵+𝐶 𝐴+𝐵+𝐶 𝐴+𝐵+𝐶 𝐴+𝐵+𝐶 𝐴+𝐵+𝐶 A + B + C ( 𝐴 + 𝐵 + 𝐶)
𝑦(𝑎, 𝑏, 𝑐) = 𝑚(1,3,5,7)
𝑦= 𝑚(1,3,5,7) = 𝑎 𝑏 𝑐 + 𝑎 𝑏 𝑐 + 𝑎 𝑏 c + a b c
= 𝑎 𝑐(𝑏 + 𝑏 ) + 𝑎 c ( 𝑏+ b)
= 𝑎 𝑐 + 𝑎 c =c ( 𝑎+a)
y=c
Example
* Simplify the following Boolean expression
𝑌 = 𝑀(3,5,7)
𝑌 =(A+B’+C’)(A’+B+C’)(A’+B’+C’)
𝑌 =(AA’+A’B’+A’C’+AB+BB’+BC’+AC’+B’C’+C’C’) ( A’+B’+C’)
𝑌 =(A’B’+A’C’+AB+BC’+AC’+B’C’) ( A’+B’+C’)
𝑌 = A’A’B’+A’A’C’+A’AB+A’BC’+A’AC’+A’B’C’+A’B’B’+A’B’C’+AB’B+B’BC’+AB’C’
+B’B’C’+ A’B’C’+A’C’C’+ABC’+BC’C’+AC’C’+B’C’C’
𝑌 = A’ B’+A’C’+A’BC’+A’B’C’+A’ B’+A’B’C’+AB’C’+B’C’+
A’B’C’+A’C’+ABC’+BC’+AC’+B’C’
𝑌 = A’ B’+A’C’+BC’+AC’+B’C’ =A’B’+C’(A+A’)+C’(B+B’)
𝑌 = A’ B’+C’
𝐴𝑙𝑡𝑒𝑟𝑛𝑎𝑡𝑖𝑣𝑒𝑙𝑦 𝐶𝑜𝑛𝑣𝑒𝑟𝑡 𝑃𝑂𝑆 𝑓𝑜𝑟𝑚 𝑡𝑜 𝑆𝑂𝑃 𝑓𝑜𝑟𝑚 𝑏𝑦 𝑐𝑜𝑚𝑝𝑙𝑒𝑚𝑒𝑡 𝑝𝑟𝑜𝑝𝑒𝑟𝑡𝑦 ,
𝑡𝑒𝑛 𝑆𝑖𝑚𝑝𝑙𝑖𝑓𝑖𝑐𝑎𝑡𝑖𝑜𝑛 𝑐𝑎𝑛 𝑏𝑒 𝑑𝑜𝑛𝑒.