Standard Forms — Sum of Products (SOP) and Product of Sums (POS)
Learn how to express Boolean logic using the standardized Sum of Products (SOP) and Product of Sums (POS) forms.
Intermediate
18 min
As Boolean expressions grow more complex, consistency becomes essential — especially when converting between truth tables, logic circuits, and expressions. That’s where standard forms come in. These formats allow any Boolean function to be written in a precise and predictable structure. The two most widely used standard forms are Sum of Products (SOP) and Product of Sums (POS). Understanding how to recognize, construct, and convert these forms is a key step in learning how to design real-world digital systems.
Introduction
Boolean expressions can be written in many different ways, but when we want to design logic circuits or translate truth tables into logic equations, we need structured, systematic formats. SOP and POS forms provide exactly that.
-
Sum of Products (SOP) is a format where multiple ANDed terms are ORed together — for example:
A·B + ¬A·C + B·¬C -
Product of Sums (POS) is a format where multiple ORed terms are ANDed together — for example:
(A + B) · (¬A + C) · (B + ¬C)
These formats can be derived directly from a truth table and are essential when:
- Designing digital circuits with specific gate arrangements
- Building expressions from a known output pattern
- Minimizing logic using Karnaugh maps (coming soon!)
In the next sections, you’ll learn how each form is structured, when and why to use them, and how to build them step by step from a truth table.
Sum of Products (SOP)
The Sum of Products (SOP) is one of the most common and intuitive ways to express Boolean logic. It follows this general structure:
A logical OR (sum) of multiple AND (product) terms. Example: A·B + ¬A·C + B·¬C
Each product term (like A·B) represents a specific condition or combination of variable states that
results in a true (1) output. The sum of these terms captures all the scenarios that make the overall
function true.
Here’s how it works:
- A product term is an AND of literals (variables or their negations)
→ Example:
A·¬B·C - Several of these product terms are ORed together
→ Example:
A·¬B·C + ¬A·B·C + A·B·¬C
This is why we call it a “sum of products” — we’re summing (ORing) several ANDed terms.
Deriving SOP from a Truth Table
Let’s build an SOP expression from this 3-variable truth table:
| A | B | C | Output (F) |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 0 |
Now, write a product term for each row where F = 1:
- Row 2:
¬A · ¬B · C - Row 4:
¬A · B · C - Row 5:
A · ¬B · ¬C - Row 7:
A · B · ¬C
Put them together with ORs:
F(A, B, C) = ¬A·¬B·C + ¬A·B·C + A·¬B·¬C + A·B·¬C
That’s the SOP form!
Product of Sums (POS)
The Product of Sums (POS) is the dual of SOP. Instead of ANDing multiple terms together and ORing their results (SOP), POS takes ORed terms and ANDs them.
A logical AND (product) of multiple OR (sum) terms. Example: (A + B) · (¬A + C) · (B + ¬C)
Each sum term corresponds to a condition that results in false (0) — and the full product eliminates all the conditions where the function should be false, leaving the ones that are true.
Let’s break it down:
- A sum term is a logical OR of literals (variables or their negations)
→ Example:
(A + ¬B + C) - Multiple of these sum terms are ANDed together
→ Example:
(A + B + ¬C) · (¬A + C) · (B + ¬C)
This is why we call it a “product of sums” — we’re multiplying (ANDing) several ORed groups.
Deriving POS from a Truth Table
Let’s use the same truth table from earlier:
| A | B | C | Output (F) |
|---|---|---|---|
| 0 | 0 | 0 | 0 |
| 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 0 |
Let’s look at the rows where F = 0:
- Row 1:
A = 0, B = 0, C = 0→(A + B + C) - Row 3:
A = 0, B = 1, C = 0→(A + ¬B + C) - Row 6:
A = 1, B = 0, C = 1→(¬A + B + ¬C) - Row 8:
A = 1, B = 1, C = 1→(¬A + ¬B + ¬C)
Now combine all with AND:
F(A, B, C) = (A + B + C) · (A + ¬B + C) · (¬A + B + ¬C) · (¬A + ¬B + ¬C)
That’s your POS form!
Why Does This Matter?
Depending on your circuit requirements (e.g., available gates or design constraints), choosing the right form can save:
- Physical space on a chip
- Power usage
- Gate delays and cost
For example:
- If you’re working with NAND-only logic, SOP is often more convenient because NAND gates naturally mimic the AND-OR behavior (especially after applying De Morgan’s Laws).
- For NOR-only logic, POS is typically a better fit.
Key Takeaways
- SOP (Sum of Products):
- Formed by ORing multiple ANDed terms (minterms)
- Derived from truth table rows where F = 1
- Implemented using AND-OR logic
- POS (Product of Sums):
- Formed by ANDing multiple ORed terms (maxterms)
- Derived from truth table rows where F = 0
- Implemented using OR-AND logic
- SOP and POS represent the same function in different ways — understanding both prepares you to work with various digital logic configurations