An X-wing is about a single digit. Look for two rows where the digit fits in only two cells each, and where those cells stand in the same two columns. The four cells then form a rectangle. The digit must land in two opposite corners of it, because each row needs it once and no column may have it twice. Which pair of corners you do not know, but either way both columns get their copy of the digit inside the rectangle. The digit can be crossed out in every other cell of those columns.
An example
- Outlined cells: the pattern
- Shaded: the rows, columns and boxes it works in
- Struck-through digit: eliminated
In row 6, 2 can only go in column 4 or column 8, and the same in row 8. Either row 6 gets its 2 in column 4 and row 8 in column 8, or the other way round. In both cases columns 4 and 8 have their 2. It cannot go anywhere else in those columns, so it is crossed out in row 5, column 4 and in row 7, column 8.
- Outlined cells: the pattern
- Shaded: the rows, columns and boxes it works in
Rows and columns swapped
- Outlined cells: the pattern
- Shaded: the rows, columns and boxes it works in
- Struck-through digit: eliminated
The pattern works just as well vertically. In columns 3 and 9, 7 can only go in row 1 and row 7. Then rows 1 and 7 have their 7 inside the rectangle, and the 7 is crossed out in row 1, column 8 and in row 7, columns 4 and 5.
How to find an X-wing
Take one digit at a time. Go through the rows and note those where the digit has exactly two possible cells. If two such rows have their cells in the same columns, that is an X-wing. Then do the same with the columns.
A puzzle that needs an X-wing is hard. The same idea over three rows and three columns is called a swordfish.