Skip to content
OneKitly

Eight Minterms Collapse to Seven Letters

Published 12/3/2026 · 3 min read · Developer tools

Daniel Okonkwo

Daniel Okonkwo — Front-end developer and tech writer at OneKitly

Web performance · File formats

Checked against 2 sources

View profile →
In short

A four-variable function that is true on eight of the sixteen rows can always be written as a sum of those eight minterms, which costs 8 product terms and 32 literals. For the set 1, 3, 5, 7, 8, 9, 11, 15 the minimal sum of products is CD + A′D + AB′C′ — 3 terms and 7 literals, a saving of roughly four fifths of the writing and of the gate inputs it stands for. The reduction is not a matter of taste: the map has exactly one minimal cover here, so any correct minimiser returns that expression and any hand simplification that stops earlier is leaving hardware on the table.

Advertisement

The function that is true on rows 1, 3, 5, 7, 8, 9, 11 and 15 needs 32 literals written out and 7 after minimisation: CD + A′D + AB′C′.

A prime implicant can be genuine and still useless

The map yields four prime implicants: CD, B′D, A′D and AB′C′. Only three of them appear in the answer, because B′D covers rows 1, 3, 9 and 11, and every one of those is already taken — 1 and 3 by A′D, 3 and 11 by CD, 9 by AB′C′. B′D is a perfectly valid grouping that buys nothing, and this is exactly where hand simplification goes wrong: a large rectangle on the map looks like progress, so people keep it and add the terms needed to cover what it missed. Finding the prime implicants is the easy half; choosing the smallest subset that still covers every one is the half that decides the gate count.

Don't-care rows are free minimisation

Any input combination that cannot occur — a BCD digit above 9, a state the sequencer never enters, a sensor pair that is physically exclusive — can be marked as a don't-care and used to enlarge a grouping without ever being covered. That is why declaring them matters: a designer who fills the impossible rows with zeros to be safe is paying for gates that protect against inputs the circuit will never see. The habit worth keeping is to write the specification as three sets — must be one, must be zero, cannot happen — and to hand all three to the minimiser rather than deciding in advance which of them are convenient.

Product terms
The same function written four ways
FormProduct termsLiterals
Sum of minterms832
All prime implicants49
Minimal cover37
Saved525
Karnaugh Map (K-Map) SolverMinimize a boolean function with the Quine–McCluskey algorithm: enter minterms, maxterms or a truth table and get the minimal SOP or POS, prime implicants and literal count.Try the tool →
Advertisement

Frequently asked questions

Is a minimal expression always unique?
No. This particular function has exactly one, but many do not: whenever two different subsets of the prime implicants cover the same rows with the same literal count, both are minimal and a solver simply prints the one it reached first. That is why two textbooks can give different answers to the same exercise without either being wrong, and why a diff between two synthesis runs is not by itself evidence of a bug.
Do Karnaugh maps still matter when synthesis tools exist?
As a working method beyond five or six variables, no — the map becomes unreadable and Quine–McCluskey or an ESPRESSO-style heuristic takes over. As a way of seeing what a minimiser is doing, yes: the ideas of an implicant, a prime implicant and an essential one carry straight into the tools, and a designer who understands why a term is redundant can read a synthesis report instead of trusting it. Small glue logic, sensor decoding and state-machine outputs still fit on a map, and those are where a hand check catches a specification error before the silicon does.

Articles you may find interesting

All guides →

Related tools

Sources

Spotted a mistake in this article?