Similar questions 9 more →
Logic Minimization & Karnaugh Maps


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.