Sudoku
Guide
English

Advanced Techniques: Triples, X-Wing and the Wings

The six techniques for Expert and Evil, from triples to Swordfish and XYZ-Wing.

On this page
  1. Before you read this page
  2. Naked triple
  3. Hidden triple
  4. X-Wing
  5. XY-Wing
  6. Swordfish
  7. XYZ-Wing
  8. When you are stuck

Before you read this page

Every technique here builds on the intermediate techniques: find a relationship in your notes that must hold, then remove the numbers that conflict with it. The diagrams work the same way: green cells are the key cells, bold numbers are the key numbers, and notes with a red slash can be removed.

Expert puzzles use triples, X-Wing and XY-Wing; Evil adds Swordfish and XYZ-Wing.

Naked triple

An extension of the pair: three cells in one area whose notes together contain only three numbers. Those three cells use up those three numbers, so they can be removed from every other cell in the area.

Each cell does not need all three numbers. Cells with {1, 2}, {2, 3} and {1, 3} together still hold only 1, 2 and 3, so the rule still applies.

11223344556677889918177852378964233954261261287426183781719539951282843767826135946347958211286781292471271249355143129246871629121479351267124168
The three green cells in row 1 can only be 1, 7, and 8, so those numbers can be removed from the other cells.

Hidden triple

Three numbers can only go in the same three cells of an area. Every other note in those three cells can be removed.

11223344556677889918177852378964233954261261287426183781719539951282843767826135946347958211286781292471271249355143129246871629121479351267124168
In box 9, 2, 4, and 9 can only go in the three green cells, so the other notes in those cells can be removed.

X-Wing

Look at a single number d. If d has exactly two places left in each of two rows, and those four cells line up in the same two columns, they form a rectangle.

There are only two ways to place d in those rows: top left and bottom right, or top right and bottom left. Either way, each of those two columns uses up one d, so d can be removed from those columns in every other row. Swap rows and columns and the same holds.

11223344556677889975694235696981563569145984569237967836921769439541578927898963286359135975949736458125283467485268195645684791324726712934786347854778
6 can only go in row 2 and row 8 within column 1 and column 9, so the other 6s in row 2 and row 8 can be removed.

XY-Wing

Find three cells with exactly two notes each: a pivot with {A, B}, and two wings with {A, C} and {B, C}. Each wing shares a row, column or box with the pivot.

  • If the pivot is A, the wing that sees it cannot be A, so it must be C.
  • If the pivot is B, the other wing cannot be B, so it too must be C.

Either way, one of the wings is C. Any cell that sees both wings cannot be C.

112233445566778899191893856271394642337791823951297534498261239364595912473568678376159424526478913537125154925637835828125746976983425251
The pivot is row 6, column 4 and the wings are row 6, column 9 and row 3, column 4. row 3, column 9 sees both wings, so it cannot be 3.

Swordfish

The three-row version of X-Wing: a number d has two or three places left in each of three rows, and together they fall in only three columns. Those three rows use up one d in each of the three columns, so d can be removed from those columns in every other row.

Not every row needs three cells: shapes like 2-3-2 or 2-2-2 work too. Swordfish is hard to spot. Usually you look for it only after everything else has failed, by counting where one number can go in each row.

112233445566778899231746517986175981732498417321756453786938213713796251348371321381387496513717954683725423781378637986373729541
1 can only go in column 2, column 6, and column 1 within row 2, row 5, and row 7, so the other 1s in column 2, column 6, and column 1 can be removed.

XYZ-Wing

A variation on XY-Wing: the pivot has three notes {A, B, C}, and the wings are {A, C} and {B, C}. This time the pivot itself might be C, so a cell can only be cleared if it sees all three cells: the pivot and both wings.

112233445566778899719824562459324126195324249147247823471859648271251279633527924761478129618324747247512736927854582492452483617584761454781457239
The pivot is row 4, column 6 and the wings are row 4, column 4 and row 7, column 6. row 6, column 6 sees all three, so it cannot be 2.

When you are stuck

Go back to the simple techniques first: after an advanced move removes a note or two, a new single often appears right away. Every puzzle here can be solved with these techniques alone, with no trial and error or guessing. If you really cannot find the next step, press Hint and it will tell you which technique comes first.

Up nextDifficulty, Daily Challenge and Stats →