Evan Tessell
Puzzle Math

Why You Can Swap Two Rows Inside a Band

Follow the units through a safe transformation and see why the band boundary matters.

A band is a horizontal group of three boxes. In a valid completed Sudoku, swapping two entire rows within the same band preserves validity. To understand why, check the three kinds of unit separately.

Each swapped row keeps its nine values, so both rows remain valid. Every column contains the same nine values as before, with two positions exchanged. No column gains or loses a digit. Finally, each affected box keeps exactly the same nine cells' values, only rearranged between its two internal rows.

The band restriction matters. If you exchange one row from the top band with one from the middle band, the row and column checks still pass, but the boxes can gain duplicate digits and lose others. A transformation needs to preserve every constraint, not just the most obvious ones.

Use this as a verification exercise rather than a solving shortcut. Draw a small grid diagram and shade the two rows you intend to exchange. Identify which boxes receive values from outside themselves. If none do, the box contents are preserved. If they do, a new check is required.

The same reasoning applies when transforming a complete clue-and-solution pair: move the clues along with their cells and transform the solution in the same way. The correspondence between puzzle and answer is essential. Moving only the printed clues while keeping the old answer would produce mismatched materials, even though the transformation itself can be mathematically sound.

Sources & notes

Original puzzle teaching and explanation by Evan Tessell.

How this site checks its content

Your privacy choices

Optional analytics can help us understand which pages are useful. It loads only after you accept. Advertising data stays off.

The games run in this tab and do not save your progress after a refresh. Privacy choices are saved on this browser only.

Read the privacy notice