The math optional, made finite. Daily Practice

Boolean algebra

At a Glance

Why This Chapter Matters

Boolean algebra appears in 12 of the last 13 years — the most consistent T1 atom in Paper 2 — and the questions are almost always rated easy to medium. The examiner rotates through four tasks: simplify an expression (and draw its gate network), find the canonical DNF (sum of minterms), find the canonical CNF (product of maxterms), or read a Boolean function off a truth table. Each task has a mechanical algorithm. Unlike most Paper 2 topics, no creativity is needed — only a reliable procedure and careful bookkeeping. That makes Boolean algebra one of the most bankable 10–15 marks in the entire paper.

Minimum Theory

Boolean algebra. A Boolean algebra is a set {0,1}\{0,1\} with operations ++ (OR), \cdot (AND), and x\overline{\phantom{x}} (NOT), satisfying commutativity, associativity, distributivity, identity (A+0=AA+0=A, A1=AA\cdot1=A), complement (A+Aˉ=1A+\bar A=1, AAˉ=0A\cdot\bar A=0), and idempotence (A+A=AA+A=A, AA=AA\cdot A=A). The key derived laws that drive simplification are absorption (A+AB=AA+AB=A, A(A+B)=AA(A+B)=A), annihilation (A+1=1A+1=1, A0=0A\cdot0=0), and De Morgan (A+B=AˉBˉ\overline{A+B}=\bar A\bar B, AB=Aˉ+Bˉ\overline{AB}=\bar A+\bar B). Every simplification step should be named (UPSC awards method marks for this).

Canonical forms. A Boolean function of nn variables has 2n2^n rows in its truth table. The disjunctive normal form (DNF, sum of minterms) expresses FF as the OR of all minterms at rows where F=1F=1; a minterm mim_i at row ii is the AND of all nn literals (variable unprimed if its bit is 11, primed if 00). The conjunctive normal form (CNF, product of maxterms) expresses FF as the AND of all maxterms at rows where F=0F=0; a maxterm MiM_i at row ii is the OR of all nn literals (0 ⁣ ⁣0\!\to\! unprimed, 1 ⁣ ⁣1\!\to\! primed — opposite convention from minterms). The mnemonic: minterms live where F=1F=1; maxterms live where F=0F=0; priming conventions are dual.

Karnaugh maps. A K-map arranges the truth-table rows in a grid whose adjacent cells differ in exactly one variable (Gray-code order for columns). Grouping 2k2^k adjacent 1-cells (DNF) or 0-cells (CNF) eliminates kk variables from the corresponding term. Cells wrap around the left/right and top/bottom edges. The minimal SOP or POS is the cover using the fewest, largest groups.

Boolean gate symbols, key laws, and minterm/maxterm conventions

Question Archetypes

Five recurring patterns cover every Boolean algebra question in the corpus.

ArchetypeYou are seeing this when…
boolean-simplification”simplify … and draw a gate/logic diagram”
normal-form-cnf”express as product of maxterms” / “find CNF / principal conjunctive normal form”
normal-form-dnf”express as sum of minterms” / “find DNF / principal disjunctive normal form”
boolean-from-truth-tablea truth table is given; derive the Boolean function and draw the gate circuit
boolean-identity-proof”show/prove that [Boolean identity] holds”

boolean-simplification (6 question(s); 2016, 2017, 2018, 2019, 2022, 2025)

Recognition Cues

Solution Template

  1. Write out the expression and scan for immediate opportunities: absorption (A(A+X)=AA(A+X)=A or A+AX=AA+AX=A), complementation (AAˉ=0A\bar A=0, A+Aˉ=1A+\bar A=1), and xyˉ+y=x+yx\bar y+y=x+y.
  2. Expand any products of sums via the distributive law if no shortcut is visible; then collect and apply laws. Name each rule as you use it.
  3. Verify the simplified form against the original using an 8-row (or 4-row) truth table. Write both the original and simplified columns and confirm they match.
  4. Draw the gate diagram for the simplified expression: inputs on the left, one logic gate per operator, output on the right. Label every wire and gate.
  5. If a minterm normal form is also required: identify the rows where F=1F=1 in the truth table and write their full minterms (every variable, primed or unprimed).

Worked Example(s)

2016 Paper 2, 2016-P2-Q8c (15 marks)

