Skip to content
BetterDL

Sum of products (SOP)

Also called: sum-of-products form, SOP form, SOP expression, disjunctive normal form, DNF

A Boolean expression written as an OR of AND terms, with bars only on single letters, such as AB' + A'C + BC.

A sum of products is an OR ("sum") of product terms, where each product is an AND of literals. Bars sit only on single letters. Examples: , , or a single product like .

These are not SOP: (a bracket inside a product) and (a bar over a product). Both can be converted, by multiplying out or by de morgans laws.

Why SOP is the standard shape:

  • Any function can be written as an SOP. Take one minterm for each row where the output is 1 and OR them together.
  • It is easy to compare terms side by side, which is what combining, absorption and consensus need.
  • It maps straight onto hardware: one AND gate per term feeding one OR gate, a two-level circuit, which converts directly to NAND-NAND.

A minimal sop uses the fewest terms and then the fewest literals. Its mirror image, an AND of OR terms, is the product of sums.

0000
0011
0100
0111
1001
1011
1100
1111

Worked examples

Example

Turning an expression into SOP

Write as a sum of products.

  1. 1.

    Multiply out the bracket: = .

  2. 2.

    Remove the long bar with De Morgan: = .

  3. 3.

    Result: . Every term is an AND of single literals, joined by OR.

Example

Which of these are SOP?

Classify , , and .

  1. 1.

    : yes. Two products, ORed.

  2. 2.

    : no. It has an OR inside a product (it is a POS).

  3. 3.

    : yes. A single product is an SOP with one term.

  4. 4.

    : no. A bar covers a product; De Morgan gives , which is SOP.

Common mistakes

  • Calling an expression SOP when a bar covers more than one letter.

  • Thinking a single literal or a single product is not an SOP. They are SOPs with one term.

  • Assuming the SOP form is unique. A function has many SOPs; only the canonical one (the sum of minterms) is unique.

Practice Sum of products (SOP)

Interactive questions with instant feedback and a worked solution for every wrong answer.

Learn it step by step

Sum of products (SOP) is taught in Boolean Algebra, Boolean Simplification, Logic Gates and Combinational Logic.