← 2021 Paper 2

UPSC 2021 Maths Optional Paper 2 Q6b — Step-by-Step Solution

15 marks · Section B

Boolean algebra · Numerical Analysis · asked 15× in 13 yrs · Read the full method →

Question

Obtain Boolean function F(x,y,z)F(x,y,z) from given truth table. Simplify and draw GATE network.

Technique

K-map simplification; recognise majority function pattern.

Solution

Given truth table:

xxyyzzFF
1111
1101
1011
1000
0111
0100
0010
0000

Step 1 — Identify rows where F=1F=1

Rows: (1,1,1),(1,1,0),(1,0,1),(0,1,1)(1,1,1),(1,1,0),(1,0,1),(0,1,1).

Step 2 — Sum of minterms (DNF)

F=xyz+xyzˉ+xyˉz+xˉyzF=xyz+xy\bar z+x\bar y z+\bar x y z.

Step 3 — Simplify

Group: xy(z+zˉ)+yˉz(xˉxy(z+\bar z)+\bar y z(\bar x\to… let me try Karnaugh map.

K-map (3 variables x,y,zx,y,z):

yˉzˉ\bar y\bar zyˉz\bar y zyzyzyzˉy\bar z
xˉ\bar x0010
xx0111

Group of 4: cells (x,yzˉ),(x,yz),(xˉ,yz)(x,y\bar z), (x,yz), (\bar x,yz) — wait, let me re-look.

Cells where F=1F=1:

Group 1: row xx, all four cells: cells (x,yˉz),(x,yz),(x,yzˉ)(x,\bar y z), (x,yz), (x,y\bar z) — only 3 of 4 in row xx are 1 (not yˉzˉ\bar y\bar z). So can’t take whole row.

Group 1: (x,yz)(x,yz) and (x,yzˉ)(x,y\bar z) — gives xyxy. Group 2: (x,yz)(x,yz) and (x,yˉz)(x,\bar y z) — gives xzxz. Group 3: (xˉ,yz)(\bar x,yz) and (x,yz)(x,yz) — gives yzyz.

So F=xy+xz+yzF=xy+xz+yz (with overlap at xyzxyz, but that’s fine for SOP).

Verify:

All match.

Answer

  F=xy+yz+zx.  \boxed{\;F=xy+yz+zx.\;}
We post more of this — worked solutions, CSAT trap breakdowns, guide chapters — a few times a week on Telegram. Free, no sign-in. Join

This solution is part of the Maths Coverage Map — 13 years, mapped. Get the take-away PDF free.