Product of Sums Formula: Boolean Algebra Explained

Formulas & functions · Updated November 23, 2026

The product of sums (POS) formula is a way to write a Boolean expression as a product (AND) of sum terms (OR terms), where each sum term contains every input variable exactly once, in either true or complemented form. For example, given a truth table, the POS form is constructed by taking the OR of each variable for each row where the output is 0, then ANDing those sum terms together.

What Is the Product of Sums Form?

In Boolean algebra, any logic function can be expressed in two canonical (standard) forms: sum of products (SOP) and product of sums (POS). The product of sums form is a conjunction (AND) of disjunctions (ORs). Each disjunction is called a maxterm because it evaluates to 0 for exactly one combination of inputs and to 1 for all others. The POS expression is the AND of all maxterms that correspond to the rows where the function output is 0.

For a function with three variables A, B, and C, a maxterm is written like (A + B + C’). The apostrophe (‘) denotes complement (NOT). The full POS form lists every maxterm for which the function is 0, and ANDs them together. For instance, if the function is 0 for the input combinations 000, 011, and 101, the POS expression is (A + B + C)(A + B’ + C’)(A’ + B + C’).

How to Derive POS from a Truth Table

To build the product of sums expression from a truth table, follow these steps:

  1. Identify every row where the output is 0.
  2. For each such row, write a sum term: for each variable, use the variable itself if its value is 0, and its complement if its value is 1. This ensures the sum term evaluates to 0 for that row.
  3. AND all the sum terms together.

Example: Consider a two-variable function with outputs: 1 for (0,0), 0 for (0,1), 1 for (1,0), and 0 for (1,1). The rows with output 0 are (0,1) and (1,1). For (0,1): A=0, B=1, so the sum term is (A + B’). For (1,1): A=1, B=1, so the sum term is (A’ + B’). The POS expression is (A + B’)(A’ + B’).

Product of Sums vs. Sum of Products

The sum of products (SOP) form is the dual: it is an OR of AND terms, each called a minterm. SOP is derived from the rows where the output is 1, while POS is derived from rows where the output is 0. Both forms are logically equivalent and represent the same function. The choice between them often depends on the application. In digital circuit design, SOP naturally leads to a two-level NAND-NAND implementation, while POS leads to a NOR-NOR implementation. Sometimes one form yields fewer gates, so designers may choose the more compact expression after simplification.

For example, the function above has SOP form (A’B’ + AB’) because the 1 rows are (0,0) and (1,0). Both the SOP and POS expressions are correct, but they look different.

Why Use POS? Practical Applications

Product of sums is particularly useful in several contexts:

  • Circuit design: POS directly maps to NOR gates, which are sometimes preferred in certain logic families (like CMOS) for speed or area reasons.
  • Logic minimization: Karnaugh maps (K-maps) can be used to simplify POS expressions by grouping zeros instead of ones. This often leads to a simpler circuit than the SOP form.
  • Fault detection: In testing digital circuits, POS forms can help identify stuck-at faults because each maxterm isolates a specific failure condition.
  • Boolean algebra simplification: Some expressions are more naturally simplified in POS form using algebraic identities like the consensus theorem.

How to Simplify a POS Expression

Simplification of a POS expression can be done using Boolean algebra identities or a Karnaugh map. For a K-map, you group adjacent cells that contain 0 (not 1). Each group of 2^n zeros gives a simplified sum term. For example, a function with four variables may have a group of four zeros that simplifies to a single variable sum term. The simplified POS expression is the AND of these simplified sum terms.

Using Boolean algebra, you can apply the distributive law, De Morgan’s theorem, and the identity (X + Y)(X + Y’) = X to reduce the number of literals. For instance, (A + B)(A + B’) simplifies to A. Always check the final expression by substituting all input combinations to ensure it matches the original truth table.

Common Mistakes and Misconceptions

A frequent error is confusing the row values when writing maxterms. Remember: for POS, a 0 in the truth table means you write the variable uncomplemented if it is 0, and complemented if it is 1. This is the opposite of the minterm convention. Another mistake is forgetting to include all variables in each sum term; a valid canonical POS term must contain every variable. If a term is missing a variable, it is not a maxterm and may not represent the function correctly.

Some also think POS and SOP are interchangeable without changing the expression, but they are duals, not identical. You cannot simply swap AND and OR; you must derive from the truth table. Also, a common misconception is that POS always yields a simpler circuit. In reality, either form can be more efficient; the best choice depends on the specific function and the available gate types.

Frequently Asked Questions

What does ‘product of sums’ mean in Boolean algebra?

It means a Boolean expression that is the AND (product) of OR (sum) terms. Each OR term contains all input variables, and the whole expression equals 1 only when every sum term equals 1.

How do I convert a truth table to POS?

List all rows where the output is 0. For each such row, write a sum term where each variable is complemented if it is 1 and uncomplemented if it is 0. Then AND all those sum terms together.

Can a POS expression be simplified?

Yes, using Boolean algebra identities or Karnaugh maps. In a K-map, you group zeros to find simplified sum terms, then AND them. The simplified POS may have fewer variables or fewer terms.

What is the difference between maxterm and minterm?

A minterm is a product term that equals 1 for one input combination and 0 for all others. A maxterm is a sum term that equals 0 for one input combination and 1 for all others. SOP uses minterms, POS uses maxterms.

Is POS the same as NOR logic?

POS expressions can be implemented directly using NOR gates because a sum term is an OR, and the product is an AND. In practice, you can use NOR gates for both OR and AND (via De Morgan’s theorem), so a POS circuit often uses NOR gates exclusively.

When should I use POS instead of SOP?

Use POS when the truth table has fewer 0s than 1s, because then you have fewer maxterms to write. Also, if your target hardware favors NOR gates, or if simplification of zeros yields a more compact expression, POS is preferable.

Related

Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.

More in Formulas & functions

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.