Digital Logic · K-Map Minimization
Minimizing a Three-Variable Function by Combining Terms
Overview
Algebraic minimization of a three-variable Boolean function by pairwise combination of terms uses the identity .
Two terms that differ in exactly one literal are grouped, the common literals are factored out, and the complementary pair collapses to 1, removing one variable per combination.
The six-term, three-literal expression here reduces to a four-term, two-literal expression.
Key concepts
- Pairwise combination: Terms are grouped in pairs, common literals are factored out, and the complementary pair or collapses to 1, removing one variable per combination.
- Combining condition: Two terms can be combined only if they differ in exactly one variable (one has the variable, the other has its complement); all other literals must be identical.
- Distribution to sum of products: When a factored form like appears, distribute using to get a sum of products.
- Pairing order: Different pairing orders of the same terms can be tried; one pairing procedure is compared against another.
How it works
The function being minimized (six 3-literal terms):
- Combine and : common literals and , remaining , giving (since ).
- Combine and : common literals and , remaining , giving (since ). After these two combinations the expression becomes .
- Combine and : common literal , remaining , giving .
- Combine and : common literal , remaining , giving .
- Distribute the plus over the dot in : (using the distributive law ).
- Distribute the plus over the dot in :
Final minimized expression (4 terms, each with 2 literals):
Formulas
- — complement law, used to eliminate a variable when two terms differ in exactly one literal.
- — distributive/absorption form used when distributing plus over dot.
- — dual form, used in the same distribution step.
- — general combining rule, where is the set of common literals and is the variable that appears complemented in one term and uncomplemented in the other.
Worked examples
Minimize .
| Step | Terms combined | Common literals | Remaining | Result |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 | — | distribute | ||
| 6 | — | distribute |
Final answer:
Revision summary
- Two terms combine only if they differ in exactly one variable; every other literal must be identical.
- Pull out the common literals first, then use (or ) to drop the differing variable.
- A factored form such as must be distributed with to reach a sum of products.
- The six-term expression minimizes to (4 terms, 2 literals each).
- Different pairing orders of the same terms can be tried; compare the result of one pairing procedure against another.
Previous-year exam insights
- A K-map for n variables has cells in Gray-code order; groups must be rectangular, contain 1, 2, 4, 8, ... cells (powers of two), and may wrap around edges and corners.
- A group of adjacent cells eliminates k variables; the literals kept are those constant over the group (1 for uncomplemented, 0 for complemented).
- Don't-care conditions (X) may be treated as 1 or 0, whichever gives larger groups; they are never required to be covered.
- A prime implicant is a maximal group; an essential prime implicant covers at least one minterm not covered by any other prime implicant and must appear in every minimal SOP.
- For POS minimization, group the 0s and apply De Morgan (or read complemented literals) to obtain the product-of-sums form.
- Consensus theorem (and its dual) removes redundant terms; a term is redundant if its minterms are covered by other implicants.