Advanced techniques

X-Wing in Sudoku

The first of the “fish” techniques. If in two rows a digit can only go in the same two columns, it will take those columns in exactly those rows. Remove it from the other cells of those columns.

1. In rows 2 and 6, the 8 can only go in columns 2 and 9: cells R2C2, R2C9, R6C2 and R6C9. They form the corners of a rectangle.

2. Whichever way it goes, two 8s take those corners, so the rest of columns 2 and 9 cannot hold 8: cross it out of R9C2 and R5C9.

R = row, C = column: R3C5 is the cell in row 3, column 5. Boxes are numbered 1 to 9 from left to right, top to bottom.

Four cells, two possibilities

Take the digit 8. Suppose in row 2 it can only go in columns 2 and 9, and in row 6 also only in columns 2 and 9. That gives four cells at the corners of a rectangle. There are just two ways to fill them: the 8s go in R2C2 and R6C9, or in R2C9 and R6C2. Either way, column 2 and column 9 each get their 8 in row 2 or row 6. So no other row in those columns can have an 8.

How to find an X-Wing on the grid

  • Pick a digit and find rows where it has exactly two candidates.
  • If two of those rows use the same two columns, you have an X-Wing.
  • Remove the digit from those two columns in every other row.
  • It also works turned sideways: two columns with candidates in the same two rows, and you eliminate along the rows.

Where the name comes from

Join the four corners with diagonals and you get an X, like the wings of the Star Wars fighter. It belongs to the “fish” family: X-Wing uses two lines, Swordfish three and Jellyfish four.

Common mistakes

  • The digit has three candidates in a row, not two. Then it is not an X-Wing, though it may be part of a Swordfish.
  • The columns in the two rows do not match. Then there is no rectangle, but it may be a Skyscraper.
  • Eliminating in the rows instead of the columns. If you searched by rows, eliminate in the columns, and vice versa.

Practise on a puzzle

All solving techniques

Basic techniques

Intermediate techniques

Advanced techniques