X-Wing

An X-Wing occurs when a digit appears in two rows only in the same two columns (or vice versa). The four cells form a rectangle and rule out the digit elsewhere in those columns.

With the X-Wing, you enter the realm of advanced patterns. It’s the first “fish” technique and rests on an elegant symmetry: four cells that form a rectangle lock out a digit for one another.

To find X-Wings, look for rows in which a digit is left in just a pair of cells. If the columns match for a pair of such rows, the rectangle is complete.

Example

Position from a real puzzle; rows counted from the top, columns from the left.Bold: givens; blue: numbers already filled in; small red digits: where the 3 is still possible; struck through: eliminated; Frame: the technique’s cells; shaded: the lines of the pattern; lighter shading: the lines where eliminations happen; dashed diagonals: the two possible placements.

Step by step

Step 1

Look for a digit that, in two columns, is possible only in exactly the same two rows.

In the example: the 3 (in columns 2 and 9, it’s possible only in rows 1 and 5 each time).

Step 2

The four intersection cells form an X-Wing: in both rows, the digit lies in one of these columns.

The four marked cells form a rectangle. The 3 is either on one dashed diagonal or on the other. Either way, it’s already placed in rows 1 and 5.

Step 3

Remove the digit from all other cells of both rows.

So the 3 is eliminated everywhere else in rows 1 and 5 (struck through): the 3 in row 1, column 1; the 3 in row 1, column 7; the 3 in row 5, column 1 and the 3 in row 5, column 6.

Step 4

The method also works with the roles of rows and columns swapped.

Tip

First look for digits that appear as a candidate exactly twice in a row or column. Every X-Wing is built from them.

Keep going

More techniques