3.1.9 · D3Boolean Algebra & Logic Gates

Worked examples — Sum of products (SOP) form

2,822 words13 min readBack to topic

Before we start, one reminder so no symbol is unearned:


The scenario matrix

Every SOP question falls into one of these cells. The examples below are labelled with the cell(s) they cover.

# Case class What makes it tricky Example
C1 Ordinary truth table, several 1-rows routine but must not slip a bar Ex 1
C2 Degenerate: all outputs 0 no minterms — what do you even write? Ex 2
C3 Degenerate: all outputs 1 every row wins — does it collapse? Ex 3
C4 Exactly one 1-row a single minterm, no OR needed Ex 4
C5 Expression in disguise (product-of-sums shape) must distribute to reach SOP Ex 5
C6 Non-canonical → canonical expansion terms missing variables Ex 6
C7 Real-world word problem translate English → truth table → SOP Ex 7
C8 Exam twist: given minterm list , simplify index notation + K-map thinking Ex 8

We label the truth-table rows in binary counting order (). See the figure — the row number is just the binary value of .

Figure — Sum of products (SOP) form

Ex 1 — Ordinary truth table (cell C1)


Ex 2 — All outputs 0 (cell C2, degenerate)


Ex 3 — All outputs 1 (cell C3, degenerate)


Ex 4 — Exactly one winning row (cell C4)


Ex 5 — Expression in disguise (cell C5)


Ex 6 — Non-canonical → canonical (cell C6)


Ex 7 — Real-world word problem (cell C7)


Ex 8 — Exam twist: given minterm list, simplify (cell C8)


Active Recall

Recall Cover every cell — can you name the SOP for each degenerate case?

All-0 function ::: (empty OR, no minterms). All-1 function ::: canonical is all minterms; simplifies to . Exactly one 1-row ::: a single full minterm, no OR, cannot be simplified. An AND-of-ORs expression ::: distribute (multiply out) to reach a sum of products.

Recall Why does multiplying a term by

expand it to canonical without changing it? Because , so we multiply by 1 (value unchanged) but the term splits into both values of the missing variable , producing full minterms.


Connections

  • Truth Tables — every example started here; the 1-rows are the SOP.
  • Minterms and Maxterms — the row-detectors we OR together.
  • Boolean Algebra Laws — distribution, , , consensus, absorption did all the simplifying.
  • Karnaugh Maps — the visual way to do Ex 8's grouping.
  • Product of Sums (POS) form — the dual: list the 0-rows instead.
  • Logic Gates (AND, OR, NOT) — each simplified form is a cheaper circuit.