Simplify A(A+B+C)(Aˉ+B+C)(A+Bˉ+C)(A+B+Cˉ)A\cdot(A+B+C)\cdot(\bar A+B+C)\cdot(A+\bar B+C)\cdot(A+B+\bar C) and draw a block diagram.

1 — Scan. The leading factor AA appears as a bare literal. Three of the four bracketed factors contain a bare AA; by absorption A(A+X)=AA\cdot(A+X)=A, each collapses: A(A+B+C)=A,A(A+Bˉ+C)=A,A(A+B+Cˉ)=A.A\cdot(A+B+C)=A,\quad A\cdot(A+\bar B+C)=A,\quad A\cdot(A+B+\bar C)=A. Only (Aˉ+B+C)(\bar A+B+C) survives: F=A(Aˉ+B+C).F=A\cdot(\bar A+B+C).

2 — Complement elimination. A(Aˉ+B+C)=AAˉ+A(B+C)=0+A(B+C).A(\bar A+B+C)=A\bar A+A(B+C)=0+A(B+C).   F=A(B+C)=AB+AC.  \boxed{\;F=A(B+C)=AB+AC.\;}

3 — Truth table. F=1F=1 exactly when A=1A=1 and at least one of B,CB,C is 11: rows (1,0,1),(1,1,0),(1,1,1)(1,0,1),(1,1,0),(1,1,1).

4 — Gate diagram.

  B ──┐
      ├─[OR]──(B+C)──┐
  C ──┘               ├─[AND]── F = A·(B+C)
  A ─────────────────┘

2017 Paper 2, 2017-P2-Q5c (10 marks)

Simplify z(y+z)(x+y+z)z(y+z)(x+y+z). Name the rules used. Verify by truth tables.

Step 1. z(y+z)z(y+z): expand to zy+zz=zy+zzy+zz=zy+z (distributive, idempotent). Then zy+z=z(y+1)=z1=zzy+z=z(y+1)=z\cdot1=z (absorption/annihilation). Rule: absorption (z(z+y)=zz\cdot(z+y)=z).

Step 2. z(x+y+z)z\cdot(x+y+z): by the same absorption law (z(z+)=zz\cdot(z+\cdots)=z), this collapses to zz. Rule: absorption.

  z(y+z)(x+y+z)=z.  \boxed{\;z(y+z)(x+y+z)=z.\;}

Truth table verification: both expressions produce columns (0,1,0,1,0,1,0,1)(0,1,0,1,0,1,0,1) over all 8 rows — identical ✓.


2018 Paper 2, 2018-P2-Q8a (15 marks)

Simplify (a+b)(bˉ+c)+b(aˉ+cˉ)(a+b)(\bar b+c)+b(\bar a+\bar c) and write its minterm normal form.

Expand. (a+b)(bˉ+c)=abˉ+ac+bbˉ+bc=abˉ+ac+bc(a+b)(\bar b+c)=a\bar b+ac+b\bar b+bc=a\bar b+ac+bc.
b(aˉ+cˉ)=aˉb+bcˉb(\bar a+\bar c)=\bar ab+b\bar c.

Combine. E=abˉ+ac+bc+aˉb+bcˉE=a\bar b+ac+bc+\bar ab+b\bar c.
Group bc+bcˉ=bbc+b\bar c=b. Then aˉb+b=b\bar ab+b=b. Then abˉ+b=a+ba\bar b+b=a+b. Then a+b+ac=a+ba+b+ac=a+b.

  E=a+b.  \boxed{\;E=a+b.\;}

Truth table. E=0E=0 only at rows (0,0,0)(0,0,0) and (0,0,1)(0,0,1); E=1E=1 at all others. Minterm form: m(2,3,4,5,6,7)\sum m(2,3,4,5,6,7): aˉbcˉ+aˉbc+abˉcˉ+abˉc+abcˉ+abc.\bar ab\bar c+\bar abc+a\bar b\bar c+a\bar bc+ab\bar c+abc.


2019 Paper 2, 2019-P2-Q8a (15 marks)

X=AB+ABC+ABˉCˉ+ACˉX=AB+ABC+A\bar B\bar C+A\bar C. Draw the logic diagram, minimise, draw reduced diagram.

Logic diagram (original). Four AND gates (ABAB, ABCABC, ABˉCˉA\bar B\bar C, ACˉA\bar C) feed one OR gate; inverters produce Bˉ,Cˉ\bar B,\bar C.

