Part 4: Minterms and Maxterms
Source: Part-4+Minterms+and+Maxterms.pdf
Formal Definition: A minterm is a product (AND) term containing all $n$ variables of the function, where each variable appears exactly once — either in normal or complemented form. For $n$ variables, there are $2^n$ minterms.
For $n$ variables, there are $2^n$ possible minterms.
Naming convention: $m_i$ where $i$ is the decimal equivalent of the binary input combination. If the variable is 1, it appears normal. If it's 0, it appears complemented.
Example for 3 variables (A, B, C): $m_5 = 5_{10} = 101_2$ → A=1, B=0, C=1 → $A\overline{B}C$
Key Points
- Minterm = product (AND) of ALL variables — each appears once
- Variable is normal (uncomplemented) when the corresponding bit is 1
- Variable is complemented when the corresponding bit is 0
- $m_i$: $i$ = decimal value of the input combination
- For $n$ variables: $2^n$ minterms total
- Each minterm is 1 for exactly ONE input combination and 0 for all others
- The canonical SOP = sum of minterms where F=1
Formulas
Worked Examples
Problem: For 3 variables (A, B, C), what is minterm $m_3$?
- $3_{10} = 011_2$
- So A=0, B=1, C=1
- A=0 → complemented: $\overline{A}$
- B=1 → normal: $B$
- C=1 → normal: $C$
- Minterm $m_3 = \overline{A}BC$
Answer: $m_3 = \overline{A}BC$
Problem: Express $F(A,B,C) = \sum m(1, 4, 5, 7)$ as a Boolean expression.
- $m_1 = 001 → \overline{A}\overline{B}C$
- $m_4 = 100 → A\overline{B}\overline{C}$
- $m_5 = 101 → A\overline{B}C$
- $m_7 = 111 → ABC$
- $F = \overline{A}\overline{B}C + A\overline{B}\overline{C} + A\overline{B}C + ABC$
Answer: $F = \overline{A}\overline{B}C + A\overline{B}\overline{C} + A\overline{B}C + ABC$
⚠️ Common Traps
🧪 Quick Self-Test
Formal Definition: A maxterm is a sum (OR) term containing all $n$ variables, where each variable appears exactly once. A maxterm is 0 for exactly one input combination and 1 for all others.
Where minterms use AND and are 1 for one combination, maxterms use OR and are 0 for one combination.
CRITICAL: The complement convention is REVERSED!
In a maxterm $M_i$: if the bit is 1, the variable is complemented. If the bit is 0, the variable is normal.
This makes sense because: an OR term is 0 only when ALL its literals are 0. So if A=1, we need $\overline{A}$ (which is 0 when A=1).
Key Points
- Maxterm = sum (OR) of ALL variables — each appears once
- ⚠️ OPPOSITE convention to minterms: variable is COMPLEMENTED when bit is 1, NORMAL when bit is 0
- $M_i$: $i$ = decimal value of the input combination where it equals 0
- Each maxterm is 0 for exactly ONE input combination
- Maxterm $M_i$ is the complement of minterm $m_i$: $M_i = \overline{m_i}$
- For $n$ variables: $2^n$ maxterms total
- The canonical POS = product of maxterms where F=0
Formulas
Worked Examples
Problem: For 3 variables (A, B, C), what is maxterm $M_3$?
- $3_{10} = 011_2$
- A=0 → normal (uncomplemented): $A$
- B=1 → complemented: $\overline{B}$
- C=1 → complemented: $\overline{C}$
- Maxterm $M_3 = A + \overline{B} + \overline{C}$
Answer: $M_3 = A + \overline{B} + \overline{C}$
Problem: Express $F(A,B,C) = \prod M(0, 2, 3, 6)$ as a Boolean expression.
- $M_0 = 000 → A+B+C$
- $M_2 = 010 → A+\overline{B}+C$
- $M_3 = 011 → A+\overline{B}+\overline{C}$
- $M_6 = 110 → \overline{A}+\overline{B}+C$
- $F = (A+B+C)(A+\overline{B}+C)(A+\overline{B}+\overline{C})(\overline{A}+\overline{B}+C)$
Answer: $F = (A+B+C)(A+\overline{B}+C)(A+\overline{B}+\overline{C})(\overline{A}+\overline{B}+C)$
⚠️ Common Traps
🧪 Quick Self-Test
For $n$ variables, the total set of indices is $\{0, 1, 2, ..., 2^n - 1\}$.
If $F = \sum m(\text{set A})$, then $F = \prod M(\text{set B})$ where B = complement of A (all indices NOT in A).
Similarly, to find the complement of F ($\overline{F}$): $\overline{F} = \sum m(\text{set B})$ where B contains the indices NOT in the original minterm list.
Key Points
- SOP to POS: take the complement of the index set. $\sum m(1,4,5,7) = \prod M(0,2,3,6)$
- The union of minterm indices and maxterm indices = all possible indices
- For $n$ variables, total indices = $\{0, 1, ..., 2^n-1\}$
- To find $\overline{F}$: use the indices NOT in F's minterm list
- $\overline{F}$ in SOP uses the indices from F's maxterm list, and vice versa
Formulas
Worked Examples
Problem: Given $F(A,B,C) = \sum m(0, 2, 5, 7)$, express F in POS form.
- 3 variables → 8 indices total: {0,1,2,3,4,5,6,7}
- Minterm indices: {0, 2, 5, 7}
- Maxterm indices = complement: {1, 3, 4, 6}
- $F = \prod M(1, 3, 4, 6)$
Answer: $F(A,B,C) = \prod M(1, 3, 4, 6)$
Problem: Given $F(A,B) = \sum m(1,2)$, find $\overline{F}$ in SOP form.
- 2 variables → 4 indices total: {0,1,2,3}
- F's minterms: {1, 2}
- $\overline{F}$'s minterms = remaining: {0, 3}
- $\overline{F} = \sum m(0, 3) = \overline{A}\overline{B} + AB$
Answer: $\overline{F} = \sum m(0, 3) = \overline{A}\overline{B} + AB$
⚠️ Common Traps
🧪 Quick Self-Test
When simplifying, you can treat don't cares as either 0 or 1 — whichever leads to a simpler expression. This is especially useful in Karnaugh map simplification.
Notation: $F(A,B,C) = \sum m(1,5,7) + d(2,6)$ — means F=1 at {1,5,7}, F=X (don't care) at {2,6}, F=0 at all other indices.
Key Points
- Don't care = input combination that can never happen OR we don't care about its output
- Denoted by 'd', 'X', or 'φ' in truth tables and expressions
- Can be treated as 0 or 1 during simplification — choose what gives simpler circuit
- Common example: BCD input — combinations 1010-1111 never occur
- Don't cares are listed separately: $F = \sum m(...) + d(...)$
- In K-maps, don't cares can be included in groups to make larger groupings
Worked Examples
Problem: A BCD-to-7-segment decoder receives 4-bit BCD input. What are the don't care conditions?
- BCD uses only 0-9, which is $0000$ to $1001$ in 4-bit binary
- 4-bit binary can represent 0-15 ($0000$ to $1111$)
- Combinations 10-15 ($1010$ to $1111$) can never occur in valid BCD
- These 6 combinations are don't cares: $d(10, 11, 12, 13, 14, 15)$
Answer: Don't care conditions: $d(10, 11, 12, 13, 14, 15)$ — these BCD inputs are invalid.