Normal and Principal Forms (original) (raw)

Last Updated : 3 Jun, 2026

Normal forms and principal forms are the standardized ways of writing logical expressions so they are easier to analyze, compare, or implement.

Normal Forms

Normal Forms are structured representations of logical expressions where the formula is broken down into a combination of literals (variables or their negations) connected by logical operators such as AND, OR, and NOT. These forms help in the simplification and standardization of logical statements.

Types of Normal Forms

The standard structured ways to represent logical expressions are discussed below:

**Disjunctive Normal Forms (DNF)

A formula equivalent to a given formula, consisting of a sum of elementary products, is called a disjunctive normal form of the given formula.

**Example : (P ∧ ~ Q) ∨ (Q ∧ R) ∨ (~ P ∧ Q ∧~ R)

**Conjunctive Normal Form (CNF)

A formula that is equivalent to a given formula and that consists of a product of elementary sums is called a conjunctive normal form of the given formula.

**Example : (P~ ∨ Q) ∧ (Q ∨ R) ∧ (~ P ∨ Q ∨ ~ R)

**Principal Disjunctive Normal Form (PDNF)

An equivalent formula consisting of disjunctions of minterms only is called the Principal disjunctive normal form of the formula. It is also known as the sum-of-products canonical form.

**Example : (P ∧ ~ Q ∧ ~ R) ∨ (P ∧ ~ Q ∧ R) ∨ (~ P ∧ ~ Q ∧ ~ R)

**Principal Conjunctive Normal Form (PCNF)

An equivalent formula consisting of conjunctions of maxterms only is called the principal conjunctive normal form of the formula. It is also known as the product-of-sums canonical form.

**Example : (P ∨ ~ Q ∨ ~ R) ∧ (P ∨ ~ Q ∨ R) ∧ (~ P ∨ ~ Q ∨ ~ R)

Principal Forms

Principal forms are specialized representations that emphasize fundamental characteristics or properties of mathematical entities or systems, focusing on their intrinsic features rather than standardization for simplification. They are designed to highlight intrinsic features that are crucial for understanding behavior, stability, or performance in engineering applications.

Types of Principal Forms

Types of Principal (Canonical) Forms in Boolean Algebra

**Quine-McCluskey Canonical Form

The Quine-McCluskey Canonical Form (QMC) minimizes Boolean functions by systematically combining minterms.

Shannon Canonical Form

The Shannon Canonical Form represents Boolean functions using AND, OR, and NOT operations in a standard format.

Properties of Normal and Principal Forms

1. Logical Equivalence:

2. Minimality:

3. Canonical Representation:

4. Simplification:

Conversion to Normal Forms

1. Conversion to CNF:

**Steps:

1. Eliminate Bi-conditional and Implication: Convert any bi-conditional (↔) and implication (→) into their logical equivalents.

2. Move Negations Inward: Apply De Morgan’s laws to push negations inside and eliminate double negations.

3. Distribute OR over AND: Apply distributive laws to achieve a conjunction of disjunctions.

**Example: Convert (A → B) ∧ ¬C to CNF: (¬A ∨ B) ∧ ¬C

1. (A → B) ∧ ¬C ⇒ (¬A ∨ B) ∧ ¬C

2. (¬A ∨ B) ∧ ¬C has no compound negations

3. No distribution is required since there is no disjunction over a conjunction

Therfore, CNF: (¬A ∨ B) ∧ ¬C

2. Conversion to DNF:

**Steps:

1. Eliminate Bi-conditional and Implication: Similar to CNF conversion, start by eliminating any biconditional and implication.

2. Move Negations Inward: Apply De Morgan’s laws to push negations inside.

3. Distribute AND over OR: Apply distributive laws to achieve a disjunction of conjunctions.

**Example: Convert (A ∨ B) ∧ (C ∨ D) to DNF: (A ∧ ¬ B) ∨ (C ∧ D)

1. The expression doesn't containimplications or bi-conditionals.

2. No negations in the expression.

3. (A ∨ B) ∧ (C ∨ D) = [(A ∨ B) ∧ C] ∨ [(A ∨ B) ∧ D]

= [(A ∧ C) ∨ (B ∧ C)] ∨ [(A ∧ D) ∨ (B ∧ D)​]

= (A ∧ C) ∨ (B ∧ C) ∨ (A ∧ D) ∨ (B ∧ D)

Conversion to Principal Forms