Minimise.

  X=AB+ACˉ=A(B+Cˉ).  \boxed{\;X=AB+A\bar C=A(B+\bar C).\;}

Reduced diagram. NOT gate on CCCˉ\bar C. OR gate on B,CˉB,\bar C(B+Cˉ)(B+\bar C). AND gate on A,(B+Cˉ)A,(B+\bar C)XX. (3 gates vs 5+ originally.)


2022 Paper 2, 2022-P2-Q6b (15 marks)

Find a combinatorial circuit for f=[x(yˉ+z)]+yf=[x(\bar y+z)]+y and write its input/output table.

Circuit (original expression). Gate hierarchy: NOT on yyyˉ\bar y; OR on yˉ,z\bar y,z(yˉ+z)(\bar y+z); AND on x,(yˉ+z)x,(\bar y+z)x(yˉ+z)x(\bar y+z); OR with yyff. Components: 1 NOT, 2 OR, 1 AND.

Simplify. f=xyˉ+xz+yf=x\bar y+xz+y. Use xyˉ+y=x+yx\bar y+y=x+y (identity ABˉ+B=A+BA\bar B+B=A+B). Then x+y+xz=x(1+z)+y=x+yx+y+xz=x(1+z)+y=x+y.

  f=x+y.  \boxed{\;f=x+y.\;}

Truth table (zz irrelevant).

xxyyzzf=x+yf=x+y
0000
0010
0101
0111
1001
1011
1101
1111

Reduced circuit: one OR gate (xx and yy as inputs). The variable zz drops out entirely.


2025 Paper 2, 2025-P2-Q6b (15 marks)

Simplify F(x,y,z)=xyz+xyz+xyz+xyzF(x,y,z)=xyz+x'yz+xy'z+xyz' and draw the GATE network.

The four terms are minterms m7,m3,m5,m6m_7,m_3,m_5,m_6, so F=m(3,5,6,7)F=\sum m(3,5,6,7).

