What is an X-Wing?
Pick a digit. Suppose that in two different rows, it can only go in the same two columns. The four cells form a rectangle. In the first row, the digit is in one of the two columns; in the second row, it must be in the other one (the same column cannot hold it twice). Either way, both columns get their copy of the digit from these two rows. So no other cell in those two columns can hold it.
Example
Look at digit 7. Row 2 has five empty cells, but columns 1, 5 and 9 already have a 7 lower down (R7C1, R8C5, R9C9). So in row 2, 7 can only go in R2C3 or R2C7. Row 6 is the same: only R6C3 or R6C7.
If row 2's 7 is in column 3, row 6's 7 must be in column 7, and the other way round. Both ways, columns 3 and 7 each get their 7 from rows 2 and 6. Erase 7 from every other cell in those columns: R1C3, R3C3, R4C3, R5C3 and the same rows in column 7.
How to find an X-Wing
- Pick a digit that appears often on the board.
- Find rows where that digit has exactly two possible cells.
- Look for two such rows whose cells are in the same two columns.
- Erase the digit from the rest of those two columns.
It works the other way too: two columns where the digit fits in the same two rows let you clear those rows.
Where it fits
X-Wing builds on pointing pairs and is the gateway to bigger patterns such as Swordfish (three rows and three columns). Our Sudoku app's hints point out X-Wings when they are the next move on expert puzzles.
