Lecture What is a Karnaugh Map
Lecture What is a Karnaugh Map
K-map Rules
The complex Boolean expressions can be simplified by following the
K-map rules as given below.
• Based on the number of variables present in the given Boolean
expression, select the corresponding K-map. That is, it might be
either 2 variable k-map or 3 variable K-map or 4 variable k-map
or 5 variable k-map.
• Determine the type of given Boolean expression. It might be in
the form of SOP (minterms) or POS (max terms).
• If the given equation is in SOP form, then the cells of the
respective k-map minterms are placed with binary value ‘1’.
• If the given equation is in POS form, then the cells of the
respective K-map max terms are placed with binary value ‘0’.
• Now, the grouping of the maximum number of variables is done
with the power of 2 like 2, 4, 8, etc. Grouping of variables could
be horizontal and vertical, but not in diagonal. Grouping if
variables can overlap to obtain the simplified equation.
• From the obtained groups, the minimized Boolean expression is
determined. That means product terms are found and added up
to convert them into SOP form.
The Karnaugh map uses the following rules for the simplification
of expressions by grouping together adjacent cells containing ones
• Groups may not include any cell containing a zero
Summmary:
1. No zeros allowed.
2. No diagonals.
3. Only power of 2 number of cells in each group.
4. Groups should be as large as possible.
5. Every one must be in at least one group.
6. Overlapping allowed.
7. Wrap around allowed.
8. Fewest number of groups possible.
f = AB + AC + BC̅D