(b)
A \(K{\bf{ - }}\)map for a function in four variables has a table with four columns \(yz,y\bar z,\bar y\bar z\) and \(\bar yz\); which contains all possible combinations of \({\bf{y}}\) and \({\bf{z}}\) and four \(wx,w\bar x,\bar w\bar x\) and \(\bar wx\); which contains all possible combinations of \({\bf{y}}\) and \({\bf{z}}\).
You place a \(d\) in all cells in the first row and in the first two cells in the second row.
You place a \({\bf{1}}\) in the cell corresponding to a digit that is larger than \(6\) (The numbers \(0\) to \(6\) are represented by
\(0000/\bar w\bar x\bar y\bar z,0001/\bar w\bar x\bar yz,0010/\bar w\bar xy\bar z,0011/\bar w\bar xyz,0100/\bar wx\bar y\bar z,0101/\bar wx\bar yz,0110/\bar wxy\bar z\)
The largest block containing \(w\bar x\bar yz\) is \(w\), because all values in the rows with \(wx\) and \(w\bar x\) are \(d\) or \({\bf{1}}\).
The largest block containing \(\bar wxyz\) is \({\bf{xy}}\), because all cells corresponding to both \({\bf{y}}\) and \(x\) have a value of \({\bf{1}}\) or \(d\).
The corresponding sum-of-products expansion is then the sum of the two blocks:
Therefore, the sum-of-products expansion \({\bf{ = }}w{\bf{ + xy}}\).