← 2023 Paper 2

UPSC 2023 Maths Optional Paper 2 Q7a-ii — Step-by-Step Solution

7.5 marks · Section B

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

Question

Express the Boolean function

f(x,y,z)=x+(xy+xz)+zf(x,y,z)=x+\overline{(\overline{x}\cdot\overline{y}+\overline{x}\cdot z)}+z

in disjunctive normal form (DNF) and construct the truth table for the function.

Technique

De Morgan to remove the complement; identity ABˉ+B=A+BA\bar B+B=A+B to absorb the yzˉ+zy\bar z+z term.

Solution

Step 1 — Simplify the complemented bracket using De Morgan

xˉyˉ+xˉz=xˉ(yˉ+z)=xˉ+yˉ+z=x+(yzˉ).\overline{\bar x\bar y+\bar x z}=\overline{\bar x(\bar y+z)}=\overline{\bar x}+\overline{\bar y+z}=x+(y\bar z).

So

f=x+[x+yzˉ]+z=x+yzˉ+z(using x+x=x).f=x+\bigl[x+y\bar z\bigr]+z=x+y\bar z+z\quad(\text{using }x+x=x).

Step 2 — Absorb yzˉ+zy\bar z+z

Using the identity ABˉ+B=A+BA\bar B+B=A+B (with A=y,B=zA=y,B=z):

yzˉ+z=y+z.y\bar z+z=y+z.

Therefore

Answer

  f(x,y,z)=x+y+z.  \boxed{\;f(x,y,z)=x+y+z.\;}
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.