chapter

    Boolean Algebra, Canonical Forms and Logic Minimization Notes for Gate Cs

    Boolean Algebra, Canonical Forms and Logic Minimization notes for GATE CS: 41 study cards covering concepts, formulas, shortcuts and exam traps, plus solved p

    Boolean Algebra Canonical Forms and Logic Minimization notes

    Chapter Journey: Boolean Algebra and Logic Minimization

    Chapter Journey

    Master the foundation of digital circuit design, from basic axioms to advanced minimization techniques.

    1
    Boolean Laws & Identities High Weightage
    The foundational axioms and theorems for manipulation.
    2
    Canonical Forms Moderate
    Standardizing functions into Minterm and Maxterm representations.
    3
    Algebraic Minimization High Weightage
    Reducing Sum-of-Products expressions using Boolean theorems.
    4
    Karnaugh Maps Moderate
    Visual minimization for up to 4-6 variables using prime implicants.
    5
    Composite Functions Moderate
    Analyzing Majority, XOR, and complex composite logic structures.

    Boolean Laws, Identities and Expression Equivalence

    Boolean Laws & Identities

    The grammar of digital logic. Master these rules to simplify circuits, reduce gate count, and verify complex expressions.

    • Core axioms: Commutative, Associative, Distributive, Identity, Complement
    • Advanced theorems: Absorption, Redundancy, and Consensus
    • Transformation tools: De Morgan's Laws and the Principle of Duality

    Core Boolean Identities

    Fundamental Axioms

    Commutative
    Associative
    Distributive
    Identity & Null
    Complement: ,
    Idempotent: ,

    38 more cards in this chapter

    Try a question

    Answer it here to see how it works. Nothing is recorded until you sign in.

    Question 1
    Level 1: Warm-up

    Assertion (A): For a 3-variable function , if the sum-of-minterms is , then the product-of-maxterms is .

    Reason (R): The arithmetic sum of the minterm indices and the maxterm indices equals the total number of rows in the truth table, which is .

    Question 2
    Level 1: Warm-up

    According to the definition of an Essential Prime Implicant, what is the minimum number of minterms it must uniquely cover (i.e., not covered by any other Prime Implicant) to be considered mandatory in the minimal expression?

    Question 3
    Level 1: Warm-up

    For a Prime Implicant of a Boolean function, what is the maximum number of literals that can be removed from it such that the resulting term is still guaranteed to be an implicant of the function?

    Question 4
    Level 1: Warm-up

    If a minimal Sum-of-Products expression excludes a specific Prime Implicant that uniquely covers at least one minterm, what is the direct consequence for the function's truth table?

    Question 5
    Level 1: Warm-up

    For the Boolean function , how many Essential Prime Implicants does it have?

    Question 6
    Level 1: Warm-up

    A Boolean function has 3 Essential Prime Implicants. To cover the remaining minterms, exactly 2 additional Prime Implicants are needed. What is the total number of product terms in the minimal Sum-of-Products expression?

    Question 7
    Level 1: Warm-up

    Consider the 3-variable Boolean function . How many

    Essential Prime Implicants does this function have?

    Question 8
    Level 1: Warm-up

    Which of the following statements regarding Karnaugh map grouping rules are CORRECT?

    Question 9
    Level 1: Warm-up

    Consider a 3-variable function . The Prime Implicants

    are , , , and . Which of the

    following statements about their essentiality and coverage are CORRECT?

    Question 10
    Level 1: Warm-up

    Which of the following statements regarding the Karnaugh map quick reference checklist are

    CORRECT?

    Free preview ends here

    Login to view the complete notes

    Creating an account is free. You get the rest of this chapter, step-by-step solutions, and a study plan built around the topics you are actually weak at.

    Explore complete test series, official past papers, and chapter-wise study tools.

    Why MastersUp

    Personalised first. High quality throughout.

    Most platforms hand everyone the same content. Here the content moves with your performance, topic by topic.

    Built around you, not around a syllabus PDF

    Every answer you give moves your topic-level intelligence rate. The next question, the next revision card and tomorrow's plan all change with it.

    Revision that hits your weak spots

    We only revise topics you have actually attempted and are still below the safe bar on — never the same chapter on repeat.

    Questions calibrated to the real exam

    Each question carries a measured toughness. You are served a rung above your current level, so practice keeps stretching you.

    Notes written for recall, not for volume

    Full lesson cards for first study, curated short-note cards for the last mile — with derivations, traps and exam patterns marked.

    One place for everything

    Notes, chapter practice, previous-year questions, test series and full-length papers — all feeding one picture of your preparation.

    Honest progress

    No vanity streaks. Progress here means chapters mastered and accuracy that held up on harder questions.

    Unlock the whole course

    Full notes and short notes, the complete question bank with worked solutions, mock tests, full-length papers, and an adaptive plan that rebuilds itself as you improve.

    Boolean Algebra, Canonical Forms and Logic Minimization Notes for GATE CS

    Boolean Algebra, Canonical Forms and Logic Minimization notes for GATE CS: 41 study cards covering concepts, formulas, shortcuts and exam traps, plus solved practice questions.

    Chapter Journey: Boolean Algebra and Logic Minimization

    Chapter Journey

    Master the foundation of digital circuit design, from basic axioms to advanced minimization techniques.

    1
    Boolean Laws & Identities High Weightage
    The foundational axioms and theorems for manipulation.
    2
    Canonical Forms Moderate
    Standardizing functions into Minterm and Maxterm representations.
    3
    Algebraic Minimization High Weightage
    Reducing Sum-of-Products expressions using Boolean theorems.
    4
    Karnaugh Maps Moderate
    Visual minimization for up to 4-6 variables using prime implicants.
    5
    Composite Functions Moderate
    Analyzing Majority, XOR, and complex composite logic structures.

    Boolean Laws, Identities and Expression Equivalence

    Boolean Laws & Identities

    The grammar of digital logic. Master these rules to simplify circuits, reduce gate count, and verify complex expressions.

    • Core axioms: Commutative, Associative, Distributive, Identity, Complement
    • Advanced theorems: Absorption, Redundancy, and Consensus
    • Transformation tools: De Morgan's Laws and the Principle of Duality

    Core Boolean Identities

    Fundamental Axioms

    Commutative
    Associative
    Distributive
    Identity & Null
    Complement: ,
    Idempotent: ,

    The Power Laws: Absorption and Consensus

    High-Yield Simplification Theorems

    1. Absorption Law

    The larger term absorbs the smaller one.

    2. Redundancy Law

    If is false, the expression depends entirely on .

    3. Consensus Theorem

    The term is redundant and can be eliminated.

    Boolean Algebra, Canonical Forms and Logic Minimization: Solved Questions with Step-by-Step Explanations (10 Problems)

    Question 1 · Digital Logic MCQ

    Assertion (A): For a 3-variable function , if the sum-of-minterms is , then the product-of-maxterms is .

    Reason (R): The arithmetic sum of the minterm indices and the maxterm indices equals the total number of rows in the truth table, which is .

    1. A.

      Both A and R are true and R is the correct explanation of A.

    2. B.

      A is true but R is false.

    3. C.

      Both A and R are true but R is not the correct explanation of A.

    4. D.

      A is false but R is true.

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: Verify the mathematical truth of the Assertion, then check the Reason for conceptual and arithmetic accuracy.

    Step 1: Evaluate Assertion (A). For a 3-variable function, there are total rows (0 to 7). The minterm indices are . The maxterm indices must be the complement set: . Assertion (A) is TRUE.

    Step 2: Evaluate Reason (R). The reason claims the "arithmetic sum" of the indices equals 8. Let's calculate the arithmetic sum: .

    Step 3: The arithmetic sum is 28, not 8. The correct concept is that the <i>union of the sets</i> of indices contains exactly 8 elements. Reason (R) is FALSE due to a unit mismatch (confusing set union size with arithmetic sum).

    Answer: B

    Question 2 · Digital Logic MCQ

    According to the definition of an Essential Prime Implicant, what is the minimum number of minterms it must uniquely cover (i.e., not covered by any other Prime Implicant) to be considered mandatory in the minimal expression?

    1. A.

      0

    2. B.

      1

    3. C.

      2

    4. D.

      All minterms

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: An Essential Prime Implicant is defined by its coverage of at least one unique minterm.

    Step 1: Recall the definition of an Essential Prime Implicant (EPI). It is a Prime Implicant that covers at least one minterm that is not covered by any other Prime Implicant.

    Step 2: Identify the threshold for "at least one". The minimum number of uniquely covered minterms required to make a PI essential is exactly 1.

    Step 3: Because this specific minterm must be 1, and the EPI is the only PI that can cover it, the EPI becomes mandatory.

    Answer: B

    Question 3 · Digital Logic MCQ

    For a Prime Implicant of a Boolean function, what is the maximum number of literals that can be removed from it such that the resulting term is still guaranteed to be an implicant of the function?

    1. A.

      0

    2. B.

      1

    3. C.

      2

    4. D.

      It depends on the total number of variables

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a definition-boundary question, recognizable because it tests the strict limits of what makes an implicant "Prime".

    Step 1: Recall the definition of a Prime Implicant (PI). It is a maximal grouping of 1s. It cannot be expanded further without including a 0.

    Step 2: Understand what "removing a literal" means in Boolean algebra. Removing a literal from a product term expands the term to cover more minterms (e.g., covers fewer minterms than ).

    Step 3: If you remove even 1 literal from a PI, the resulting term will expand to cover at least one minterm where the function is 0.

    Step 4: Therefore, it will no longer be an implicant. The maximum number of literals you can remove while guaranteeing it remains an implicant is 0.

    Answer: A

    Question 4 · Digital Logic MCQ

    If a minimal Sum-of-Products expression excludes a specific Prime Implicant that uniquely covers at least one minterm, what is the direct consequence for the function's truth table?

    1. A.

      The function will evaluate to 0 for that specific minterm, making the expression incorrect.

    2. B.

      The function will evaluate to 1 for that minterm, but the expression will contain redundant terms.

    3. C.

      The function will remain logically equivalent but will require more OR gates.

    4. D.

      The function will automatically convert to a Product-of-Sums form.

    Correct Answer:

    A

    Step-by-Step Solution

    Key idea: This is a consequence-analysis question, recognizable because it tests the mandatory nature of Essential Prime Implicants.

    Step 1: Identify the definition of the excluded term. It is a Prime Implicant that "uniquely covers at least one minterm". This is the exact definition of an Essential Prime Implicant (EPI).

    Step 2: Understand the role of an EPI. Because it is the <i>only</i> Prime Implicant that covers that specific minterm, no other term in the expression can cover it.

    Step 3: If the EPI is excluded from the final Sum-of-Products expression, that unique minterm is left uncovered.

    Step 4: An uncovered minterm in an SOP expression means the function will evaluate to 0 for that input combination, which contradicts the original truth table (where it should be 1). The expression becomes incorrect.

    Answer: A

    Question 5 · Digital Logic MCQ

    For the Boolean function , how many Essential Prime Implicants does it have?

    1. A.

      2

    2. B.

      3

    3. C.

      4

    4. D.

      5

    Correct Answer:

    B

    Step-by-Step Solution

    Key idea: An Essential Prime Implicant (EPI) is a Prime Implicant (PI) that covers at least one minterm not covered by any other PI.

    Step 1: Identify the PIs by grouping the minterms. The minterms 0-11 form a large block, and 14,15 form another.

    Step 2: The PIs are (covers 0-7), (covers 0,1,4,5,8,9,10,11), (covers 0,1,2,3,8,9,10,11), and (covers 14,15).

    Step 3: Check for unique minterms. uniquely covers 2,3,6,7. uniquely covers 8,9,10,11. uniquely covers 14,15.

    Step 4: covers 4,5 (also in ) and 8,9,10,11 (also in ). It has no unique minterms, so it is NOT an EPI.

    Total EPIs = 3.

    Answer: B

    Question 6 · Digital Logic MCQ

    A Boolean function has 3 Essential Prime Implicants. To cover the remaining minterms, exactly 2 additional Prime Implicants are needed. What is the total number of product terms in the minimal Sum-of-Products expression?

    1. A.

      2

    2. B.

      3

    3. C.

      5

    4. D.

      6

    Correct Answer:

    C

    Step-by-Step Solution

    Key idea: The minimal SOP expression is the sum of ALL Essential Prime Implicants plus the MINIMUM number of additional Prime Implicants needed to cover the rest.

    Step 1: The problem states there are 3 EPIs. These are mandatory, so they contribute 3 product terms.

    Step 2: It states exactly 2 additional PIs are needed to cover the remaining minterms. These contribute 2 product terms.

    Step 3: Total product terms = (Number of EPIs) + (Number of additional PIs) = 3 + 2 = 5.

    Answer: C

    Question 7 · Digital Logic NAT

    Consider the 3-variable Boolean function . How many

    Essential Prime Implicants does this function have?

    Correct Answer:

    2.00

    Step-by-Step Solution

    Key idea: this is a standard K-map minimization problem where we need to identify the Prime

    Implicants and then determine which ones are Essential.

    Exam route: plot the minterms on a K-map, find the maximal groups (Prime Implicants), and

    check which groups cover at least one minterm not covered by any other group.

    Learning route:

    Step 1: Plot the minterms on a 3-variable K-map. The missing minterms

    are $3$ ($011$) and $7$ ($111$).

    Step 2: Identify the maximal groups of 1s.

    • Group 1: minterms form a square. This corresponds to .
    • Group 2: minterms form a square. This corresponds to .

    These are the only two Prime Implicants.

    Step 3: Determine Essential Prime Implicants.

    • covers . Minterm $1$ is only covered by . So is essential.
    • covers . Minterm $2$ is only covered by . So is essential.

    Step 4: Count the Essential Prime Implicants. There are $2$.

    Answer: $2$.

    Tempting wrong path: saying there are $0$ Essential Prime Implicants because the groups

    overlap. This breaks at Step 3, where an EPI only needs to cover at least one unique

    minterm, not be completely disjoint from other groups.

    Generalization: a Prime Implicant is Essential if it is the only group covering at least

    one minterm. Overlap between groups does not disqualify them from being essential.

    Verification: the minimal SOP is , which includes both EPIs

    and covers all six minterms.

    Question 8 · Digital Logic MSQ

    Which of the following statements regarding Karnaugh map grouping rules are CORRECT?

    1. A.

      A group of 8 cells in a 4-variable map eliminates exactly 3 variables from the resulting product term.

    2. B.

      In a Product-of-Sums (POS) derivation, a variable that remains $0$ throughout a group of $0$s is written in its complemented form.

    3. C.

      A don't care condition () can be grouped with other don't cares to form a valid group of $1$s even if no actual $1$s are included.

    4. D.

      The leftmost column and the rightmost column of a 4-variable K-map are considered adjacent for grouping purposes.

    Correct Answer:

    ["A","D"]

    Step-by-Step Solution

    Key idea: this is a checklist question on K-map rules, recognizable because it tests multiple

    independent properties of grouping, POS derivation, and don't cares.

    Exam route: evaluate each statement against the standard K-map rules one by one.

    Learning route:

    Step 1: A group of cells eliminates variables. For 8 cells, , so 3 variables

    are eliminated. Statement A is correct.

    Step 2: In POS, we group $0$s. If a variable is $0$ throughout the group, it appears

    uncomplemented in the sum term. If it is $1$, it appears complemented. Statement B claims $0$

    becomes complemented, which is false.

    Step 3: Don't cares () can be treated as $1$ to enlarge a group, but they cannot form a

    group entirely on their own. There must be at least one actual $1$ in the group. Statement C

    is false.

    Step 4: The K-map is toroidal; the left edge wraps to the right edge, and the top wraps to

    the bottom. Statement D is correct.

    Answer: A and D.

    Tempting wrong path: assuming that in POS, the rules are exactly the same as SOP (where $1$

    is uncomplemented), leading to selecting B. This breaks at Step 2, where the POS rule

    explicitly reverses the complementation based on the $0$s being grouped.

    Generalization: SOP groups $1$s ( uncomplemented), POS groups $0$s (

    uncomplemented). The constant value in the group dictates the literal form.

    Verification: A group of 8 in a 4-variable map leaves variable, which is correct.

    Edge wrapping is a fundamental property of the 4-variable map layout.

    Question 9 · Digital Logic MSQ

    Consider a 3-variable function . The Prime Implicants

    are , , , and . Which of the

    following statements about their essentiality and coverage are CORRECT?

    1. A.

      is an Essential Prime Implicant.

    2. B.

      is an Essential Prime Implicant.

    3. C.

      is not an Essential Prime Implicant, but it can be used to cover the remaining minterms 6 and 7.

    4. D.

      The minimal SOP expression must include and .

    Correct Answer:

    ["A","C"]

    Step-by-Step Solution

    Key idea: this is a definition and coverage question on Essential Prime Implicants,

    recognizable because it tests which PIs are mandatory and how to cover remaining minterms.

    Exam route: determine which minterms are covered by each PI and identify which PIs cover

    unique minterms.

    Learning route:

    Step 1: List the minterms covered by each PI:

    • :
    • :
    • :
    • :

    Step 2: Identify unique minterms:

    • Minterm $0$ is only covered by . So is essential. Statement A is correct.
    • Minterm $1$ is only covered by .
    • Minterm $2$ is covered by and . Not unique.
    • Minterm $3$ is covered by and . Not unique.
    • Minterm $6$ is covered by and . Not unique.
    • Minterm $7$ is covered by and . Not unique.

    Step 3: Since only is essential, , , and are not essential. Statement

    B is incorrect.

    Step 4: After including , the remaining minterms are $6$ and $7$. covers both $6$

    and $7$, so it can be used. Statement C is correct.

    Step 5: We could also use and to cover $6$ and $7$, but it's not mandatory;

    is sufficient and minimal. Statement D is incorrect.

    Answer: A and C.

    Tempting wrong path: assuming all PIs that cover multiple minterms are essential, or

    assuming a specific minimal form is the only valid one. This breaks at Step 2, where

    essentiality requires a unique minterm.

    Generalization: A PI is essential only if it covers at least one minterm not covered by any

    other PI. Overlap does not make a PI essential.

    Verification: covers $0$ uniquely. covers $6,7$ together, which is minimal.

    Question 10 · Digital Logic MSQ

    Which of the following statements regarding the Karnaugh map quick reference checklist are

    CORRECT?

    1. A.

      A group of 8 cells in a 4-variable map eliminates exactly 3 variables from the resulting product term.

    2. B.

      In a Product-of-Sums (POS) derivation, a variable that remains $0$ throughout a group of $0$s is written in its complemented form.

    3. C.

      A don't care condition () can be grouped with other don't cares to form a valid group of $1$s even if no actual $1$s are included.

    4. D.

      The leftmost column and the rightmost column of a 4-variable K-map are considered adjacent for grouping purposes.

    Correct Answer:

    ["A","D"]

    Step-by-Step Solution

    Key idea: this is a checklist question on K-map rules, recognizable because it tests multiple

    independent properties of grouping, POS derivation, and don't cares.

    Exam route: evaluate each statement against the standard K-map rules one by one.

    Learning route:

    Step 1: A group of cells eliminates variables. For 8 cells, , so 3 variables

    are eliminated. Statement A is correct.

    Step 2: In POS, we group $0$s. If a variable is $0$ throughout the group, it appears

    uncomplemented in the sum term. If it is $1$, it appears complemented. Statement B claims $0$

    becomes complemented, which is false.

    Step 3: Don't cares () can be treated as $1$ to enlarge a group, but they cannot form a

    group entirely on their own. There must be at least one actual $1$ in the group. Statement C

    is false.

    Step 4: The K-map is toroidal; the left edge wraps to the right edge, and the top wraps to

    the bottom. Statement D is correct.

    Answer: A and D.

    Tempting wrong path: assuming that in POS, the rules are exactly the same as SOP (where $1$

    is uncomplemented), leading to selecting B. This breaks at Step 2, where the POS rule

    explicitly reverses the complementation based on the $0$s being grouped.

    Generalization: SOP groups $1$s ( uncomplemented), POS groups $0$s (

    uncomplemented). The constant value in the group dictates the literal form.

    Verification: A group of 8 in a 4-variable map leaves variable, which is correct.

    Edge wrapping is a fundamental property of the 4-variable map layout.

    More notes in this unit