Skip to main content

3.1 Minterms, Maxterms & Canonical Representation

๐Ÿ“šModule 03: Boolean Expressions & Canonical FormsTopic 3.1โฑ๏ธ14 min read
๐ŸŽฏHigh-Yield For:University Semester Exams โ€ข Hardware Engineering Rounds โ€ข Foundational Computing

๐Ÿ’ก Core Intuition: The Guest List vs. The Banned Listโ€‹

To manage building security for an exclusive facility, a security team can track authorized access in one of two ways:

๐Ÿณ The Everyday Analogy: Invites vs. Bansโ€‹

  • The VIP Guest List (Sum of Products / Minterms): The security team keeps a roster of everyone cleared for entry. Whenever a person arrives, the guard checks the list. If their name appears, the door unlocks (Output = 1). If their name is missing, the door stays locked (Output = 0).
  • The Banned List (Product of Sums / Maxterms): The security team keeps a roster of forbidden individuals. Anyone arriving is permitted entry by default, unless their name appears on the blacklist, which triggers an immediate lockout (Output = 0).

If only 3 dignitaries are allowed into the facility out of 100 applicants, keeping a VIP Guest List of 3 names is concise. If 97 people are allowed and only 3 are barred, publishing a Banned List of 3 names is far more efficient. Both strategies encode the exact same reality, but one is dramatically more compact depending on which outcome is less frequent.

๐Ÿ’ป Bridging to Computer Scienceโ€‹

In digital hardware, a combinational circuit produces a binary output (00 or 11) for each of the 2n2^n possible input combinations. Rather than memorizing all 2n2^n rows of a truth table, hardware engineers store Boolean functions algebraically using:

  1. Sum of Products (SOP): Focuses exclusively on input conditions where the output is HIGH (1), representing each active row as an ANDed minterm.
  2. Product of Sums (POS): Focuses exclusively on input conditions where the output is LOW (0), representing each inactive row as an ORed maxterm.

Because binary outputs are complementary, SOP and POS carry identical expressive power. An engineer selects whichever form requires fewer terms, minimizing gate count, silicon area, and propagation delay.



๐Ÿ“œ Boolean Expressions & Functional Representationโ€‹

A Boolean expression is an algebraic formula composed of binary variables, constants (00 and 11), and logical operators (AND, OR, NOT). It serves as a mathematical blueprint describing when a digital circuit asserts an active voltage.

๐Ÿ”ค

Literal

