1. Gyanastra
  2. Digital Logic
  3. K-Map Minimization
  4. Minimizing a Three-Variable Function by Combining Terms
Free lesson, no account needed 5 min read 6 practice questions after it
Asked in past papers1 time
  • UGC NET2005

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 A+A′=1A + A' = 1.
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 (y+y′)(y + y') or (x+x′)(x + x') 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 z′(x′+xy′)z'(x' + xy') appears, distribute using A+A′B=A+BA + A'B = A + B 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): F=x′yz′+x′y′z′+xyz+x′y′z+xy′z′+xy′zF = x'yz' + x'y'z' + xyz + x'y'z + xy'z' + xy'z

  1. Combine x′yz′x'yz' and x′y′z′x'y'z': common literals x′x' and z′z', remaining y+y′y + y', giving x′z′(y+y′)=x′z′x'z'(y + y') = x'z' (since y+y′=1y + y' = 1).
  2. Combine xyzxyz and x′yzx'yz: common literals yy and zz, remaining x+x′x + x', giving yz(x+x′)=yzyz(x + x') = yz (since x+x′=1x + x' = 1). After these two combinations the expression becomes x′z′+xy′z′+yz+xy′zx'z' + xy'z' + yz + xy'z.
  3. Combine x′z′x'z' and xy′z′xy'z': common literal z′z', remaining x′+xy′x' + xy', giving z′(x′+xy′)z'(x' + xy').
  4. Combine yzyz and xy′zxy'z: common literal zz, remaining y+xy′y + xy', giving z(y+xy′)z(y + xy').
  5. Distribute the plus over the dot in z′(x′+xy′)z'(x' + xy'): z′[x′+xy′]=z′[(x′+x)(x′+y′)]=z′[1⋅(x′+y′)]=z′(x′+y′)=x′z′+y′z′z'[x' + xy'] = z'[(x' + x)(x' + y')] = z'[1 \cdot (x' + y')] = z'(x' + y') = x'z' + y'z' (using the distributive law A+A′B=(A+A′)(A+B)=A+BA + A'B = (A + A')(A + B) = A + B).
  6. Distribute the plus over the dot in z(y+xy′)z(y + xy'): z[y+xy′]=z[(y+x)(y+y′)]=z[(y+x)⋅1]=z(y+x)=yz+xzz[y + xy'] = z[(y + x)(y + y')] = z[(y + x) \cdot 1] = z(y + x) = yz + xz

Final minimized expression (4 terms, each with 2 literals): F=x′z′+y′z′+yz+xzF = x'z' + y'z' + yz + xz

Formulas

  • A+A′=1A + A' = 1 — complement law, used to eliminate a variable when two terms differ in exactly one literal.
  • A+A′B=A+BA + A'B = A + B — distributive/absorption form used when distributing plus over dot.
  • (A+B)(A+B′)=A(A + B)(A + B') = A — dual form, used in the same distribution step.
  • P⋅Q+P⋅Q′=PP \cdot Q + P \cdot Q' = P — general combining rule, where PP is the set of common literals and QQ is the variable that appears complemented in one term and uncomplemented in the other.

Worked examples

Minimize F=x′yz′+x′y′z′+xyz+x′y′z+xy′z′+xy′zF = x'yz' + x'y'z' + xyz + x'y'z + xy'z' + xy'z.

StepTerms combinedCommon literalsRemainingResult
1x′yz′+x′y′z′x'yz' + x'y'z'x′z′x'z'y+y′=1y + y' = 1x′z′x'z'
2xyz+x′yzxyz + x'yzyzyzx+x′=1x + x' = 1yzyz
3x′z′+xy′z′x'z' + xy'z'z′z'x′+xy′x' + xy'z′(x′+xy′)z'(x' + xy')
4yz+xy′zyz + xy'zzzy+xy′y + xy'z(y+xy′)z(y + xy')
5z′(x′+xy′)z'(x' + xy')—distributex′z′+y′z′x'z' + y'z'
6z(y+xy′)z(y + xy')—distributeyz+xzyz + xz

Final answer: F=x′z′+y′z′+yz+xzF = x'z' + y'z' + yz + xz

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 y+y′=1y + y' = 1 (or x+x′=1x + x' = 1) to drop the differing variable.
  • A factored form such as z′(x′+xy′)z'(x' + xy') must be distributed with A+A′B=A+BA + A'B = A + B to reach a sum of products.
  • The six-term expression x′yz′+x′y′z′+xyz+x′yz+xy′z′+xy′zx'yz' + x'y'z' + xyz + x'yz + xy'z' + xy'z minimizes to x′z′+y′z′+yz+xzx'z' + y'z' + yz + xz (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 2n2^{n} 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 2k2^{k} 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 AB+A′C+BC=AB+A′CAB + A'C + BC = AB + A'C (and its dual) removes redundant terms; a term is redundant if its minterms are covered by other implicants.
Pages 1–2 of 2