Minimization of functions using Boolean identities and Karnaugh map
Reducing Boolean functions to minimal SOP or POS form: canonical forms, minterm and maxterm notation, the identities used for algebraic minimisation, Karnaugh maps up to four variables, prime and essential prime implicants, and don't-care conditions.
For variables there are input combinations, numbered by their binary value (with as the most significant bit).
A minterm is a product (AND) of all variables, each in true or complemented form, that is 1 for exactly one combination . For : (101).
A maxterm is a sum (OR) of all variables that is 0 for exactly one combination : .
.
Canonical SOP: OR of the minterms where , written .
Canonical POS: AND of the maxterms where , written .
The two lists are complementary: for 3 variables, , and .
A function of variables can be chosen in ways; for there are 16 functions.
Minimal forms: a minimal SOP has the fewest product terms and, among those, the fewest literals. GATE asks for the minimal expression, the number of literals, or the number of prime implicants. A two-level SOP maps directly to AND–OR (or NAND–NAND) gates; a POS maps to OR–AND (or NOR–NOR).
2. Minimising with Boolean identities
Algebraic minimisation uses a few identities again and again:
Name
Identity
Dual
Combining
Absorption
Redundant literal
Consensus
Distributive
De Morgan
Duality: swap AND with OR and 0 with 1 (do not complement variables) and a true identity stays true.
Consensus is the one students miss: in , the term is redundant because whenever , one of or is already 1.
Worked line: , using combining and then the redundant-literal rule.
Algebra works, but it is easy to stop at a form that is not minimal. For up to four variables the K-map is safer and faster.
3. Karnaugh maps and grouping rules
A K-map is the truth table drawn as a grid in Gray order (00, 01, 11, 10), so that any two neighbouring cells differ in one variable. The map wraps around: the top row is next to the bottom row and the left column is next to the right column; the four corners of a 4-variable map form one group.
Grouping rules for SOP (group the 1s):
A group is a rectangle of adjacent cells (1, 2, 4, 8, ...).
A group of cells removes variables: in a 4-variable map, a pair gives 3 literals, a quad 2, an octet 1.
Make each group as large as possible, and use as few groups as possible.
Groups may overlap. Every 1 must be covered.
To read a group, keep the variables that are constant over the whole group: 1 → true literal, 0 → complemented literal.
For a minimal POS, group the 0s in the same way and write each group as a sum term with complemented meaning (a constant 1 gives , a constant 0 gives ). Or find the minimal SOP of and apply De Morgan.
4-variable K-map of F = Σm(0, 2, 5, 7, 8, 10, 13, 15): the centre quad gives BD and the four corners, adjacent by wrap-around, give B′D′
4. Prime implicants, essential PIs and don't-cares
An implicant is any valid group of 1s (a product term that implies ).
A prime implicant (PI) is a group that cannot be made larger.
An essential prime implicant (EPI) is a PI that covers at least one 1 that no other PI covers.
Procedure: list all PIs; take every EPI; then cover the remaining 1s with as few extra PIs as possible. Some functions have no EPIs: in three variables has 6 PIs, none essential, and two different minimal covers of 3 terms each. Such maps are called cyclic.
Don't-care conditions ( or ) are input combinations that never occur, or whose output does not matter (for example BCD inputs 10 to 15). Treat each as 1 if it helps make a group larger, and as 0 otherwise. Never make a group of only don't-cares. A PI must contain at least one real 1, and only real 1s must be covered.
Count asked
What to count
Prime implicants
all maximal groups (may use don't-cares)
Essential PIs
PIs that alone cover some 1
Literals in minimal SOP
sum of literals over chosen terms
With don't-cares, the minimal SOP and minimal POS may treat the same differently, so they need not be equal as functions on the don't-care inputs.
Formulas to remember
Literals left by a group variables in the map.
Number of Boolean functions
Combining (basis of a K-map group)
Redundant literal
Consensus theorem
SOP and POS lists are complementary = indices not in .
Common mistakes
Labelling K-map rows or columns in binary order (00, 01, 10, 11) instead of Gray order, which breaks adjacency.
Missing wrap-around groups: the top and bottom rows, the left and right columns, and the four corners are adjacent.
Making a group whose size is not a power of two, such as 3 or 6 cells.
Forming a group of only don't-cares, or counting don't-cares as 1s that must be covered.
Stopping at the first cover found; after taking the essential prime implicants, check for a cover with fewer terms or literals.
Reading a POS group with the wrong polarity: in a group of 0s, a variable fixed at 1 appears complemented in the sum term.
Worked examples
Try each step yourself, then reveal the working.
Example 1: Corners and the centre
numerical
Minimise .
Step 1: Place the 1s on a 4-variable map.
Try it on paper first.
Example 2: Using don't-cares
numerical
Minimise .
Step 1: List the prime implicants, using don't-cares where they help.
Try it on paper first.
Example 3: Algebraic simplification
numerical
Simplify (a) and (b) and (c) .
Step 1: Spot the consensus term in (a).
Try it on paper first.
Example 4: A map with no essential prime implicant
conceptual
For , find all prime implicants, the essential ones and a minimal SOP.
Step 1: List the pairs.
Try it on paper first.
Previous year questions
2 official GATE EC questions on this topic, newest first.
10 questions: up to 2 official PYQs and original practice questions, with GATE marking (MCQ wrong answers lose marks). Score 60% or more to pass. A new set is drawn each time.
Mark as mastered
Loading your progress…
My revision notes
Notes written by the GATEiit team against the official GATE EC syllabus; being checked by a reviewer. Updated 2026-11-28. Spotted a mistake? Use Report an issue on any question, or contact us.