Boolean Algebra · 9 min read
K-Map Simplification and Grouping Checklist
Karnaugh map grouping rules, don’t-care handling, SOP and POS minimization, and a complete exam checklist.
Grouping rules
- Use Gray-code adjacency: only one variable changes between adjacent positions.
- Make groups as large as possible.
- Group sizes must be powers of two: 1, 2, 4, 8, 16, and so on.
- Include edge-adjacent cells and wraparound rows or columns.
- Cover every 1; don’t-care cells may be included to enlarge a group but are not required.
- Prefer essential prime implicants first.
SOP and POS
| Goal | Circle | Term for 1s in group | Final form |
|---|---|---|---|
| Minimize sum of products | All 1-cells | AND variables that stay constant as 1 | OR the product terms |
| Minimize product of sums | All 0-cells | OR variables that stay constant as 0 | AND the sum terms |
In a 1-group, a variable that changes is removed. In a 0-group, complement a variable that is 0 and retain variables that stay constant.
Worked verification
For a function Y = Σm(0,1,2,3) in variables A and B, the bottom-right 2×2 equivalent can be considered one group. The minimized result is Y = A̅ for the left half or Y = B̅ depending on the K-map variable order—always verify against the table.
- Label variable order in the same place in every row and column.
- Mark every minterm 1 and every don’t-care X.
- Circle each essential and useful prime implicant.
- Write the group term.
- OR terms for SOP or AND terms for POS.
- Test the expression for every input combination.
Try the K-Map Solver interactively.