Digital Electronics: Kwame Oteng Gyasi Lecture 4: Boolean Algebra
Digital Electronics: Kwame Oteng Gyasi Lecture 4: Boolean Algebra
Ans:
Determining Minimum SOP Expression from the Map
• When all the 1s representing the standard product
terms in an expression are properly mapped and
grouped, the process of determining the resulting
minimum SOP expression begins.
• The following rules are applied to find the minimum
product terms and the minimum SOP expression:
1. Group the cells that have 1s. Each group of cells
containing 1s creates one product term composed of
all variables that occur in only one form (either
uncomplemented or complemented) within the group.
• Variables that occur both uncomplemented and
complemented within the group are eliminated.
• These are called contradictory variables.
Determining Minimum SOP Expression from the Map
2. Determine the minimum product term for each group.
(a) For a 3-variable map:
• (1) A 1-cell group yields a 3-variable product term
• (2) A 2-cell group yields a 2-variable product term
• (3) A 4-cell group yields a 1-variable term
• (4) An 8-cell group yields a value of 1 for the expression
(b) For a 4-variable map:
• (1) A 1-cell group yields a 4-variable product term
• (2) A 2-cell group yields a 3-variable product term
• (3) A 4-cell group yields a 2-variable product term
• (4) An 8-cell group yields a 1-variable term
• (5) A 16-cell group yields a value of 1 for the expression
3. When all the minimum product terms are derived from the
Karnaugh map, they are summed to form the minimum SOP
expression.
Example
1. Determine the product terms for the Karnaugh
map in the Figure below and write the resulting
minimum SOP expression.
Example
1. Determine the product terms for each of the
Karnaugh maps in the Figure below and write the
resulting minimum SOP expression.
Ans:
Example
1. Use a Karnaugh map to minimize the following
standard SOP expression: AB’C + A’BC + A’B’C +
A’B’C’ + AB’C’.
Ans:
B’ + A’C
Ans: a = A + C + BD + B’D'
Mapping a Standard POS Expression
• For a POS expression in standard form, a 0 is placed on the Karnaugh
map for each sum term in the expression.
• Each 0 is placed in a cell corresponding to the value of a sum term.
• For example, for the sum term A + B + C, a 0 goes in the 010 cell on a 3-
variable map.
• When a POS expression is completely mapped, there will be a number
of 0s on the Karnaugh map equal to the number of sum terms in the
standard POS expression.
• The cells that do not have a 0 are the cells for which the expression is 1.
• Usually, when working with POS expressions, the 1s are left off.
• The following steps and the illustration in the next slide show the
mapping process.
Step 1: Determine the binary value of each sum term in the standard POS
expression. This is the binary value that makes the term equal to 0.
Step 2: As each sum term is evaluated, place a 0 on the Karnaugh map in
the corresponding cell.
Mapping a Standard POS Expression
Example
1. Map the following standard POS expression on a
Karnaugh map:
(A’ + B’ + C + D)(A’ + B + C’ + D’)(A + B + C’ + D)(A’ + B’
+ C’ + D’)(A + B + C’ + D’)
Ans:
Karnaugh Map Simplification of POS Expressions
• The process for minimizing a POS expression is
basically the same as for an SOP expression except
that you group 0s to produce minimum sum terms
instead of grouping 1s to produce minimum product
terms.
• The rules for grouping the 0s are the same as those
for grouping the 1s that done previously
TRY
1. Use a Karnaugh map to minimize the following
standard POS expression:
(A+B +C)(A + B + C’)(A + B’ + C)(A + B’ + C’)(A’ + B’ + C)
**Also, derive the equivalent SOP expression.**
Ans:
Converting Between POS & SOP Using Karnaugh Map
• When a POS expression is mapped, it can easily be
converted to the equivalent SOP form directly from the
Karnaugh map.
• Also, given a mapped SOP expression, an equivalent POS
expression can be derived directly from the map.
• This provides a good way to compare both minimum forms
of an expression to determine if one of them can be
implemented with fewer gates than the other.
• For a POS expression, all the cells that do not contain 0s
contain 1s, from which the SOP expression is derived.
• Likewise, for an SOP expression, all the cells that do not
contain 1s contain 0s, from which the POS expression is
derived.
• The Example in the next slide illustrates this conversion.
Example
1. Using a Karnaugh map, convert the following
standard POS expression into a minimum POS
expression, a standard SOP expression, and a
minimum SOP expression.
(A’ + B’ + C + D)(A + B’ + C + D)(A + B + C + D’)(A + B +
C’ + D’)(A’ + B + C + D’)(A + B + C’ + D)
Converting Between POS & SOP Using Karnaugh Map