Canonical and Standard Form

Last Updated : 9 Jul, 2026

Boolean algebra is the foundation of digital electronics, enabling the design and analysis of logic circuits. Canonical and standard forms are two common methods of representing Boolean functions, helping simplify logic expressions and optimize digital circuit implementation.

  • Canonical forms provide a unique representation of Boolean functions using minterms or maxterms.
  • These forms help reduce hardware complexity and improve circuit efficiency.
  • Understanding canonical and standard forms makes Boolean function analysis and logic circuit design easier.
lolo
Canonical vs Standard Form

Canonical Forms in Boolean Algebra

Canonical forms provide a unique representation of Boolean functions using minterms or maxterms.

  • Minterms: A minterm is a product term in which every Boolean variable appears exactly once, either in its true or complemented form. It represents a combination for which the output is 1.
  • Maxterms: A maxterm is a sum term in which every Boolean variable appears exactly once, either in its true or complemented form. It represents a combination for which the output is 0.

The table below shows the minterms and corresponding maxterms for a three-variable Boolean function.

Decimal IndexXYZMinterm (Product Term)Maxterm (Sum Term)
0000m₀ = X'·Y'·Z'M₀ = X + Y + Z
1001m₁ = X'·Y'·ZM₁ = X + Y + Z'
2010m₂ = X'·Y·Z'M₂ = X + Y' + Z
3011m₃ = X'·Y·ZM₃ = X + Y' + Z'
4100m₄ = X·Y'·Z'M₄ = X' + Y + Z
5101m₅ = X·Y'·ZM₅ = X' + Y + Z'
6110m₆ = X·Y·Z'M₆ = X' + Y' + Z
7111m₇ = X·Y·ZM₇ = X' + Y' + Z'

Types of canonical forms

Canonical Sum of Products (SOP)

In the Canonical Sum of Products (SOP) form, the Boolean expression is written as the sum (OR) of all minterms for which the output is 1. Each minterm contains every input variable exactly once, either in its true or complemented form.

Canonical Product of Sums (POS)

In the Canonical Product of Sums (POS) form, the Boolean expression is written as the product (AND) of all maxterms for which the output is 0. Each maxterm contains every input variable exactly once, either in its true or complemented form.

Example

Consider two Boolean variables A and B with the Boolean function:

F(A, B) = A ⊕ B

The truth table below shows the minterms and maxterms corresponding to the XOR function.

Decimal IndexABF(A,B)MintermMaxterm
0000M₀ = A + B
1011m₁ = A'B
2101m₂ = AB'
3110M₃ = A' + B'

Canonical SOP Form:

F(A, B) = m1 + m2 = A'.B + A.B'

Canonical POS Form:

F(A, B) = M0 . M3 = (A + B).(A' + B')

Canonical SOP and POS provide unique representations of boolean functions and are widely used in Karnaugh maps, logic minimization, and digital circuit design.

Standard Forms in Boolean Algebra

Standard forms provide a simplified way to represent Boolean functions for digital circuit implementation. Unlike canonical forms, every term is not required to contain all input variables.

Types of standard forms:

Standard Sum of Products (SOP)

In the Standard Sum of Products (SOP) form, the Boolean expression is written as the sum (OR) of product terms. Unlike canonical SOP, each product term may omit one or more variables, while preserving the same logical function.

Example

F(A, B, C) = A'B'C + A'B + AB

Here, the product terms A'B and AB do not contain all three input variables.

Standard Product of Sums (POS)

In the Standard Product of Sums (POS) form, the Boolean expression is written as the product (AND) of sum terms. Unlike canonical POS, each sum term may omit one or more variables, resulting in a simpler expression.

Example

F = (A+C)(B+C)(A'+B'+C)

Here, the sum terms (A+C) and (B+C) do not contain all three input variables.

Standard SOP and POS forms simplify Boolean expressions, reduce circuit complexity, and are widely used in digital circuit design and optimization.

Canonical Form vs Standard Form

FeatureCanonical FormStandard Form
Term CompletenessEvery term contains all variablesTerms may omit one or more variables
RepresentationUniqueMultiple equivalent forms
ComplexityUsually higher due to more literalsUsually lower after simplification
UsageAnalysis and Boolean function representationCircuit implementation and simplification
Gate RequirementGenerally requires more gatesGenerally requires fewer gates
ExampleF = A'B'C + A'BC + AB'C' + ABCF = A'C + AB'C' + ABC

Conversion Between Canonical and Standard Forms

Boolean functions can be converted between canonical and standard forms to simplify logic expressions and optimize digital circuit implementation.

Converting Canonical Form into Standard Form

  1. Start with the canonical SOP or POS expression.
  2. Apply Boolean algebra identities to combine common terms.
  3. Eliminate redundant variables or terms.
  4. Obtain the simplified standard form.

Example:

Canonical SOP:

F(A, B, C) = A'B'C + A'BC + AB'C + ABC

Simplification:

(A′B′C + A′BC) + (AB′C + ABC)

A′C(B′ + B) + AC(B′ + B)

A′C(1) + AC(1)

A′C + AC

Further simplification:

=A′C + AC = C(A′ + A) = C

Standard SOP:

F(A,B,C) = C

Converting Standard Form into Canonical Form

  1. Identify the missing variables in each term.
  2. Expand the expression using Boolean identities.
  3. Include every variable in each product or sum term.
  4. Remove duplicate terms.

Example:

Standard SOP:

F = A + BC

Expand the missing variables:

A = A(B + B′)(C + C′)

=ABC + AB′C + ABC′ + AB′C′

Expand the second term:

BC = (A + A′)BC

=ABC + A′BC

Combine the terms:

F = A′BC + AB′C′ + AB′C + ABC′ + ABC

Canonical SOP:

F = A′BC + AB′C′ + AB′C + ABC′ + ABC

Comment

Explore