Page 2

Karnaugh Maps

A Karnaugh map (K-map) is a grid for simplifying a Boolean expression by eye. It holds the same information as a truth table, but arranges it so that simplifications appear as blocks of adjacent 1s.

OCR only. Karnaugh maps are required by OCR (H446, 1.4.3) but are not assessed by AQA — AQA candidates simplify using the Boolean laws instead. The board toggle still works here for any expressions on the page.

Why the order is 00, 01, 11, 10

The rows and columns are labelled in Gray code — only one bit changes between neighbours (00 → 01 → 11 → 10). That is what makes physically adjacent cells differ by exactly one variable, so a pair of adjacent 1s always means one variable can be removed.

2 variables

A \ B01
0m0m1
1m2m3

3 variables

A \ BC00011110
0m0m1m3m2
1m4m5m7m6

4 variables

AB \ CD00011110
00m0m1m3m2
01m4m5m7m6
11m12m13m15m14
10m8m9m11m10

Edges wrap around: the left and right columns are adjacent, and the top and bottom rows are adjacent (and all four corners are mutually adjacent).

Grouping rules

To read a group: keep the variables that stay constant across it (write a variable plain if it is 1 throughout, complemented if it is 0 throughout); drop any variable that changes. OR the groups together to get the simplified expression (sum-of-products form).

Worked example

Simplify the function below, true for minterms 0, 1, 4 and 5.

1 — Truth table

ABCF
0001
0011
0100
0110
1001
1011
1100
1110

2 — Plot & group

A \ BC00011110
01100
11100

One group of four (highlighted).

3 — Read the group

Across the group of four: A changes (0 and 1) → drop it; C changes (columns 00 and 01) → drop it; B is 0 throughout → keep it complemented. So:

F = ~B

The same answer you would get algebraically — but found visually in one step.

Try it yourself

The map is filled in from the expression. Click the 1s to form a group (a power-of-two rectangle — edges wrap around), press Add group, repeat until every 1 is covered, then read off or check the simplified expression.

Expression on the map:

Click cells that are 1 to build a group.

Groups (hover to highlight, click to remove):

Expression from your groups: