Skip to content
BetterDL

Minimal SOP

Also called: minimal sum of products, minimum SOP, minimum sum of products, minimal SOP form, minimized SOP

A sum-of-products expression for a function that uses the fewest possible product terms and, among those, the fewest literals.

A minimal SOP is the cheapest sum of products for a function. The usual order of priorities:

  1. the fewest product terms (each multi-literal term needs its own AND gate),
  2. then the fewest literals (each is one gate input).

Key facts:

  • It uses only prime implicants. If a term is not a prime implicant, you could drop a literal and still cover only 1s, making it cheaper. So every term of a minimal SOP is prime.
  • It does not always use every prime implicant. Some primes are redundant, often because they are a consensus of two others. See consensus theorem.
  • It may not be unique. Some functions have two equally cheap answers.
  • It is not always cheaper than the minimal POS. Check both when cost matters; see minimal pos.

How to find one: algebra (boolean simplification) works but gives no guarantee. Combining minterms systematically, then choosing a minimal cover of prime implicants, does. A karnaugh map makes that choice visual for up to four variables.

00000
00100
01000
01100
10011
10111
11011
11100

Worked examples

Example

Minimal SOP from a minterm list

Find the minimal SOP of (rows 4, 5 and 6).

  1. 1.

    Row 4 (100) pairs with row 5 (101): they differ only in C, giving .

  2. 2.

    Row 4 also pairs with row 6 (110): they differ only in B, giving . Row 4 is reused.

  3. 3.

    Rows 5 and 6 differ in two bits, so they do not pair.

  4. 4.

    Result: , 2 terms and 4 literals. Factored, it is , but that is not an SOP.

Example

Leaving out a prime implicant

F = (rows 0, 1, 5, 7). Its prime implicants are , and . Which are needed?

  1. 1.

    Row 0 is covered only by , so it is needed.

  2. 2.

    Row 7 is covered only by , so it is needed.

  3. 3.

    Those two already cover rows 0, 1, 5 and 7.

  4. 4.

    is redundant (it is the consensus of the other two). Minimal SOP: .

Common mistakes

  • Stopping at an SOP that just looks short, without checking for a term with fewer literals or a redundant term.

  • Including every prime implicant. Redundant primes make the answer bigger.

  • Giving a factored answer like when an SOP was asked for.

Practice Minimal SOP

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

Learn it step by step

Minimal SOP is taught in Boolean Algebra, Boolean Simplification and Karnaugh Maps.