**Steps:

  1. Simplify the Formula: Reduce the expression by combining like terms and eliminating redundancies.
  2. Apply CNF or DNF Conversion: Convert the simplified formula to CNF or DNF.
  3. Ensure Minimality: Check that the resulting form is minimal in terms of the number of literals and clauses.

**Example: For the expression A ∧ (A ∨ B), the Principal Conjunctive Normal Form is A.

A ∧ (A ∨ B) ≡ (A ∧ A) ∨ (A ∧ B) (Distributivity)

(A ∧ A) ∨ (A ∧ B) ≡ A ∨ (A ∧ B) (Idempotent Law)

A ∨ (A ∧ B) ≡ A (Absorption Law)

Application in Computer Science

Normal and Principal Forms of Boolean expressions are widely used in Computer Science for logical analysis, optimization, and digital circuit design.

Solved Examples

**Example 1: Convert the expression (A ∨ B) ∧ (¬A ∨ C) to Disjunctive Normal Form (DNF)

**Solution:

Distribute the AND over OR:

(A ∨ B) ∧ (¬A ∨ C)=(A ∧ ¬A) ∨ (A ∧ C) ∨ (B ∧ ¬A) ∨ (B ∧ C)

Simplify:

(A ∧ C) ∨ (B ∧ ¬A) ∨ (B ∧ C)

Final DNF:

(A ∧ C) ∨ (B ∧ ¬A) ∨ (B ∧ C)

**Example 2: Convert the expression (A ∧ B) ∨ (¬A ∧ C) to Conjunctive Normal Form (CNF).

**Solution:

Apply distributive laws to distribute OR over AND:

(A ∧ B) ∨ (¬A ∧ C) = (A ∨ ¬A) ∧ (A ∨ C) ∧ (B ∨ ¬A) ∧ (B ∨ C)

Simplify using the tautology

(A ∨ C) ∧ (B ∨ ¬A) ∧ (B ∨ C)

Final CNF:

(A ∨ C) ∧ (B ∨ ¬A) ∧ (B ∨ C)

**Example 3: Find the Principal Disjunctive Normal Form (PDNF) for the expression A ∧ ¬B ∨ B ∧ ¬C.

**Solution:

Identify the minterms:

(A ∧ ¬B ), ( B ∧ ¬C)

For (A ∧ ¬B ): C is missing, so we insert (C∨¬C):

(A ∧ ¬B ) = (A ∧ ¬B ∧ C) ∨ (A ∧ ¬B ∧ ¬C)

For (B ∧ ¬C ): A is missing, so we insert (A ∨ ¬A):

(B ∧ ¬C ) = (A ∧ B ∧ ¬C) ∨ (¬A ∧ B ∧ ¬C)

Combine all:

(A ∧ ¬B ∧ C) ∨ (A ∧ ¬B ∧ ¬C) ∨ (A ∧ B ∧ ¬C) ∨ (¬A ∧ B ∧ ¬C)

Final PDNF:

(A ∧ ¬B ∧ C) ∨ (¬A ∧ B ∧ ¬C) ∨ (A ∧ B ∧ ¬C) ∨ (¬A ∧ B ∧ ¬C)

**Example 4: Simplify the Boolean function f(x, y, z) = x ∧ y ∨ ¬x ∧ z using the Shannon Expansion Theorem.

**Solution:

Apply the theorem to break down the expression:

f(x, y, z) = x ∧ ( y ∨ z)

Final simplified form:

f( x, y, z) = x ∧ (y ∨ z)

Practice Problems

**Problem 1. Convert the expression (A∧B)∨(¬A∧¬B) to DNF.

**Problem 2. Convert the expression (A∨B)∧(¬A∨¬B) to CNF.

**Problem 3. Find the PDNF for the expression A∧(¬B∨C).

**Problem 4. Find the PCNF for the expression ¬A∨(B∧¬C).

**Problem 5. Simplify the Boolean function f(x, y) = x ∨ (y ∧ ¬x) using the Shannon Expansion Theorem.

**Problem 6. Convert (¬A∨B)∧(C∨¬D) to DNF.

**Problem 7. Find the PDNF for A∧B∨¬A∧¬B∨C.

**Problem 8. Convert the expression (¬A∧B)∨(A∧¬C) to CNF.

**Problem 9. Simplify f(x,y,z)=(x∨¬y)∧(¬x∨z) using the Quine-McCluskey method.

**Problem 10. Find the PCNF for the expression (A∨¬B)∧(¬C∨D).