In this note, we are going to learn about the Canonical Form of Boolean Expression with Examples. Welcome to Poly Notes Hub, a leading destination for notes of diploma and degree engineering students.
Author Name: Arun Paul.
Canonical Form of Boolean Expression With Examples
Here we have listed Canonical Product of Sum or POS Boolean Expression and Canonical Sum of Product or SOP Boolean Expression
Canonical Product of Sum Expression
This is defined as the logical product of all the maxterms derived from the rows of truth table, for which the value of function is 0. It is also known as the maxterm canonical form. The canonical product of sum expression can be given in a compact form by listing the decimal codes corresponding to the maxterms containing a function value of 0.
For example, if the canonical product of sum form of a 3-variable logic function Y has four maxterms – (A+B+C),(A+B’+C),(A’+B+C) and (A’+B’+C’),
then it can be expressed as the product of decimal codes as given below:
- Y=Π(0,2,4,7)
- =M0⋅M2⋅M4⋅M7
- =(A+B+C)(A+B’+C)(A’+B+C)(A’+B’+C’)
The following procedure can be used to obtain the canonical product of the sum form of a logic function:
- Examine each term in the given logic function. Retain it if it is a maxterm; continue to examine the next term in the same manner.
- Check for variables that are missing in each sum, which is not a maxterm. Add to the sum term, for each variable that is missing.
- Expand the expression using the distributive property and eliminate the redundant terms.
The above procedures can be explained with the following examples.
Canonical POS (Product of Sums) – Examples
Question 1:
Write the canonical POS for:
Y = ΠM(1, 3, 6)
Answer:
Y = (A + B + C′)(A + B′ + C′)(A′ + B′ + C)
Question 2:
Convert into canonical POS form.
Y = A + B′C
Answer:
Y = (A + B′ + C)(A + B + C′)(A + B + C)
Y = ΠM(0, 2, 4)
Question 3:
Write the canonical POS of:
Y = ΠM(0, 5, 7)
Answer:
Y = (A + B + C)(A′ + B + C′)(A′ + B′ + C′)
Canonical Sum of Product Expression
It is defined as the logical sum of all the minterms derived from the rows of a truth table, for which the value of the function is 1. It is also called a minterm canonical form. The canonical sum of product expression can be given in a compact form by listing the decimal codes in correspondence with the minterm containing a function value of 1.
For example, if the canonical sum of product form of a 3-variable logic function has three minterms A’B’C’, AB’C,and ABC’, this can be expressed as the sum of the decimal codes corresponding to these minterms as stated below:
- Y=Σm(0,5,6)
- =m0+m5+m6
- =A’B’C’+AB’C+ABC’
where represents the summation of minterms corresponding to the decimal codes 0, 5 and 6.
Using the following procedure, the canonical sum of product form of a logic function can be obtained:
- Examine each term in the given logic function. Retain it if it is a minterm; continue to examine the next term in the same manner.
- Check for variables that are missing in each product which is not a minterm.
Multiply the product by (X+X), for each variable X that is missing. - Multiply all the products and omit the redundant terms.
The above procedures can be explained with the following examples.
Canonical SOP (Sum of Products) – Examples
Question 1:
Convert into canonical SOP form.
Y = A′B + C
Answer:
Y = A′B(C + C′) + C(A + A′)(B + B′)
Y = A′BC + A′BC′ + ABC + AB′C
Y = Σm(1, 3, 6, 7)
Question 2:
Write the canonical SOP of:
Y = AB + AC
Answer:
Y = AB(C + C′) + AC(B + B′)
Y = ABC + ABC′ + AB′C
Y = Σm(5, 6, 7)
Question 3:
Express in canonical SOP form.
Y = A′ + BC
Answer:
Y = A′(B + B′)(C + C′) + BC(A + A′)
Y = A′BC + A′BC′ + A′B′C + A′B′C′ + ABC
Y = Σm(0, 1, 2, 3, 7)
Question 4:
Write the canonical SOP for:
Y = Σm(0, 2, 5, 7)
Answer:
Y = A′B′C′ + A′BC′ + AB′C + ABC
