Visual walkthrough — Product of sums (POS) form
Before any algebra, three plain-English words we will use constantly:
Step 1 — Draw the function as a strip of lights
WHAT: Lay the 8 rows of a 3-variable function in a row, each shown as a lamp: bright = output , dark = output .
WHY: Before we manipulate symbols, we must see what a function is. It is a pattern of on/off lamps — that pattern is the entire content of the function. Everything else (SOP, POS, gates) is just a way to reproduce this exact pattern of lamps.
PICTURE: The strip below is our running example. Lamps at rows are dark (forbidden); the other five glow.

- — the whole machine, one output bit per row.
- — the three switches; their on/off pattern is the row number in binary.
- — the row numbers we must force dark.
Step 2 — Zoom into ONE forbidden row and ask a smaller question
WHAT: Forget the whole strip. Point at just one dark lamp — say row , which is . Ask: can I build a tiny gadget that is dark at this exact row and bright at all 7 others?
WHY: A hard problem (control 8 lamps) becomes 8 easy problems (control 1 lamp each), which we then combine. This "solve one, then glue" move is the heart of the derivation.
PICTURE: One dark lamp spotlighted; the other seven greyed out — we are ignoring them for now.

The gadget we want is a sum term — an OR of the three variables (each possibly flipped). Why an OR? Because of one magic property we unpack next.
Step 3 — The magic property of OR: it is dark at exactly ONE spot
WHAT: Recall what OR does. means "output if any input is ". Flip that around: it outputs only when every input is at the same time — a single, lonely combination.
WHY THIS TOOL: We need a gadget dark at exactly one row. OR is the only 3-input gate whose output is for precisely one input combination (all-zeros) and for the other seven. That single-zero shape is exactly the lamp pattern we want — so OR is the natural building block, not AND (AND has the opposite single-one shape, which is the tool SOP uses — see Sum of products (SOP) form).
PICTURE: Truth table of a plain OR drawn as lamps: seven bright, one dark at the top (all-zeros input).

So a raw OR is dark at its all-zeros row. But our forbidden row is — not all zeros. Step 4 fixes the aim.
Step 4 — Aim the dark spot by flipping the 1-variables
WHAT: We want the inside of the OR to read all-zeros precisely at row . Plug in and demand each literal equal there:
- , but we need → feed in (the flip of ), because . ✓
- , already → feed in plain . ✓
- , need → feed in . ✓
WHY: A literal is when it evaluates to . To make the whole OR collapse to at that chosen row, each literal must be at that row — which forces us to complement every variable that is in the row, and leave the -variables alone. That is the entire maxterm rule, and here you see why it must be so.
PICTURE: Row 's bits on top; below, each bit turns into a literal ; arrows show each literal evaluating to ; the OR at the bottom lights dark.

- — the maxterm for row : dark at row , bright everywhere else.
- The bar — "flip this bit". Used only on variables that were in the row.
Step 5 — Build one maxterm per forbidden row
WHAT: Repeat Step 4 for every dark lamp. Our forbidden rows are :
| Row | flip the 1's → | Maxterm | |
|---|---|---|---|
| 0 | nothing is | ||
| 2 | only is | ||
| 5 | and are |
WHY: Each maxterm is a marksman assigned to one lamp. darkens only row ; only row ; only row . None of them touches the other rows — those stay bright () through that term.
PICTURE: Three strips stacked. Strip : one dark lamp at row 0. Strip : one dark lamp at row 2. Strip : one dark lamp at row 5. Everything else bright in each strip.

Step 6 — Glue the marksmen together with AND
WHAT: Combine the three strips into one output using AND: .
WHY AND (not OR)? AND outputs only if every input is ; a single anywhere drags the whole product to . So at any row, the final lamp is dark if any one marksman is dark there. Since is dark at row (others bright), the product is dark at row . Same for rows and . At every non-forbidden row all three marksmen are bright, so the product is bright. The dark-lamp pattern of the product is exactly — the function we drew in Step 1.
PICTURE: The three single-dark strips fed into an AND; the output strip below is dark at exactly rows — an exact copy of the Step 1 strip.

Step 7 — Why this equals (the formal engine)
WHAT: Show the picture-story is identical to the algebra .
WHY: The pictures are a proof, but the standard route uses De Morgan's theorems. Define = the machine that is bright exactly where is dark. Then 's bright rows are , so as an OR-of-minterms (SOP): . Now flip both sides:
- — De Morgan turns a sum's complement into a product of complements (OR flips to AND).
- — the complement of a minterm is the matching maxterm (a single-dark strip is the flip of a single-bright strip).
PICTURE: Left: as a strip bright only at . A big "flip everything" arrow. Right: dark only at . Below, the OR-list becomes an AND-list.

The (capital pi) just says "AND together"; the subscript "" says "one factor for each dark lamp".
Step 8 — Edge & degenerate cases (never leave a gap)
WHAT & WHY: A rule you only tested on the nice case is not a rule. Three corners:
PICTURE: Three mini-strips — all-bright, all-dark, and a single-dark function.

- No dark lamps (): the set is empty. An empty product is (ANDing nothing constrains nothing). So — correct: a light that never turns off.
- All lamps dark (): every row is forbidden, so you AND all maxterms . Their product is everywhere — correct.
- A single dark lamp (say only row 3): POS is just one factor, . A "product" of one term is that term — no AND gate needed, just one OR gate. See Logic gates.
- Shortcut degenerate literal: if a variable is absent from the problem it never appears complemented or plain — but in canonical POS every variable must appear in every maxterm exactly once (true or barred). That is what makes each term hit exactly one row.
The one-picture summary

Recall Feynman: the whole walkthrough in plain words
A function is a strip of lamps. Most are on; a few are off — those are the "bad" combos. For each bad combo I hire a marksman (a maxterm): I take that combo's on/off pattern and, inside an OR, I flip every switch that was ON so the OR reads all-zeros only there — meaning it goes dark at that one combo and stays bright everywhere else. I hire one marksman per bad combo. Then I wire all marksmen in series with AND, so if any one is dark the final lamp is dark. Result: dark at exactly the bad combos, bright everywhere else — a perfect copy of the original strip. The tidy name for "AND of these single-dark OR-gadgets" is , product over the rows where . To prove it formally: describe the complement (bright where is dark) as a sum of minterms, then De Morgan flips the whole thing — the sum becomes a product and each minterm becomes its maxterm. That is POS, built from nothing but lamps and one flip.
Q1
Q2
Q3
Connections
- Product of sums (POS) form — the parent this walkthrough derives.
- Sum of products (SOP) form — the mirror image (single-bright strips, AND-terms).
- Minterms and maxterms — the single-lamp atoms used in every step.
- De Morgan's theorems — the engine of Step 7.
- Truth tables — the lamp strip is a truth table.
- Karnaugh maps — grouping the dark lamps yields simplified POS.
- Logic gates — the final AND-of-ORs picture is a two-level circuit.