X-Wing in Sudoku
If a digit has exactly two possible spots in each of two rows, and those spots share the same two columns, you can erase that digit from the rest of those columns. The same pattern works with rows and columns swapped.
Worked example using two rows
| 7 | 1 | 9 | 6 | 5 | ||||
| 2 | 3 | 5 | 1 | 7 | 9 | 6 | 7 | 4 |
| 6 | 8 | 4 | 7 | 5 | 7 | 1 | 9 | |
| 2 | 7 | 7 | 5 | 1 | 9 | 6 | 8 | |
| 9 | 6 | 8 | 2 | 7 | 3 | 5 | 7 | 1 |
| 7 | 1 | 6 | 9 | 8 | 7 | 3 | ||
| 1 | 9 | 5 | 7 | |||||
| 7 | 7 | 9 | 1 | 7 | 2 | |||
| 8 | 7 | 2 | 5 | 3 | 7 | 1 | 9 | 6 |
This grid shows the remaining pencil marks for 7 after earlier deductions. R2C5 means row 2, column 5.
- In row 2, the only places for 7 are R2C5 and R2C8. In row 5, the only places are R5C5 and R5C8.
- Both rows use the same two columns. Whichever corner takes 7 in the first row, the second row must use the opposite column.
- One 7 is reserved for each column, so erase it from R3C5 and R6C8.
Practice using two columns
| 1 | 1 | 3 | 1 | 1 | 7 | 9 | 2 | |
| 9 | 2 | 1 | 3 | |||||
| 1 | 4 | 1 | 3 | 1 | 5 | |||
| 1 | 1 | 2 | 3 | |||||
| 6 | 5 | 8 | 4 | 1 | 9 | 2 | 1 | 3 |
| 3 | 2 | 1 | 8 | 5 | 6 | 1 | 9 | |
| 1 | 9 | 1 | 5 | 3 | 8 | |||
| 6 | 2 | 9 | 1 | 3 | 5 | 8 | ||
| 8 | 3 | 5 | 4 | 9 | 2 | 1 |
Find two columns where 1 has exactly two places left in the same two rows. Which other squares in those rows can drop 1?
Check your answer
The corners are R1C2, R4C2, R1C4, and R4C4. They reserve one 1 in each of row 1 and row 4. Erase 1 from R1C1 and R1C5.
How to check an X-Wing
Start with one digit and check each of the two starting lines for exactly two candidate marks. The marks must line up on the same two crossing lines. Keep the four corners and erase that digit from other cells on the crossing lines.