Pair adjacently (use AB+AB=AAB+AB'=A, idempotent to reuse xyzxyz): xyz+xyz=yz,xyz+xyz=xz,xyz+xyz=xy.xyz+x'yz=yz,\quad xyz+xy'z=xz,\quad xyz+xyz'=xy.

  F=xy+yz+zx.  \boxed{\;F=xy+yz+zx.\;}

This is the 3-input majority function (F=1F=1 iff at least 2 of the 3 inputs are 1).

Gate network. Three 2-input AND gates compute xyxy, yzyz, zxzx; their outputs feed one 3-input OR gate.

  x,y ─►[AND]── xy ──┐
  y,z ─►[AND]── yz ──┼─►[OR]── F
  z,x ─►[AND]── zx ──┘

Common Traps


normal-form-cnf (4 question(s); 2020, 2021, 2022, 2023)

Recognition Cues

Solution Template

From a truth table (most reliable):

  1. Evaluate FF for all 2n2^n input combinations.
  2. Identify the rows where F=0F=0.
  3. For each such row (b1,b2,,bn)(b_1,b_2,\ldots,b_n): write the maxterm as the OR of all variables, with variable xix_i unprimed if bi=0b_i=0, primed if bi=1b_i=1 (opposite of minterms!).
  4. The CNF is the product (AND) of all these maxterms.

From a partial POS (inflate incomplete clauses):

  1. For each sum factor missing variable vv: replace (f)(f) by (f+v)(f+vˉ)(f+v)(f+\bar v) (since v+vˉ=1v+\bar v=1, so f=(f+v)(f+vˉ)f=(f+v)(f+\bar v)).
  2. Collect distinct maxterms (remove duplicates by idempotence).

Worked Example(s)

2020 Paper 2, 2020-P2-Q5c (10 marks)

g(w,x,y,z)=(w+x+y)(x+yˉ+z)(w+yˉ)g(w,x,y,z)=(w+x+y)(x+\bar y+z)(w+\bar y). Find CNF and express as product of maxterms.

Each factor is a partial sum (not all 4 variables); inflate each:

Factor 1 (w+x+y)(w+x+y) — missing zz: (w+x+y)=(w+x+y+z)(w+x+y+zˉ).(w+x+y)=(w+x+y+z)(w+x+y+\bar z).

Factor 2 (x+yˉ+z)(x+\bar y+z) — missing ww: (x+yˉ+z)=(w+x+yˉ+z)(wˉ+x+yˉ+z).(x+\bar y+z)=(w+x+\bar y+z)(\bar w+x+\bar y+z).

Factor 3 (w+yˉ)(w+\bar y) — missing xx and zz. First: (w+yˉ)=(w+x+yˉ)(w+xˉ+yˉ)(w+\bar y)=(w+x+\bar y)(w+\bar x+\bar y). Then add zz to each: (w+yˉ)=(w+x+yˉ+z)(w+x+yˉ+zˉ)(w+xˉ+yˉ+z)(w+xˉ+yˉ+zˉ).(w+\bar y)=(w+x+\bar y+z)(w+x+\bar y+\bar z)(w+\bar x+\bar y+z)(w+\bar x+\bar y+\bar z).

Collect distinct maxterms (idempotence removes w+x+yˉ+zw+x+\bar y+z, which appears in factors 2 and 3):

  g=(w+x+y+z)M0(w+x+y+zˉ)M1(w+x+yˉ+z)M2(w+x+yˉ+zˉ)M3(w+xˉ+yˉ+z)M6(w+xˉ+yˉ+zˉ)M7(wˉ+x+yˉ+z)M10.  \boxed{\;g=\underbrace{(w{+}x{+}y{+}z)}_{M_0}\underbrace{(w{+}x{+}y{+}\bar z)}_{M_1}\underbrace{(w{+}x{+}\bar y{+}z)}_{M_2}\underbrace{(w{+}x{+}\bar y{+}\bar z)}_{M_3}\underbrace{(w{+}\bar x{+}\bar y{+}z)}_{M_6}\underbrace{(w{+}\bar x{+}\bar y{+}\bar z)}_{M_7}\underbrace{(\bar w{+}x{+}\bar y{+}z)}_{M_{10}}.\;}

Product-of-maxterms compact form: g=M(0,1,2,3,6,7,10)g=\prod M(0,1,2,3,6,7,10).


2021 Paper 2, 2021-P2-Q5c-ii (5 marks)

Principal CNF of (¬PR)(QP)(\neg P\to R)\wedge(Q\leftrightarrow P).

Simplify. ¬PRPR\neg P\to R\equiv P\vee R. QP(PQ)(¬P¬Q)Q\leftrightarrow P\equiv (P\wedge Q)\vee(\neg P\wedge\neg Q).

Truth table (3 variables, 8 rows). Expression =(PR)(QP)=(P\vee R)\wedge(Q\leftrightarrow P) equals 0 at five rows:

Row (P,Q,R)(P,Q,R)=0=0Maxterm
(0,0,0)(0,0,0)PQRP\vee Q\vee R
(0,1,0)(0,1,0)P¬QRP\vee\neg Q\vee R
(0,1,1)(0,1,1)P¬Q¬RP\vee\neg Q\vee\neg R
(1,0,0)(1,0,0)¬PQR\neg P\vee Q\vee R
(1,0,1)(1,0,1)¬PQ¬R\neg P\vee Q\vee\neg R

  (PQR)(P¬QR)(P¬Q¬R)(¬PQR)(¬PQ¬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).\;}

Compact: M(0,2,3,4,5)\prod M(0,2,3,4,5).


2022 Paper 2, 2022-P2-Q5c-ii (5 marks)

Express F(x,y,z)=xy+xzF(x,y,z)=xy+x'z as product of maxterms.

Truth table. F=0F=0 at rows (x,y,z){(0,0,0),(0,1,0),(1,0,0),(1,0,1)}(x,y,z)\in\{(0,0,0),(0,1,0),(1,0,0),(1,0,1)\}. Maxterms:

  F=(x+y+z)(x+yˉ+z)(xˉ+y+z)(xˉ+y+zˉ)=M(0,2,4,5).  \boxed{\;F=(x+y+z)(x+\bar y+z)(\bar x+y+z)(\bar x+y+\bar z)=\prod M(0,2,4,5).\;}


2023 Paper 2, 2023-P2-Q7a-i (7.5 marks)

Find CNF of f(x,y,z,t)=xyz+xˉyt+xˉyzˉf(x,y,z,t)=xyz+\bar xyt+\bar x y\bar z.

Factor. f=y[xz+xˉ(t+zˉ)]=ygf=y[xz+\bar x(t+\bar z)]=y\cdot g where g(x,z,t)=xz+xˉt+xˉzˉg(x,z,t)=xz+\bar x t+\bar x\bar z.

