Courses / Computer Science I
Basic Digital Design

Minimisation and Canonical Forms

Computer Science I 301 words Free to read

Doing More with Fewer Gates

A boolean function can be written in many equivalent forms, and a simpler expression means a cheaper, faster circuit — fewer gates, less delay, less power. Minimisation is finding an equivalent expression with as few terms and literals as possible.

Two canonical forms name a function unambiguously. Sum-of-products (SOP) is an OR of AND terms (like AB+ABA\overline{B} + \overline{A}B). Product-of-sums (POS) is an AND of OR terms. Canonical forms are useful as a starting point, but they are usually not minimal.

Two tools do the simplifying:

The payoff is concrete: a function that naively needs a dozen gates may reduce to three. In an era of billions of transistors this still matters — minimisation reduces power and delay at every level, and the same idea (finding the simplest equivalent form) recurs throughout computing.

Common pitfall: in a Karnaugh map, circling groups whose size is not a power of two, or missing the map's wrap-around adjacency (the left and right edges, and top and bottom, are neighbors). Valid K-map groups must contain exactly 1,2,4,8,1, 2, 4, 8, \dots cells and may wrap around the edges — overlooking either yields a non-minimal or incorrect result.

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

10practice questions
2interactive scenes
Start Computer Science I free

Basic Digital Design