Skip to content
BetterDL

Cube notation

Also called: dash notation, cube, cubes, bit pattern with dashes, positional cube notation, dash pattern

Writing a product term as a bit pattern with a dash for each missing variable, such as 1-0 for AC'. A pattern with k dashes covers 2ᵏ rows.

Cube notation writes a product term as a pattern of n symbols, one per variable in order:

  • 1 for a plain variable,
  • 0 for a barred variable,
  • - for a variable that does not appear.

With inputs A, B, C: is 1-0, is -1-, and the minterm is 011.

Each dash can be 0 or 1, so a pattern with k dashes stands for 2ᵏ rows. 1-0 covers 100 and 110, rows 4 and 6. The name comes from geometry: the rows of an n-variable table are the corners of an n-dimensional cube, and a term with k dashes is a k-dimensional face of it.

Why it helps:

  • Expanding a term to minterms is just filling in the dashes; see canonical expansion.
  • Combining two patterns is easy to check: same dashes, one other bit different. The differing bit becomes a new dash. See adjacent minterms.
  • Counting overlaps between terms becomes listing rows and taking the union.

For sum terms, the same pattern describes the rows where the sum is 0, read with maxterm polarity.

Worked examples

Example

Counting with overlapping cubes

How many distinct minterms does F = (inputs A, B, C, D) have?

  1. 1.

    → 1-0-: rows 8, 9, 12, 13.

  2. 2.

    → -0-1: rows 1, 3, 9, 11.

  3. 3.

    Row 9 (1001) is in both.

  4. 4.

    Union: {1, 3, 8, 9, 11, 12, 13}, which is 7 minterms, not 4 + 4 = 8.

Example

Combining cubes

Combine 01- and 11-.

  1. 1.

    The dashes are in the same place (C).

  2. 2.

    The other bits differ only in A.

  3. 3.

    Result: -1-, which is B.

  4. 4.

    01- () + 11- () = B. ✓

Common mistakes

  • Writing the dash pattern in a different variable order from the one given.

  • Combining cubes whose dashes are in different positions.

  • Reading a sum term's pattern as the rows where it is 1.

Practice Cube notation

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

Learn it step by step

Cube notation is taught in Boolean Simplification and Karnaugh Maps.