← 2021 Paper 2

UPSC 2021 Maths Optional Paper 2 Q5c-ii — Step-by-Step Solution

5 marks · Section B

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

Question

Obtain the principal conjunctive normal form of (¬P→R)∧(Q↔P)(\neg P\to R)\wedge(Q\leftrightarrow P).

Technique

Truth table; conjunction of maxterms at rows where expression = 0.

Solution

Step 1 — Truth table

¬P→R≡P∨R\neg P\to R\equiv P\vee R (since ¬(¬P)∨R=P∨R\neg(\neg P)\vee R=P\vee R).

Q↔P≡(Q∧P)∨(¬Q∧¬P)Q\leftrightarrow P\equiv(Q\wedge P)\vee(\neg Q\wedge\neg P).

So expression =(P∨R)∧((Q∧P)∨(¬Q∧¬P))=(P\vee R)\wedge((Q\wedge P)\vee(\neg Q\wedge\neg P)).

Truth table:

PPQQRRP∨RP\vee RQ↔PQ\leftrightarrow PExpression
000010
001111
010000
011100
100100
101100
110111
111111

Step 2 — Identify rows where expression = 0

Rows: (P,Q,R)∈{(0,0,0),(0,1,0),(0,1,1),(1,0,0),(1,0,1)}(P,Q,R)\in\{(0,0,0),(0,1,0),(0,1,1),(1,0,0),(1,0,1)\}.

Step 3 — Maxterms

For row (P,Q,R)(P,Q,R), the maxterm is the disjunction of literals, with 0→0\to unprimed and 1→1\to primed.

Step 4 — Principal CNF = conjunction of maxterms

Answer

  (P∨Q∨R)∧(P∨¬Q∨R)∧(P∨¬Q∨¬R)∧(¬P∨Q∨R)∧(¬P∨Q∨¬R).  \boxed{\;(P\vee Q\vee R)\wedge(P\vee\neg Q\vee R)\wedge(P\vee\neg Q\vee\neg R)\wedge(\neg P\vee Q\vee R)\wedge(\neg P\vee Q\vee\neg R).\;}
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 — 14 years, mapped. Get the take-away PDF free.