Standard & Canonical Forms: Chapter Objectives
Standard & Canonical Forms: Chapter Objectives
Standard & Canonical Forms: Chapter Objectives
CHAPTER OBJECTIVES
Learn Binary Logic and BOOLEAN AlgebraLearn How to Map a Boolean
Expression into Logic Circuit Implementation Learn How To Manipulate
MinTerms
Consider a system of 3 input signals (variables) x, y, & z.
A term which ANDs all input variables, either in the true or complement form,
is called a minterm.
Thus, the considered 3-input system has 8 minterms, namely:
x y z,x y z,x y z, x y z,x y z,x y z,x y z & x y z
In general,
For n-input variables, the number of minterms = the total number of possible
input combinations = 2n.
A minterm = 0 at all input combinations except one where the minterm = 1.
MaxTerms
Consider a circuit of 3 input signals (variables) x, y, & z.
A term which ORs all input variables, either in the true or complement form,
is called a Maxterm.
With 3-input variables, the system under consideration has a total of 8
Maxterms, namely:
( x + y + z ), ( x + y + z ) , ( x + y + z ) , ( x + y + z ), ( x + y + z ) , ( x + y + z ) , ( x + y + z ) & ( x + y + z )
In general,
For n-input variables, the number of Maxterms = the total number of possible
input combinations = 2n.
A Maxterm = 1 at all input combinations except one where the Maxterm = 0.
Imprtant Result
Using De-Morgan’s theorem, or truth tables, it can be easily shown that:
n
M =mi i
∀i = 0,1, 2, ....., ( 2 − 1)
0 0 0 0 0 0 0 0 0 0
1 0 0 1 0 0 0 0 0 0
2 0 1 0 1 1 0 0 0 1
3 0 1 1 0 0 0 0 0 0
4 1 0 0 1 0 1 0 0 1
5 1 0 1 1 0 0 1 0 1
6 1 1 0 0 0 0 0 0 0
7 1 1 1 1 0 0 0 1 1
Example:
Consider the function F of the previous example.
i x y z F F`
We will, first, derive the sum of minterms expression for the
complement function F`.
0 0 0 0 0 1
The truth table of F` shows that F` equals 1 at i = 0, 1, 3 and 6, then, 1 0 0 1 0 1
2 0 1 0 1 0
F` = m0 + m1 + m3 + m6, i.e 3 0 1 1 0 1
F` = ∑(0, 1, 3, 6), (1) 4 1 0 0 1 0
5 1 0 1 1 0
F = ∑(2, 4, 5, 7) (2)
6 1 1 0 0 1
• Obviously, the sum of minterms expression of F` contains all 7 1 1 1 1 0
minterms that do not appear in the sum of minterms expression of F.
Using De-Morgan theorem on equation (2),
F = (m 2 + m 4 + m 5 + m 7 ) = m 2.m 4.m 5.m 7 = M 2.M 4.M 5.M 7
This form is designated as the Product of Maxterms and is expressed using the ∏
symbol, which is used to designate product in regular algebra, but is used to designate
AND-ing in Boolean algebra.
Thus,
F` = ∏ (2, 4, 5, 7) = M2. M4. M5. M7 (3)
In general, any function can be expressed both as a sum of minterms and as a product
of maxterms. Consider the derivation of F back from F` given in equation (3):
F = F = m 0 + m1 + m 3 + m 6 = m 0 . m1. m 3 . m 6 = M .M .M .M
0 1 3 6
F = ∑(2, 4, 5, 7) = ∏ (0, 1, 3, 6)
F` = ∏ (2, 4, 5, 7) = ∑ (0, 1, 3, 6)
Conclusions:
• Any function can be expressed both as a sum of minterms (∑ mi) and as a
product of maxterms. The product of maxterms expression (∏ Mj) expression
of F contains all maxterms Mj (∀ j ≠ i) that do not appear in the sum of
minterms expression of F.
• The sum of minterms expression of F` contains all minterms that do not
appear in the sum of minterms expression of F.
• This is true for all complementary functions. Thus, each of the 2n minterms
will appear either in the sum of minterms expression of F or the sum of
minterms expression of F but not both.
• The product of maxterms expression of F` contains all maxterms that do
not appear in the product of maxterms expression of F.
• This is true for all complementary functions. Thus, each of the 2n maxterms
will appear either in the product of maxterms expression of F or the product of
maxterms expression of F but not both.
Example:
Given that F (a, b, c, d) = ∑(0, 1, 2, 4, 5, 7), derive the product of maxterms
expression of F and the 2 standard form expressions of F`.
Since the system has 4 input variables (a, b, c & d) Æ The number of minterms and
Maxterms = 24= 16
F (a, b, c, d) = ∑(0, 1, 2, 4, 5, 7)
F` = ∏ (0, 1, 2, 4, 5, 7)
Canonical Forms:
The sum of minterms and the product of maxterms forms of Boolean expressions are
known as the canonical forms ( )ﺍﻟﺼﻴﻎ ﺍﻟﻘﺎﻨﻭﻨﻴﺔof a function.
Standard Forms:
• A product term is a term with ANDed literals*. Thus, AB, A’B, A’CD are all
product terms.
• A minterm is a special case of a product term where all input variables appear
in the product term either in the true or complement form.
• A sum term is a term with ORed literals*. Thus, (A+B), (A’+B), (A’+C+D) are
all sum terms.
• A maxterm is a special case of a sum term where all input variables, either in
the true or complement form, are ORed together.
• Boolean functions can generally be expressed in the form of a Sum of
Products (SOP) or in the form of a Product of Sums (POS).
• The sum of minterms form is a special case of the SOP form where all product
terms are minterms.
• The product of maxterms form is a special case of the POS form where all
sum terms are maxterms.
• The SOP and POS forms are Standard forms for representing Boolean
functions.
*
A Boolean variable in the true or complement forms
Two-Level Implementations of Standard Forms
Level 1
X
Z
Level 2
Y` F
Z
X`
Y
Z
Level 1
X
Z
Level 2
Y` F
Z
X`
Y
Z