Sudoku Clan › Sudoku techniques › X-Wing
X-Wing: the Sudoku technique explained
- Master
- Needed from Fiendish puzzles
- 8 points in Duel
The first fish pattern.
An X-Wing is a rectangle. When a digit can go in only two cells in each of two rows, and those cells line up in the same two columns, the digit can be removed from the rest of both columns.
How it works
Take two rows where a digit, say 4, has exactly two possible cells each, in the same two columns. That makes four cells at the corners of a rectangle. Each row needs one 4. If the top row has its 4 in the left corner, the bottom row must have its 4 in the right corner, and the other way round. The two 4s always land on a diagonal, which is the X in the name.
Either way, each of the two columns gets its 4 from one of the corners. So no other cell in those two columns can be a 4.
The same works turned on its side: two columns with the digit in the same two rows clear the rest of those rows.
- Choose a digit and look for rows where it has exactly two candidate cells.
- Find two such rows whose candidates sit in the same two columns.
- Remove the digit from every other cell of those two columns.
- If you find nothing, repeat with columns in place of rows.
A real example
The four blue cells are the corners. The digit is removed from the red cell, which lies in one of the two columns of the rectangle but outside its two rows.
How to spot them
X-Wings are found by digit, not by cell. Highlight one digit at a time, which Sudoku Clan does when you select a cell holding it, and look at the rows where it has only two spots left. Two rows with matching columns is all you need. Digits that are already placed four or five times are the best candidates, because their remaining positions are few.
Common mistakes
- Using a row where the digit has three candidates. Both base rows need exactly two for an X-Wing.
- Removing from the wrong direction. If you found the pattern in rows, you remove along the columns.
- Removing a corner. The four corner cells keep the digit.
An X-Wing on three rows and three columns is a Swordfish.
Questions
What is an X-Wing in Sudoku?
An X-Wing is a pattern where a digit has exactly two possible cells in each of two rows, in the same two columns. The digit can then be removed from all other cells in those two columns. It also works with rows and columns swapped.
Why is it called an X-Wing?
Because the digit must end up on one diagonal of the rectangle or the other, and the two diagonals form an X.
How hard is the X-Wing technique?
It is the entry point to the hardest puzzles. The logic is short, but you need full pencil marks and the habit of looking at one digit at a time.