Exercise 2: K-Map for xy + x'y — Possible Solution ==================================================================== GIVEN ------------------------------ f(x,y) = xy + x'y (same function as Exercise 1) STEP 1: BUILD THE TRUTH TABLE ------------------------------ x=0,y=0: f=0 x=0,y=1: f=1 x=1,y=0: f=0 x=1,y=1: f=1 STEP 2: DRAW THE 2x2 K-MAP ------------------------------ y=0 y=1 x=0 0 1 x=1 0 1 STEP 3: IDENTIFY THE GROUP OF ADJACENT 1s ------------------------------ The two 1-cells are at (x=0,y=1) and (x=1,y=1) - these sit in the same column (y=1) and are vertically adjacent, differing only in x. This is a group spanning the ENTIRE y=1 column - the widest possible group for a 2-variable map, meaning the variable that changes across the group (x) is eliminated entirely, leaving only the variable that stays fixed (y=1). RESULT ------------------------------ The K-map group gives: y This matches Exercise 1's own algebraically-derived result exactly (f(x,y) = y) - the same simplification, reached by spotting an adjacent pair on the grid instead of manipulating the algebraic expression. WHY THIS WORKS AS AN ANSWER ------------------------------ The K-map is built directly from the actual truth table (not guessed), the specific adjacency (differing only in x) is identified explicitly as the reason x drops out, and the result is cross-checked against Exercise 1's own independently-derived algebraic answer rather than presented as a fresh, unconnected result.