← 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+(x⋅y+x⋅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+B to absorb the yzˉ+z term.
Solution
Step 1 — Simplify the complemented bracket using De Morgan
xˉyˉ+xˉz=xˉ(yˉ+z)=xˉ+yˉ+z=x+(yzˉ).
So
f=x+[x+yzˉ]+z=x+yzˉ+z(using x+x=x).
Step 2 — Absorb yzˉ+z
Using the identity ABˉ+B=A+B (with A=y,B=z):
yzˉ+z=y+z.
Therefore
Answer
f(x,y,z)=x+y+z.