Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE) PDF Download

Introduction

We will get four Boolean product terms by combining two variables x and y with logical AND operation. These Boolean product terms are called as min terms or standard product terms. The min terms are x’y’, x’y, xy’ and xy.
Similarly, we will get four Boolean sum terms by combining two variables x and y with logical OR operation. These Boolean sum terms are called as Max terms or standard sum terms. The Max terms are x + y, x + y’, x’ + y and x’ + y’.

The following table shows the representation of min terms and MAX terms for 2 variables.

Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)

If the binary variable is ‘0’, then it is represented as complement of variable in min term and as the variable itself in Max term. Similarly, if the binary variable is ‘1’, then it is represented as complement of variable in Max term and as the variable itself in min term.
From the above table, we can easily notice that min terms and Max terms are complement of each other. If there are ‘n’ Boolean variables, then there will be 2n min terms and 2n Max terms.

Canonical SoP and PoS forms

A truth table consists of a set of inputs and output s. If there are ‘n’ input variables, then there will be 2n possible combinations with zeros and ones. So the value of each output variable depends on the combination of input variables. So, each output variable will have ‘1’ for some combination of input variables and ‘0’ for some other combination of input variables.
Therefore, we can express each output variable in following two ways.

  • Canonical SoP form
  • Canonical PoS form

Canonical SoP form
Canonical SoP form means Canonical Sum of Products form. In this form, each product term contains all literals. So, these product terms are nothing but the min terms. Hence, canonical SoP form is also called as sum of min terms form.
First, identify the min terms for which, the output variable is one and then do the logical OR of those min terms in order to get the Boolean expression function corresponding to that output variable. This Boolean function will be in the form of sum of min terms.

Follow the same procedure for other output variables also, if there is more than one output variable.
Example
Consider the following truth table.

Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)

Here, the output f is ‘1’ for four combinations of inputs. The corresponding min terms are p’qr, pq’r, pqr’, pqr. By doing logical OR of these four min terms, we will get the Boolean function of output f.
Therefore, the Boolean function of output is, f = p’qr + pq’r + pqr’ + pqr. This is the canonical SoP form of output, f. We can also represent this function in following two notations.
Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)
Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)
In one equation, we represented the function as sum of respective min terms. In other equation, we used the symbol for summation of those min terms.

Canonical PoS form
Canonical PoS form means Canonical Product of Sums form. In this form, each sum term contains all literals. So, these sum terms are nothing but the Max terms. Hence, canonical PoS form is also called as product of Max terms form.
First, identify the Max terms for which, the output variable is zero and then do the logical AND of those Max terms in order to get the Boolean expression function corresponding to that output variable. This Boolean function will be in the form of product of Max terms.
Follow the same procedure for other output variables also, if there is more than one output variable.

Example
Consider the same truth table of previous example. Here, the output f is ‘0’ for four combinations of inputs. The corresponding Max terms are p + q + r, p + q + r’, p + q’ + r, p’ + q + r. By doing logical AND of these four Max terms, we will get the Boolean function of output f.
Therefore, the Boolean function of output is, f = p+q+r.p+q+r′.p+q′+r.p′+q+r. This is the canonical PoS form of output, f. We can also represent this function in following two notations.

Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)
Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)
In one equation, we represented the function as product of respective Max terms. In other equation, we used the symbol for multiplication of those Max terms.
The Boolean function, Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE) is the dual of the Boolean function, f = p’qr + pq’r + pqr’ + pqr.
Therefore, both canonical SoP and canonical PoS forms are Dual to each other. Functionally, these two forms are same. Based on the requirement, we can use one of these two forms.

Standard SoP and PoS forms

We discussed two canonical forms of representing the Boolean outputs. Similarly, there are two standard forms of representing the Boolean outputs. These are the simplified version of canonical forms.

  • Standard SoP form
  • Standard PoS form

We will discuss about Logic gates in later chapters. The main advantage of standard forms is that the number of inputs applied to logic gates can be minimized. Sometimes, there will be reduction in the total number of logic gates required.

Standard SoP form
Standard SoP form means Standard Sum of Products form. In this form, each product term need not contain all literals. So, the product terms may or may not be the min terms. Therefore, the Standard SoP form is the simplified form of canonical SoP form.
We will get Standard SoP form of output variable in two steps.

  • Get the canonical SoP form of output variable
  • Simplify the above Boolean function, which is in canonical SoP form.

Follow the same procedure for other output variables also, if there is more than one output variable. Sometimes, it may not possible to simplify the canonical SoP form. In that case, both canonical and standard SoP forms are same.
Example
Convert the following Boolean function into Standard SoP form.
Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)
The given Boolean function is in canonical SoP form. Now, we have to simplify this Boolean function in order to get standard SoP form.
Step 1: Use the Boolean postulate, x + x = x. That means, the Logical OR operation with any Boolean variable ‘n’ times will be equal to the same variable. So, we can write the last term pqr two more times.
Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)Step 2: Use Distributive law for 1st and 4th terms, 2nd and 5th terms, 3rd and 6th terms.
Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)

Step 3: Use Boolean postulate, x + x’ = 1 for simplifying the terms present in each parenthesis.
Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)

Step 4: Use Boolean postulate, x.1 = x for simplifying above three terms.
Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)

This is the simplified Boolean function. Therefore, the standard SoP form corresponding to given canonical SoP form is f = pq + qr + pr

Standard PoS form
Standard PoS form means Standard Product of Sums form. In this form, each sum term need not contain all literals. So, the sum terms may or may not be the Max terms. Therefore, the Standard PoS form is the simplified form of canonical PoS form.
We will get Standard PoS form of output variable in two steps.

  • Get the canonical PoS form of output variable
  • Simplify the above Boolean function, which is in canonical PoS form.

Follow the same procedure for other output variables also, if there is more than one output variable. Sometimes, it may not possible to simplify the canonical PoS form. In that case, both canonical and standard PoS forms are same.
Example
Convert the following Boolean function into Standard PoS form.
Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)The given Boolean function is in canonical PoS form. Now, we have to simplify this Boolean function in order to get standard PoS form.
Step 1: Use the Boolean postulate, x.x = x. That means, the Logical AND operation with any Boolean variable ‘n’ times will be equal to the same variable. So, we can write the first term p+q+r two more times.
Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)Step 2: Use Distributive law, Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE) for 1st and 4th parenthesis, 2nd and 5th parenthesis, 3rd and 6th parenthesis

Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)

Step 3: Use Boolean postulate, x.x’=0 for simplifying the terms present in each parenthesis.

Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)
Step 4: Use Boolean postulate, x + 0 = x for simplifying the terms present in each parenthesis
Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)

This is the simplified Boolean function. Therefore, the standard PoS form corresponding to given canonical PoS form is f = p+q.q+r.p+r. This is the dual of the Boolean function, f = pq + qr + pr.
Therefore, both Standard SoP and Standard PoS forms are Dual to each other.

The document Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Digital Logic.
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
32 docs|15 tests

Top Courses for Computer Science Engineering (CSE)

32 docs|15 tests
Download as PDF
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Exam

,

study material

,

Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)

,

practice quizzes

,

shortcuts and tricks

,

Sample Paper

,

Free

,

Semester Notes

,

Summary

,

Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)

,

Extra Questions

,

MCQs

,

Viva Questions

,

ppt

,

Canonical & Standard Forms | Digital Logic - Computer Science Engineering (CSE)

,

pdf

,

Previous Year Questions with Solutions

,

past year papers

,

Objective type Questions

,

video lectures

,

mock tests for examination

,

Important questions

;