GATE / CS ARCHIVE

GATE CSE 1997 / QUESTION 71(a)

Minimal SOP of a five-factor function

Digital Logic · Logic Minimization & Karnaugh Maps · Full GATE CSE 1997 paper

GATE 1997, Q71(a) 3 marks · Descriptive
Report issue

Logic Minimization & Karnaugh Maps

Question 71(a), GATE 1997: f=(¬w+y)(¬x+y)(w+¬x+z)(¬w+z)(¬x+z), where + is Boolean OR, juxtaposition is AND, and ¬ is complement. Express f in minimal sum-of-products form. The source requests only the answer; the derivation is included for learning.
Question 71(a), GATE 1997: f=(¬w+y)(¬x+y)(w+¬x+z)(¬w+z)(¬x+z), where + is Boolean OR, juxtaposition is AND, and ¬ is complement. Express f in minimal sum-of-products form. The source requests only the answer; the derivation is included for learning.
Tap to enlarge
Answer & solution

Answer: f=¬w¬x+yz. (no official key was published)

Group the two factors sharing ¬w and the two sharing ¬x. The Boolean identity (a+b)(a+c)=a+bc gives
(¬w+y)(¬w+z)=¬w+yz,
(¬x+y)(¬x+z)=¬x+yz.
Applying the same identity with the common term yz gives (¬w+yz)(¬x+yz)=¬w¬x+yz. The original function is therefore (¬w¬x+yz)(w+¬x+z).

The remaining factor is redundant. Whenever ¬w¬x=1, its term ¬x makes w+¬x+z true. Whenever yz=1, its term z makes that factor true. Thus multiplying by it changes neither product term and f=¬w¬x+yz.

To justify minimality, not just equivalence, consider the true input 0000 in variable order wxyz. Any implicant covering it must require w=0 and x=0: changing w alone gives 1000, which is false, and changing x alone gives 0100, which is false. Its largest covering cube is therefore ¬w¬x. At 1111, changing y alone or z alone makes f false, so an implicant covering that point must require y=z=1. Its largest covering cube is yz. A single product cannot cover both 0000 and 1111 without allowing false inputs, since they disagree on every variable. Hence at least two terms and at least four literals are needed. The expression above uses exactly two two-literal terms and is minimal.

As a separate finite check, its 1-minterms are 0,1,2,3,7,11,15. Evaluating all 16 assignments agrees with the visually read five-factor source formula.

Original paper, page 10