Truth table of gg (8 rows in x,z,tx,z,t). g=0g=0 at (x,z,t){(0,1,0),(1,0,0),(1,0,1)}(x,z,t)\in\{(0,1,0),(1,0,0),(1,0,1)\}.

Maxterms of gg: (x+zˉ+t)(x+\bar z+t), (xˉ+z+t)(\bar x+z+t), (xˉ+z+tˉ)(\bar x+z+\bar t).

Apply consensus: (xˉ+z+t)(xˉ+z+tˉ)=xˉ+z(\bar x+z+t)(\bar x+z+\bar t)=\bar x+z. So minimal CNF of gg is (xˉ+z)(x+zˉ+t)(\bar x+z)(x+\bar z+t).

Re-attach yy:

  f=y(xˉ+z)(x+zˉ+t)   (minimal CNF).  \boxed{\;f=y\cdot(\bar x+z)\cdot(x+\bar z+t)\;\text{ (minimal CNF).}\;}

For the canonical CNF (every clause uses all 4 variables): enumerate all (x,y,z,t)(x,y,z,t) rows where f=0f=0 (11 rows) and list their 4-literal maxterms. (Omit if time is short; the minimal form above is usually accepted.)

Common Traps


normal-form-dnf (3 question(s); 2015, 2023, 2025)

Recognition Cues

Solution Template

  1. Simplify the expression algebraically if possible (De Morgan, absorption, etc.).
  2. Build the truth table for the simplified form over all 2n2^n rows.
  3. Identify rows where F=1F=1; for each, write its minterm: AND of all nn literals, variable unprimed if 1, primed if 0.
  4. The DNF is the OR of all these minterms.
  5. Report both minimal form (the simplified expression) and canonical/principal form (the explicit minterm sum) — UPSC often asks for both.

3-variable Karnaugh map: group 1-cells for DNF, group 0-cells for CNF

Worked Example(s)

2015 Paper 2, 2015-P2-Q5c (10 marks)

Find the principal DNF of ((pq)r)((pq)¬r)((p\wedge q)\to r)\vee((p\wedge q)\to\neg r). Tautology or contradiction?

Simplify. Let A=pqA=p\wedge q. Expression =(Ar)(A¬r)=(¬Ar)(¬A¬r)=¬Ar¬r=¬A1=1=(A\to r)\vee(A\to\neg r)=(\neg A\vee r)\vee(\neg A\vee\neg r)=\neg A\vee r\vee\neg r=\neg A\vee\mathbf{1}=\mathbf{1}.

The expression is a tautology — true for all 8 valuations of (p,q,r)(p,q,r).

Principal DNF. A tautology’s DNF is the disjunction of all 23=82^3=8 minterms:   (¬p¬q¬r)(¬p¬qr)(pqr).  \boxed{\;(\neg p\wedge\neg q\wedge\neg r)\vee(\neg p\wedge\neg q\wedge r)\vee\cdots\vee(p\wedge q\wedge r).\;}

(All 8 three-literal minterms in lexicographic order.)


2023 Paper 2, 2023-P2-Q7a-ii (7.5 marks)

Express f(x,y,z)=x+(xˉyˉ+xˉz)+zf(x,y,z)=x+\overline{(\bar x\bar y+\bar x z)}+z in DNF and construct its truth table.

Simplify. Apply De Morgan to the complemented bracket: xˉyˉ+xˉz=xˉ(yˉ+z)=x+(yzˉ).\overline{\bar x\bar y+\bar x z}=\overline{\bar x(\bar y+z)}=x+(y\bar z). So f=x+(x+yzˉ)+z=x+yzˉ+zf=x+(x+y\bar z)+z=x+y\bar z+z.

Now yzˉ+z=y+zy\bar z+z=y+z (identity ABˉ+B=A+BA\bar B+B=A+B). Hence   f=x+y+z.  \boxed{\;f=x+y+z.\;}

Truth table. f=0f=0 only at (0,0,0)(0,0,0); f=1f=1 at the other 7 rows.

Canonical DNF (7 minterms): xˉyˉzxˉyzˉxˉyzxyˉzˉxyˉzxyzˉxyz=m(1,2,3,4,5,6,7)\bar x\bar y z\,\vee\,\bar x y\bar z\,\vee\,\bar x yz\,\vee\,x\bar y\bar z\,\vee\,x\bar y z\,\vee\,xy\bar z\,\vee\,xyz = \sum m(1,2,3,4,5,6,7).


