Week 3
Week 3
One law can be obtained by applying the principle of duality to the other law. OR associative law is
also known as the law of addition.
For three variables X, Y, and Z, OR associativity is written as
X + (Y + Z) = (X + Y) + Z
The logic implementation of LHS and RHS is shown in Figure 15. These two implementations yield
the same output for different combinations of input variables, which can be verified using the truth
table method.
Figure 15: OR associativity law.
By applying the principle of duality, AND associative law is obtained. AND associative law is also
known as the law of multiplication. For three variables, it can be written as
X (YZ) = (XY) Z
The logic implementation of LHS and RHS is shown in Figure 16. Here also, both implementations
yield the same output for different input combinations.
Solution:
F = X (XY + Z) [Apply Distributive Law]
🡺 XXY + XZ [Apply Idempotent Law]
🡺 XY + XZ [Apply Distributive Law]
🡺 X (Y + Z)
IC requirement is as follows:
Boolean Functions: SOP and POS
3.3.1: Boolean Functions: Standard and Canonical Forms
Logical functions are expressed in terms of logical variables. The values assumed by the logical
functions and the logical variables are in binary form. There are two ways of expressing Boolean
expressions.
1. Sum of products form (SOP)
2. Product of sums form (POS)
Consider the logic circuit given in Figure 1. The logic circuit output is given by
F = WX + YZ
Consider a three-variable truth table shown in Figure 3, with three variables, X, Y, and Z, and can
have eight combinations.
Figure 3: Truth table for three variable SOP function.
Each combination represents one product term. For example, when X = 0, Y = 0, Z = 1, the product
term is X’Y’Z’. The eight product terms are known as minterms and are denoted as m0, m1, m2 to
m7. Note that minterms are denoted by lowercase “m.” Two-variable truth tables will have four
minterms, whereas four-variable truth tables will have 16 minterms.
The sum of product expression for the given truth table is
f = X’Y’Z + X’YZ + XYZ’ + XYZ.
Sometimes Boolean expression is expressed in terms minterms and is given by
f = m1 + m3 + m6 + m7
🡺 ∑ m (1, 3, 6, 7)
Figure 4 shows the product of sums expression for the given truth table. The product of sums
expression is one in which different “sum” terms from inputs are “ANDed” together. A variable
whose value is zero is represented in normal form, and if its value is one, it is represented in
complement form. That is, if the value of X is zero, then it is represented as X and if the value of X is
1, then it is represented as X’. For x = 0, y = 0, and z = 0, the sum term is written as x + y + z and for
x = 0, y = 0, and z = 1, the sum term is written as x + y + z’. The sum terms are known as maxterms.
Maxterms are represented as M0, M1, M2 to M7. Note that M should be written in uppercase.
Figure 4: Truth table for three variable POS function.
To write the product of sums form of a Boolean expression, first, identify the max terms for which the
output is zero. As seen in the truth table, there are four places where the output is zero. The final
Boolean expression will contain these four max terms. POS expression is given by
f = (X+Y+Z) * (X+Y’+Z) * (X’+Y+Z) * (X’+Y+Z’).
= M0.M2.M4.M5🡺M(0,2,4,5)
3.3.3: Boolean Functions: Exercise
There are two ways of expressing Boolean expressions: canonical form and standard form.
Canonical forms express all binary variables in every product or sum term of the Boolean function,
whereas the standard form is a simplified version of the canonical form. Following is the procedure
for converting expression in standard SOP form to canonical form.
● Examine each term in the given logic function.
● Retain the term, if it is a minterm or else find out the missing variable in the term.
● If the missing variable is X, then multiply the product term with (X+X’).
● Multiply all the products and discard the redundant terms.