Atomic Variable
  • A single binary variable in either its uncomplemented form (A) or complemented form (A').
  • An n-variable system contains 2n distinct possible literals.
โšก

Product Term

AND Expression
  • A logical AND of one or more literals.
  • Evaluates to 1 if and only if every single constituent literal in the term evaluates to 1.
  • Examples include AB, A'BC, and AB'C'D.
โž•

Sum Term

OR Expression
  • A logical OR of one or more literals.
  • Evaluates to 0 if and only if every single constituent literal in the term evaluates to 0.
  • Examples include (A + B), (A' + B + C).
๐Ÿ“

Canonical Form

Complete Specification
  • An expression where every single product or sum term contains all n variables of the system.
  • Provides a unique, standardized algebraic fingerprint directly isomorphic to the truth table.

๐Ÿงฉ Minterms: Definition, Indexing & Truth Table Mappingโ€‹

๐Ÿ“–Definition 3.1: Boolean Mintermdefinition

For a Boolean function of nn variables, a minterm is a product (AND) term containing all nn variables, with each variable appearing exactly once in either its uncomplemented or complemented form.

For nn variables, exactly 2n2^n distinct minterms exist, designated as m0,m1,m2,โ€ฆ,m2nโˆ’1m_0, m_1, m_2, \dots, m_{2^n - 1}.

Governing Rules of Mintermsโ€‹

  1. Uniqueness of Output 1: A minterm evaluates to 1 for exactly one of the 2n2^n input combinations, and evaluates to 0 for all other 2nโˆ’12^n - 1 combinations.
  2. Literal Assignment Rule: To force a product term to evaluate to 1 for a specific binary row:
    • A variable assigned binary 1 is written in uncomplemented form (XX).
    • A variable assigned binary 0 is written in complemented form (Xห‰\bar{X} or Xโ€ฒX').
  3. Minterm Designation Index (mim_i): The subscript index ii corresponds directly to the decimal equivalent of the binary input combination.

3-Variable Minterm Truth Table (n=3n = 3)โ€‹

Binary Combination (ABCA B C)Decimal IndexMinterm FormulaDesignationEvaluates to 1 when
0 0 00Aห‰Bห‰Cห‰\bar{A}\bar{B}\bar{C}m0m_0A=0,B=0,C=0A=0, B=0, C=0
0 0 11Aห‰Bห‰C\bar{A}\bar{B}Cm1m_1A=0,B=0,C=1A=0, B=0, C=1
0 1 02Aห‰BCห‰\bar{A}B\bar{C}m2m_2A=0,B=1,C=0A=0, B=1, C=0
0 1 13Aห‰BC\bar{A}BCm3m_3A=0,B=1,C=1A=0, B=1, C=1
1 0 04ABห‰Cห‰A\bar{B}\bar{C}m4m_4A=1,B=0,C=0A=1, B=0, C=0
1 0 15ABห‰CA\bar{B}Cm5m_5A=1,B=0,C=1A=1, B=0, C=1
1 1 06ABCห‰AB\bar{C}m6m_6A=1,B=1,C=0A=1, B=1, C=0
1 1 17ABCABCm7m_7A=1,B=1,C=1A=1, B=1, C=1
๐Ÿ“Theorem 3.1: Canonical Sum of Products (SOP)theorem

Any Boolean function F(x1,x2,โ€ฆ,xn)F(x_1, x_2, \dots, x_n) can be uniquely expressed as the logical sum (OR) of those minterms for which the function evaluates to 1:

F(x1,x2,โ€ฆ,xn)=โˆ‘m(d1,d2,โ€ฆ,dk)F(x_1, x_2, \dots, x_n) = \sum m(d_1, d_2, \dots, d_k)

where d1,d2,โ€ฆ,dkd_1, d_2, \dots, d_k represent the decimal indices of the truth table rows where F=1F = 1.


๐Ÿ›ก๏ธ Maxterms: Definition, Indexing & Dual Truth Table Mappingโ€‹

๐Ÿ“–Definition 3.2: Boolean Maxtermdefinition

For a Boolean function of nn variables, a maxterm is a sum (OR) term containing all nn variables, with each variable appearing exactly once in either its uncomplemented or complemented form.

For nn variables, exactly 2n2^n distinct maxterms exist, designated as M0,M1,M2,โ€ฆ,M2nโˆ’1M_0, M_1, M_2, \dots, M_{2^n - 1}.

Governing Rules of Maxtermsโ€‹

  1. Uniqueness of Output 0: A maxterm evaluates to 0 for exactly one of the 2n2^n input combinations, and evaluates to 1 for all other 2nโˆ’12^n - 1 combinations.
  2. Literal Assignment Rule: To force a sum term to evaluate to 0 for a specific binary row:
    • A variable assigned binary 0 is written in uncomplemented form (XX).
    • A variable assigned binary 1 is written in complemented form (Xห‰\bar{X} or Xโ€ฒX').
  3. Maxterm Designation Index (MiM_i): The subscript index ii corresponds directly to the decimal equivalent of the binary combination where the maxterm produces 0.

3-Variable Maxterm Truth Table (n=3n = 3)โ€‹

Binary Combination (ABCA B C)Decimal IndexMaxterm FormulaDesignationEvaluates to 0 when
0 0 00A+B+CA + B + CM0M_0A=0,B=0,C=0A=0, B=0, C=0
0 0 11A+B+Cห‰A + B + \bar{C}M1M_1A=0,B=0,C=1A=0, B=0, C=1
0 1 02A+Bห‰+CA + \bar{B} + CM2M_2A=0,B=1,C=0A=0, B=1, C=0
0 1 13A+Bห‰+Cห‰A + \bar{B} + \bar{C}M3M_3A=0,B=1,C=1A=0, B=1, C=1
1 0 04Aห‰+B+C\bar{A} + B + CM4M_4A=1,B=0,C=0A=1, B=0, C=0
1 0 15Aห‰+B+Cห‰\bar{A} + B + \bar{C}M5M_5A=1,B=0,C=1A=1, B=0, C=1
1 1 06Aห‰+Bห‰+C\bar{A} + \bar{B} + CM6M_6A=1,B=1,C=0A=1, B=1, C=0
1 1 17Aห‰+Bห‰+Cห‰\bar{A} + \bar{B} + \bar{C}M7M_7A=1,B=1,C=1A=1, B=1, C=1
๐Ÿ“Theorem 3.2: Canonical Product of Sums (POS)theorem

Any Boolean function F(x1,x2,โ€ฆ,xn)F(x_1, x_2, \dots, x_n) can be uniquely expressed as the logical product (AND) of those maxterms for which the function evaluates to 0:

F(x1,x2,โ€ฆ,xn)=โˆM(D1,D2,โ€ฆ,Dm)F(x_1, x_2, \dots, x_n) = \prod M(D_1, D_2, \dots, D_m)

where D1,D2,โ€ฆ,DmD_1, D_2, \dots, D_m represent the decimal indices of the truth table rows where F=0F = 0.


๐Ÿ”„ The Fundamental Complementary Relationship: Minterms vs. Maxtermsโ€‹

The algebraic connection between minterms and maxterms is grounded directly in De Morgan's Laws.

๐Ÿ“Theorem 3.3: Minterm-Maxterm Inversion Dualitytheorem

The complement of the ii-th minterm is identically equal to the ii-th maxterm:

miโ€ฒ=MiandMiโ€ฒ=mim_i' = M_i \quad \text{and} \quad M_i' = m_i
๐Ÿ”First-Principles Proof of Minterm-Maxterm Inversionproof

Let binary row i=4i = 4 for a 3-variable system (A,B,C)(A, B, C), which corresponds to the bit pattern 1 0 0.

The corresponding minterm is:

m4=ABห‰Cห‰m_4 = A \bar{B} \bar{C}

Applying De Morgan's Law to find the complement (m4)โ€ฒ(m_4)':

(m4)โ€ฒ=(ABห‰Cห‰)โ€ฒ=Aห‰+(Bห‰)โ€ฒ+(Cห‰)โ€ฒ=Aห‰+B+C\begin{aligned} (m_4)' &= (A \bar{B} \bar{C})' \\ &= \bar{A} + (\bar{B})' + (\bar{C})' \\ &= \bar{A} + B + C \end{aligned}

By definition, Aห‰+B+C=M4\bar{A} + B + C = M_4. Therefore:

(mi)โ€ฒ=Miโ– (m_i)' = M_i \quad \blacksquare

Set-Theoretic Partition of the Truth Tableโ€‹

Because a Boolean function at any input row must evaluate to either 0 or 1 (Law of the Excluded Middle), the set of minterm indices and the set of maxterm indices form a complete, non-overlapping partition of the input domain {0,1,โ€ฆ,2nโˆ’1}\{0, 1, \dots, 2^n - 1\}:

โšกLaw 3.1: Canonical Partition Identitylaw

For any nn-variable Boolean function FF:

{Mintermย Indicesย ofย F}โˆช{Maxtermย Indicesย ofย F}={0,1,2,โ€ฆ,2nโˆ’1}\{ \text{Minterm Indices of } F \} \cup \{ \text{Maxterm Indices of } F \} = \{ 0, 1, 2, \dots, 2^n - 1 \}{Mintermย Indicesย ofย F}โˆฉ{Maxtermย Indicesย ofย F}=โˆ…\{ \text{Minterm Indices of } F \} \cap \{ \text{Maxterm Indices of } F \} = \emptyset

Consequently, if F=โˆ‘m(1,4,6,7)F = \sum m(1, 4, 6, 7) for n=3n = 3, then:

F=โˆM(0,2,3,5)F = \prod M(0, 2, 3, 5)

โš–๏ธ Architectural Comparison: Canonical SOP vs. Canonical POSโ€‹

Canonical SOP vs. Canonical POS Representation

Comparing the two canonical pillars of Boolean functional representation

SOP (Sum of Products)

Canonical SOP (โˆ‘ m)

โž•
Dominant Architecture / DomainActive-HIGH Logic โ€ข Assertion Focus
  • โ€ขConstructed by ORing product terms (minterms).
  • โ€ขTracks the input combinations where F = 1.
  • โ€ขUncomplemented variable = 1; Complemented variable = 0.
  • โ€ขIdeal when the number of 1s in the truth table is strictly less than 2^(n-1).
"Remember when the output lights up: F = โˆ‘ m(indices)."
POS (Product of Sums)

Canonical POS (โˆ M)

โœ–๏ธ
Dominant Architecture / DomainActive-LOW Logic โ€ข Invalidation Focus
  • โ€ขConstructed by ANDing sum terms (maxterms).
  • โ€ขTracks the input combinations where F = 0.
  • โ€ขUncomplemented variable = 0; Complemented variable = 1.
  • โ€ขIdeal when the number of 0s in the truth table is strictly less than 2^(n-1).
"Remember when the output shuts down: F = โˆ M(indices)."

๐Ÿงฎ Degrees of Freedom: Total Possible Boolean Functionsโ€‹

A fundamental question in hardware synthesis and switching theory is: How many distinct Boolean functions can be constructed using nn binary variables?

๐Ÿ“Theorem 3.4: Total Number of Boolean Functionstheorem

With nn binary variables, the total number of distinct Boolean functions NN that can be defined is:

N=22nN = 2^{2^n}
๐Ÿ”Derivation of the Double-Exponential Function Countproof
  1. Input Combinations: An nn-variable truth table possesses exactly 2n2^n distinct input rows:
Totalย Rows=2n\text{Total Rows} = 2^n
  1. Output Choices per Row: For each distinct row, the function output FF can be independently assigned either 0 or 1. There are exactly 22 independent choices for each row.

  2. Multiplication Principle of Combinatorics: Because each row assignment is completely independent of all other rows, the total number of unique truth tables is:

N=2ร—2ร—2ร—โ‹ฏร—2โŸ2nย times=22nโ– \begin{aligned} N &= \underbrace{2 \times 2 \times 2 \times \dots \times 2}_{2^n \text{ times}} \\ &= 2^{2^n} \quad \blacksquare \end{aligned}

Generalized Formula for Multi-Valued Systemsโ€‹

If inputs and outputs have varying discrete states, the formula generalizes as:

๐Ÿ“Formula 3.1: Generalized Function Capacityformula
N=x(yz)N = x^{(y^z)}

where:

  • x=numberย ofย possibleย outputย statesx = \text{number of possible output states} (for binary logic, x=2x = 2).
  • y=numberย ofย possibleย inputย statesย perย variabley = \text{number of possible input states per variable} (for binary logic, y=2y = 2).
  • z=numberย ofย inputย variablesย nz = \text{number of input variables } n.

Growth Rate Across Variable Countsโ€‹

Variables (nn)Truth Table Rows (2n2^n)Total Distinct Functions (22n2^{2^n})Order of Magnitude
n=1n = 1222=42^2 = 44 functions (0,X,Xห‰,10, X, \bar{X}, 1)
n=2n = 2424=162^4 = 1616 functions (AND, OR, XOR, NAND, etc.)
n=3n = 3828=2562^8 = 256256 functions
n=4n = 416216=65,5362^{16} = 65,536~65.5 Thousand functions
n=5n = 532232=4,294,967,2962^{32} = 4,294,967,296~4.29 Billion functions
n=6n = 664264โ‰ˆ1.84ร—10192^{64} \approx 1.84 \times 10^{19}18.418.4 Quintillion functions

The double-exponential growth highlights why manual algebraic minimization becomes impossible beyond 4 to 5 variables, necessitating algorithmic minimization techniques like Karnaugh Maps and the Quine-McCluskey method.


๐Ÿญ Real-World Production Context: Programmable Logic Arrays (PLA) & Memory Decodersโ€‹

Canonical representation is not merely an academic formalism; it serves as the physical hardware blueprint inside high-density programmable devices and memory arrays:

Architecture Flow

Hardware Realization of Canonical SOP in PLAs and ROMs

Translating address lines into hardware minterms through decoders and summing planes

๐Ÿ”ขInput Lines

Address Bus (A, B, C)

n physical address signals carrying binary bit combinations.

โ†’
Binary Select
โšกAND Plane

Binary Decoder (2โฟ Terms)

Array of AND gates physically generating all 2โฟ canonical minterms (m0 to m7).

โ†’
Active Minterms
๐Ÿ”€OR Plane

Programmable OR Matrix

Configurable diode or transistor matrix summing selected minterms (โˆ‘ m).

โ†’
Logic Sum
๐ŸŽฏOutput Pin

Target Output F

Asserts HIGH whenever any selected minterm evaluates to 1.

  1. Hardware Memory Decoders: An nn-to-2n2^n binary memory address decoder (such as a 3-to-8 decoder) is physically an array of 2n2^n AND gates. Each output pin of the decoder produces exactly one minterm mim_i. Asserting an address selects exactly one memory row.
  2. Programmable Logic Arrays (PLA) & PROMs: A Read-Only Memory (ROM) is physically constructed as a fixed AND-plane generating all 2n2^n minterms, connected to a programmable OR-plane that fuses specific minterms together. The stored program in a ROM is literally the canonical SOP expansion of the desired data words!
  3. Control Unit Microcode: In microprocessor design, instruction decoders expand opcode bits into canonical minterms to activate specific execution control lines (ALU add, register write-enable, bus-gate).

๐Ÿ“ Numerical Applications & Worked Examplesโ€‹

Example 1: Deriving Canonical SOP and POS from an Engineering Specificationโ€‹

Problem Statement:
An automated industrial cooling unit monitors three sensors: Temperature (TT), Pressure (PP), and Vibration (VV). The system triggers an emergency warning alarm (WW) under the following conditions:

  • High Temperature and High Pressure are detected simultaneously, regardless of Vibration.
  • High Vibration is detected while Temperature is Normal and Pressure is High.
  • All three sensors detect High values simultaneously.

Define the variables (1=High,0=Normal1 = \text{High}, 0 = \text{Normal}), construct the complete truth table, and express W(T,P,V)W(T, P, V) in both Canonical SOP (โˆ‘m\sum m) and Canonical POS (โˆM\prod M) shorthand formats.

Step-by-Step Solution:

  1. Construct the Truth Table: Evaluating each row against the specification:
    • Condition 1 (T=1,P=1T=1, P=1): Rows with T=1,P=1,V=0T=1, P=1, V=0 (row 6) and T=1,P=1,V=1T=1, P=1, V=1 (row 7) trigger W=1W = 1.
    • Condition 2 (T=0,P=1,V=1T=0, P=1, V=1): Row 3 triggers W=1W = 1.
    • Condition 3 (T=1,P=1,V=1T=1, P=1, V=1): Row 7 (already included).
    • All other sensor combinations produce W=0W = 0.
Row (ii)TTPPVVWarning (WW)Minterm (mim_i)Maxterm (MiM_i)
00000-M0=T+P+VM_0 = T + P + V
10010-M1=T+P+Vห‰M_1 = T + P + \bar{V}
20100-M2=T+Pห‰+VM_2 = T + \bar{P} + V
30111m3=Tห‰PVm_3 = \bar{T}PV-
41000-M4=Tห‰+P+VM_4 = \bar{T} + P + V
51010-M5=Tห‰+P+Vห‰M_5 = \bar{T} + P + \bar{V}
61101m6=TPVห‰m_6 = TP\bar{V}-
71111m7=TPVm_7 = TPV-
  1. Formulate Canonical SOP: Identify rows where W=1W = 1 (rows 3, 6, 7):
W(T,P,V)=m3+m6+m7=Tห‰PV+TPVห‰+TPVW(T, P, V) = m_3 + m_6 + m_7 = \bar{T}PV + TP\bar{V} + TPV

In compact shorthand:

W(T,P,V)=โˆ‘m(3,6,7)W(T, P, V) = \sum m(3, 6, 7)
  1. Formulate Canonical POS: Identify remaining rows where W=0W = 0 (rows 0, 1, 2, 4, 5):
W(T,P,V)=M0โ‹…M1โ‹…M2โ‹…M4โ‹…M5W(T, P, V) = M_0 \cdot M_1 \cdot M_2 \cdot M_4 \cdot M_5

In compact shorthand:

W(T,P,V)=โˆM(0,1,2,4,5)W(T, P, V) = \prod M(0, 1, 2, 4, 5)

Notice that {3,6,7}โˆช{0,1,2,4,5}={0,1,2,3,4,5,6,7}\{3, 6, 7\} \cup \{0, 1, 2, 4, 5\} = \{0, 1, 2, 3, 4, 5, 6, 7\}, confirming a complete partition of the 23=82^3 = 8 states.


Example 2: Complementing a Canonical Function and Mutual Conversionโ€‹

Problem Statement:
A 3-variable logic circuit implements the switching function:

F(A,B,C)=โˆ‘m(0,2,4,5,6)F(A, B, C) = \sum m(0, 2, 4, 5, 6)
  1. Express the logical complement Fโ€ฒF' in canonical SOP form.
  2. Express the logical complement Fโ€ฒF' in canonical POS form.
  3. Express the original function FF in canonical POS form.

Step-by-Step Solution:

  1. Find Canonical SOP of Fโ€ฒF': By definition, Fโ€ฒ=1F' = 1 at all rows where F=0F = 0. The universal set of indices for n=3n = 3 is U={0,1,2,3,4,5,6,7}U = \{0, 1, 2, 3, 4, 5, 6, 7\}. Subtracting the minterms of FF:
Mintermsย ofย Fโ€ฒ=Uโˆ–{0,2,4,5,6}={1,3,7}\text{Minterms of } F' = U \setminus \{0, 2, 4, 5, 6\} = \{1, 3, 7\} Fโ€ฒ(A,B,C)=โˆ‘m(1,3,7)F'(A, B, C) = \sum m(1, 3, 7)
  1. Find Canonical POS of Fโ€ฒF': The maxterms of Fโ€ฒF' are the rows where Fโ€ฒ=0F' = 0, which are precisely the rows where F=1F = 1:
Fโ€ฒ(A,B,C)=โˆM(0,2,4,5,6)F'(A, B, C) = \prod M(0, 2, 4, 5, 6)
  1. Find Canonical POS of FF: The maxterms of FF are the rows where F=0F = 0, which are the rows where Fโ€ฒ=1F' = 1:
F(A,B,C)=โˆM(1,3,7)F(A, B, C) = \prod M(1, 3, 7)

Core Observation:

  • F=โˆ‘m(0,2,4,5,6)โ‰กโˆM(1,3,7)F = \sum m(0, 2, 4, 5, 6) \equiv \prod M(1, 3, 7)
  • Fโ€ฒ=โˆ‘m(1,3,7)โ‰กโˆM(0,2,4,5,6)F' = \sum m(1, 3, 7) \equiv \prod M(0, 2, 4, 5, 6)

Example 3: Function Capacity & Degrees of Freedomโ€‹

Problem Statement:

  1. Calculate the total number of distinct Boolean functions that can be formed using 4 binary variables.
  2. If a 4-variable function is constrained such that F=1F = 1 for all inputs where the decimal index is an odd number, how many distinct functions can still be constructed?

Step-by-Step Solution:

  1. Total Functions for n=4n = 4: Number of input combinations =24=16= 2^4 = 16. Total possible functions:
N=224=216=65,536N = 2^{2^4} = 2^{16} = 65,536
  1. Constrained Function Count:
    • The 16 input rows are indexed 00 through 1515.
    • There are exactly 8 odd indices: {1,3,5,7,9,11,13,15}\{1, 3, 5, 7, 9, 11, 13, 15\}.
    • The problem constrains the output for these 8 odd rows to be fixed at 11. Thus, there is only 11 choice for each odd row.
    • The remaining 8 even indices: {0,2,4,6,8,10,12,14}\{0, 2, 4, 6, 8, 10, 12, 14\} are unconstrained. For each even row, the output can be freely chosen as either 00 or 11 (22 choices per row).
    • Total degrees of freedom:
Nconstrained=28=256N_{\text{constrained}} = 2^8 = 256

Exactly 256256 distinct functions satisfy this design constraint.


๐ŸŽฏ Exam & Interview Pitfall Checkโ€‹

Core Conceptual Questions
  • Why does a minterm represent binary 0 as a complemented literal, while a maxterm represents binary 0 as an uncomplemented literal?
    A minterm is an AND product term designed to output 11 only for its specific row. If an input variable is 00, it must be inverted (Xห‰\bar{X}) so that 0ห‰=1\bar{0} = 1, allowing the entire AND product to evaluate to 11.
    Conversely, a maxterm is an OR sum term designed to output 00 only for its specific row. If an input variable is 00, it must remain uncomplemented (XX) so that 0+0+โ‹ฏ=00 + 0 + \dots = 0. If an input is 11, it must be inverted (Xห‰\bar{X}) to turn into 00 so the OR sum does not become 11.

  • Why are canonical SOP and canonical POS expressions considered "isomorphic" to truth tables?
    Unlike minimized expressions (which can take multiple equivalent forms, such as AB+Aโ€ฒCAB + A'C vs. other covers), a canonical expression contains every variable in every term. There is an exact, unique 1-to-1 bijection between the rows of a truth table and the terms of a canonical expression. No two distinct truth tables can ever share the same canonical expansion.

Common Interview Traps
  • Trap: Confusing the complement of a minterm with another minterm.
    Never write (mi)โ€ฒ=m2nโˆ’1โˆ’i(m_i)' = m_{2^n - 1 - i}. Inversion of a minterm does NOT produce another minterm; by De Morgan's Law, inverting an AND term produces an OR term! The true mathematical relationship is (mi)โ€ฒ=Mi(m_i)' = M_i (the ii-th maxterm).

  • Trap: Forgetting the difference between 2n2^n and 22n2^{2^n}.
    Candidates frequently confuse the number of minterms (2n2^n) with the number of functions (22n2^{2^n}). In a 3-variable system:

    • Number of minterms =23=8= 2^3 = 8.
    • Number of distinct Boolean functions =223=28=256= 2^{2^3} = 2^8 = 256.

๐Ÿ’ฌ

Discussion & Doubts