



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Step 1: Draw the Karnaugh map that represents the expression by placing a mark in each appropriate square. Step 2: “Cover” the marked boxes as best you can ...
Typology: Exercises
1 / 7
This page cannot be seen from the preview
Don't miss anything!
y y’
y y’ x
x’
Examples involving just 2 variables:
The setup for two variables looks like this:
a. Simplify xy + xy’
Step 1 : Draw the Karnaugh map that represents the expression by placing a mark in each appropriate square.
Step 2 : “Cover” the marked boxes as best you can with ovals. Allowed coverings for this setup are limited to 2x1 rectangles. This example is covered by one 2x rectangle.
Step 3 : Expressions/rectangles that are covered can be reduced. Note that in this example the y and y’ will cancel out across the top – only the x at the left side of the map remains. Hence, xy + xy’ will be reduces to just x.
Step 4 : So, the minimial disjunctive form , sometimes called the “ minimal sum ,” equals x. The expression xy + xy’ will be logically equivalent to x. (Verify!)
b. Simplify xy + x’y + x’y’
Step 1 : Draw the Karnaugh map.
Step 2 : Attempt to cover all marked squared with as few rectangles as possible. All marked squares are covered here using just two ovals.
Step 3 : Two reductions can be made. (1) The horizontal oval eliminates y and y’ found across the top and leaves the x’ found at the left (2) The vertical oval eliminated the x and x’ found along the left and leaves only the y found at the top. Hence xy + x’y + x’y’ can be reduced to just x’ + y.
a b
c d
y y’
x
x’
where square “a” represents xy “b” represents xy’ “c” represents x’y “d” represents x’y’
x
x’
yz yz’ y’z’ y’z
x
x’
Step 4 : So, the minimal disjunctive form equals x’ + y. The expression xy + x’y + x’y’ will be logically equivalent to x’ + y. (Verify!)
c. Simplify xy + x’y’
Step 1 : Draw the Karnaugh map.
Step 2 : Attempt to cover all marked squared with as few rectangles as possible. Note that in this case it is impossible to cover the two rectangles with a 2x1 rectangle.
Step 3 : Consequently, in this case no reductions can be made. Hence it is already in minimal form.
Step 4 : So, the minimal disjunctive form is xy + x’y’ and cannot be reduced further.
The setup for three variables looks like this:
a. Simplify xyz + xyz’ + x’yz’ + x’y’z
Step 1 : Draw the Karnaugh that represents the expression by carefully placing a mark in each appropriate square.
Step 2 : Cover the marked boxes as best you can with ovals, using as few rectangles as possible. Allowed coverings for this expanded setup is now limited to 2x2, 1x4, and 1x2 rectangles. A good plan is to try to cover using a 2x2 first, then 1x4, and finally 2x1.
Step 3 : Two reductions can be made. (1) The horizontal oval eliminates z and z’ across the top; y has nothing to cancel it. On the left is x. Hence, the reduction here leaves xy. (2) The vertical oval eliminates the x and x’ along the left side leaving yz’ at the top. Hence the reduction for this oval leaves yz’. No rectangle is able to incorporate the lower rightmost square. This cannot be reduced.
Step 4 : So, the minimal disjunctive form is xy + yz’ + x’y’z and this will be logically equivalent to the given expression, xyz + xyz’ + x’yz’ + x’y’z.
a b c d
e f g H
x
x’
where square “a” represents xyz “e” represents x’yz “b” represents xy’z “f” represents x’y’z “c” represents x’yz’ “g” represents x’y’z’ “d” represents x’y’z’ “h” represents x’yz’
yz yz’ y’z’ y’z
y y’ x
x’
Step 4 : So, the minimal disjunctive form sought is either xy + yz’ + x’y’ or xy + x’z’ + x’y’ and each of these will be logically equivalent to the given expression, xyz + xyz’ + x’yz’ + x’y’z’ + x’y’z, as well as to each other.
The setup for four variables looks like this, where the representation of each small square is indicated within the square itself.
a. xy’x’t’ + xy’z’t
a. xyzt + xyzt’ + x’yzt + x’yzt’
xyzt xyzt’ xyz’t’ xyz’t
xy’zt xy’zt’ xy’z’t’ xy’z’t
x’y’zt x’y’zt’ x’y’z’t’ x’y’z’t
x’yzt x’yzt’ x’yz’t’ x’yz’t
zt zt’ z’t’ z’t
zt zt’ z’t’ z’t xy
xy’
x’y’
x’y
zt zt’ z’t’ z’t xy
xy’
x’y’
x’y
Step 1 : Carefully draw the Karnaugh map, making sure the headings are exactly like those in the “setup” diagram.
Step 2 : Cover the marked squares with as few rectangles as possible. In addition to the 1x2, 1x4 and 2x2 rectangles already considered, we now include 2x4 rectangles as well. Here one 1x rectangle covers both terms.
Step 3 : From this expression we can eliminate the t’ and t, leaving only z’ on top. To the left we find x’y’. Thus, the reduced expression is x’y’z’.
Step 4 : So, the minimal disjunctive form is x’y’z’ and this will be logically equivalent to the given expression, xy’x’t’ + xy’z’t.
Step 1 : Carefully draw the Karnaugh map.
Step 2 : Cover the marked squares with as few rectangles as possible. Recalling that the map can be rolled into a cylinder, a 2x2 rectangle can be drawn to cover all four marked squares.
Step 3 : Along the top we can eliminate the t’ and t, leaving only the z. Along the left we find x and x’ can be eliminated, leaving only the y. Thus, the reduced expression is y + z.
Step 4 : So, the minimal disjunctive form is y + z and this will be logically equivalent to the much more complicated expression, xyzt + xyzt’ + x’yzt + x’yzt’.
b. xyzt + xyz’t + xy’zt + xy’z’t + x’y’zt + x’y’z’t + x’yzt + x’yz’t
c.
b. xy’ + xyz + x’y’z’ + x’yzt’
c.
zt zt’ z’t’ z’t xy
xy’
x’y’
x’y
zt zt’ z’t’ z’t xy
xy’
x’y’
x’y
Step 1 : Carefully draw the Karnaugh map.
Step 2 : Cover the marked squares with as few rectangles as possible. Recalling that the map can be rolled into a cylinder, a 2x4 rectangle can be drawn in this case to cover all eight marked squares.
Step 3 : Along the top we can eliminate the z and z’, leaving the t only. Along the left we find that everything will be eliminated. Thus, the reduced expression is just t.
Step 4 : So, the minimal disjunctive form is just t and this will be logically equivalent to the much more complicated expression, xyzt + xyz’t + xy’zt + xy’z’t + x’y’zt + x’y’z’t + x’yzt + x’yz’t.
.
Step 1 : Carefully draw the Karnaugh map. Note how the term x’y marks all squares beginning with x’y (highlighted in blue). These all like along the x’y row. Further note how the term xyz will mark all squares that begin with xyz (highlighted in green), and the term x’y’z’ will mark all quares that begin with x’y’z’ (highlighted in red).
Step 2 : Cover the marked squares with as few rectangles as possible. Two 2x2 rectangles cover most of the marked squares. Note how the square along the bottom can be covered by wrapping around to the top of the map.
Step 3 : The 2x2 along the top will eliminate the t and t’, leaving the z, while along the left we find the elimination of y and y’, leaving x. The simplification here yields xz. The 2x2 found in the middle right will also eliminate the t and t’, leaving the z’, while along the left we find the elimination of x and x’, leaving y. The simplification here yields y’z’. Finally, the 1x2 that connects the top and bottom of the map eliminates along the left x and x’, leaving y from the left and zt’ from the top, yielding yzt’. Thus, the reduced expression is xz + y’z’ + yzt’. Step 4 : So, the minimal disjunctive form is xz + y’z’ + yzt’ and this will be logically equivalent to the more complicated expression, xy’ + xyz + x’y’z’ + x’yzt’.