2025 Paper 2, 2025-P2-Q5c-ii (5 marks)

Truth table and full DNF of F(x,y,z)=(x+y+z)(x+y)F(x,y,z)=(x+y+z')(x'+y').

Evaluate. (x+y)=0(x'+y')=0 only when x=y=1x=y=1; (x+y+z)=0(x+y+z')=0 only when x=0,y=0,z=1x=0,y=0,z=1.

xxyyzzFF
0001
0010
0101
0111
1001
1011
1100
1110

F=1F=1 at rows 0,2,3,4,50,2,3,4,5.

  F=xyz+xyz+xyz+xyz+xyz=m(0,2,3,4,5).  \boxed{\;F=x'y'z'+x'yz'+x'yz+xy'z'+xy'z=\sum m(0,2,3,4,5).\;}

Common Traps


boolean-from-truth-table (2 question(s); 2021, 2024)

Recognition Cues

Solution Template

  1. Write the SOP (sum of minterms): identify rows where F=1F=1 and write their minterms.
  2. K-map or absorption: for 3 variables, draw the 3-variable K-map, place the 1-values, and find the minimal groups. For algebraic simplification, look for adjacent minterms differing in one variable.
  3. Simplified expression from the K-map groups.
  4. Draw the gate circuit for the simplified form.
  5. Bit-sequence evaluation (2024 variant): evaluate the simplified expression bit-by-bit across the input columns.

Worked Example(s)

2021 Paper 2, 2021-P2-Q6b (15 marks)

Boolean function from truth table; simplify; GATE network.

Given: F=1F=1 at rows (x,y,z){(1,1,1),(1,1,0),(1,0,1),(0,1,1)}(x,y,z)\in\{(1,1,1),(1,1,0),(1,0,1),(0,1,1)\}.

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

K-map simplification (3 variables):

xyzx\setminus yz00011110
00010
10111

Group yzyz-column (cells m3,m7m_3,m_7): yzyz. Group x=1x=1 row cells m5,m7m_5,m_7: xzxz. Group x=1x=1 row cells m6,m7m_6,m_7: xyxy.

  F=xy+yz+zx.  \boxed{\;F=xy+yz+zx.\;}

This is the 3-input majority function (1 iff at least 2 inputs are 1).

Gate circuit. 3 AND gates (xyxy, yzyz, zxzx) feeding a 3-input OR gate.


2024 Paper 2, 2024-P2-Q6b (15 marks)

Logical circuit and truth table for Y=ABCˉ+BCˉ+AˉBY=AB\bar C+B\bar C+\bar A B; evaluate for A=10001111A=10001111, B=00111100B=00111100, C=11000100C=11000100.

Simplify. ABCˉ+BCˉ=BCˉ(A+1)=BCˉAB\bar C+B\bar C=B\bar C(A+1)=B\bar C. So Y=BCˉ+AˉB=B(Aˉ+Cˉ)Y=B\bar C+\bar A B=B(\bar A+\bar C).

  Y=AˉB+BCˉ.  \boxed{\;Y=\bar A B+B\bar C.\;}

Gate circuit. NOT on AAAˉ\bar A. NOT on CCCˉ\bar C. AND on Aˉ,B\bar A,BAˉB\bar A B. AND on B,CˉB,\bar CBCˉB\bar C. OR → YY.

Bit-by-bit evaluation (left to right):

BitAABBCCY=AˉB+BCˉY=\bar A B+B\bar C
11010
20010
30101
40101
51101
61110
71000
81000

  Y-sequence=00111000.  \boxed{\;Y\text{-sequence}=00111000.\;}

Common Traps


boolean-identity-proof (1 question(s); 2014)

Recognition Cues

Solution Template

  1. Algebraic proof (primary): manipulate the LHS using named axioms until it equals the RHS. Name every law used.
  2. Truth table (secondary): build the table for both LHS and RHS; confirm columns match for all 2n2^n rows.
  3. Logical argument (optional): explain in words why the identity holds.

For full marks on a 15-mark identity question, provide at least two independent proofs.

Worked Example(s)

2014 Paper 2, 2014-P2-Q8b (15 marks)

Show that x+xy=xx+xy=x for Boolean variables x,yx,y.

Proof 1 — Algebraic. x+xy=x1+xy=x(1+y).x+xy=x\cdot1+x\cdot y=x(1+y). Since 1+y=11+y=1 (annihilation/null law): x(1+y)=x1=xx(1+y)=x\cdot1=x. \blacksquare

Proof 2 — Truth table.

xxyyxyxyx+xyx+xy
0000
0100
1001
1111

Last column equals first column (xx) in all 4 rows. \blacksquare

Proof 3 — Logical argument. "x+xyx+xy" is true iff xx is true, or both xx and yy are true. In either case xx must be true; and if xx is already true, the expression is true regardless of yy. So the expression equals xx exactly. \blacksquare

  x+xy=x.  \boxed{\;x+xy=x.\;}

Common Traps


Marks-Aware Writing

5-mark questions (2021-ii, 2022-ii, 2025-ii): These are from the compulsory Section B short-answer slots. One method is sufficient — truth table with maxterms/minterms, compact notation, boxed answer. No gate diagram required.

7.5-mark questions (2023): Give both the minimal form and the canonical form (clearly labelled). Truth table for the sub-function. For CNF questions also briefly verify one maxterm evaluates to 0 at its row.

10-mark questions (2017, 2020, 2022 Q5c-ii): For simplification: named steps + truth table + boxed answer. For normal forms: full truth table + all maxterms/minterms listed. No gate diagram unless asked.

15-mark questions (the majority): Named algebraic steps + full truth table verification + gate diagram + boxed answer. For identity proofs (2014): at least two independent proof methods. For expressions with gate diagrams (2019, 2021, 2024): draw both the original and the reduced circuit.

Practice Set

YearPaper/QMarksArchetypeOne-line hint
2025P2-Q6b15boolean-simplificationxyz+xyz+xyz+xyz=m(3,5,6,7)xyz+x'yz+xy'z+xyz'=\sum m(3,5,6,7); pair xyzxyz with each of the others
2025P2-Q5c-ii5normal-form-dnf(x+y)=0(x'+y')=0 only when x=y=1x=y=1; evaluate all 8 rows
2024P2-Q6b15boolean-from-truth-tableABCˉ+BCˉ=BCˉAB\bar C+B\bar C=B\bar C (absorption; A+1=1A+1=1); evaluate bit-by-bit
2023P2-Q7a-i7.5normal-form-cnfFactor out yy; build truth table of g(x,z,t)g(x,z,t); consensus on the last two maxterms
2023P2-Q7a-ii7.5normal-form-dnfDe Morgan on the bracket; then yzˉ+z=y+zy\bar z+z=y+z
2022P2-Q6b15boolean-simplificationCircuit hierarchy: NOT→OR→AND→OR; simplify xyˉ+xz+yx\bar y+xz+y via xyˉ+y=x+yx\bar y+y=x+y
2022P2-Q5c-ii5normal-form-cnfTruth table of xy+xzxy+x'z; 4 zero rows; maxterm = OR with 00\to unprimed, 11\to primed
2021P2-Q6b15boolean-from-truth-table4 one-rows → SOP; K-map gives three pairs → majority function xy+yz+zxxy+yz+zx
2021P2-Q5c-ii5normal-form-cnfTruth table of (PR)(QP)(P\vee R)\wedge(Q\leftrightarrow P); 5 zero rows → 5 maxterms
2020P2-Q5c10normal-form-cnfInflate each partial clause with (v+vˉ)(v+\bar v); deduplicate by idempotence
2019P2-Q8a15boolean-simplificationTwo absorptions: AB+ABC=ABAB+ABC=AB, ABˉCˉ+ACˉ=ACˉA\bar B\bar C+A\bar C=A\bar C; draw both circuits
2018P2-Q8a15boolean-simplificationExpand, group bc+bcˉ=bbc+b\bar c=b, then chain absorptions to reach a+ba+b; list 6 minterms
2017P2-Q5c10boolean-simplificationTwo absorptions of the form z(z+anything)=zz(z+\text{anything})=z; name each rule and verify both truth tables
2016P2-Q8c15boolean-simplificationThree maxterms containing bare AA vanish by A(A+X)=AA(A+X)=A; only (Aˉ+B+C)(\bar A+B+C) remains
2015P2-Q5c10normal-form-dnfr¬r=1r\vee\neg r=1 collapses the formula to True; principal DNF of tautology = all 8 minterms
2014P2-Q8b15boolean-identity-proofThree proofs: algebraic (1+y=11+y=1), truth table, logical argument

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.