Sum of Products (SOP) and Minterms
On this page 6 headings
Start here You have a truth table, and you want a formula. Here’s the trick: look only at the rows where the output is 1. Write a small “detector” for each of those rows, then OR all the detectors together. That’s it. You’ve written a Sum of Products.
| Word | Meaning | Example (inputs A, B, C) |
|---|---|---|
| Complement | A variable with a bar | |
| Literal | A variable or its complement | |
| Implicant / product term | An AND of literals | |
| Minterm | An AND that has every input variable once | |
| Maxterm | An OR that has every input variable once |
Rule: if the input is 1, write the letter; if it’s 0, write the letter with a bar.
| A | B | C | Minterm | Number |
|---|---|---|---|---|
| 0 | 0 | 0 | ||
| 0 | 1 | 1 | ||
| 1 | 0 | 1 | ||
| 1 | 1 | 1 | ABC |
The number is just the row’s binary value (011 = 3, so ).
Each minterm is 1 in exactly one row: its own row. That’s why it works as a “row detector”.
- Find every row where .
- Write the minterm for each of those rows.
- OR them all together.
Example:
| A | B | C | F |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 |
Short form ( notation): , the list of rows where .
Take input (row 5). Only the minterm becomes 1 (1·1·1). Every other minterm has at least one 0 in it, so it’s 0. So 1. Correct!
For a row that’s not in the list, no minterm turns on, so . Correct again.
- A truth table is the unique “signature” of a function, but it’s long.
- Many different expressions can give the same truth table (and different gate circuits).
- A canonical (standard) form, like the full SOP of minterms, gives one standard expression for each function.
- Every Boolean function can be written in SOP form.
SOP is a two-level circuit: a row of AND gates, then one OR gate.
In one line: For each row where , write a minterm (letter for 1, barred letter for 0) and OR them together. That’s the canonical Sum of Products, written short as . Exam words: literal, implicant, product term, minterm, maxterm, sum of products notation, canonical form, two-level logic.
