Strategy · Sudoku

XYZ-Wing

Wings · A Y-Wing with a three-number middle

Learn it here, then practice it in Sudoku by DvalinIts hints keep teaching as you play: where to look, which technique to use, and why it works.

In short: like a Y-Wing, but the middle cell has three numbers, A, B and C, and its two partners have A C and B C. Whatever the middle turns out to be, one of the three cells is C, so any cell that seesSees Two cells see each other when they share a row, a column or a box. Cells that see each other can't hold the same number. all three can't be C.

The pattern

An XYZ-Wing has a middle cell with exactly three notesNotes The small numbers in an empty cell showing what could still go there. Also called candidates or pencil marks., A, B and C, and two partners it can see:

Usually one partner shares a box with the middle and the other shares a row or column. Because a cell must see all three to lose C, the cells that qualify are almost always in the middle cell's box.

Why it works

The middle cell is A, B or C. If it's C, then C is in the middle. If it's A, the A C partner can't be A, so it's C. If it's B, the B C partner is C. In every case, one of the three cells is C. A cell that seesSees Two cells see each other when they share a row, a column or a box. Cells that see each other can't hold the same number. all three of them would clash with whichever one it is, so it can't be C.

The difference from a Y-Wing is that the middle cell itself might be C, which is why the cells you clear must see the middle too, not just the two partners.

A worked example

112233445566778899596574387912413279685798251634793582458769354926123718693452649694512458731546987234628246783514796878396421578
Step 1. The middle cell is row 8, column 3, with 6, 7 and 8. One partner, row 8, column 9, has 6 and 8 and shares row 8. The other, row 9, column 1, has 7 and 8 and shares box 7. The shared number is 8.
112233445566778899596574387912413279685798251634793582458769354926123718693452649694512458731546987234628246783514796878396421578
Step 2. One of the three cells must be 8. Row 8, column 1 seesSees Two cells see each other when they share a row, a column or a box. Cells that see each other can't hold the same number. all three: the middle and the first partner along row 8, and the second partner in box 7. So it can't be 8.

Row 8, column 1 had only 2 and 8, so now it must be 2.

How to spot one

  1. Start from three-number cells. Look for a cell with exactly three notesNotes The small numbers in an empty cell showing what could still go there. Also called candidates or pencil marks..
  2. Find two two-number partners. Among the cells it seesSees Two cells see each other when they share a row, a column or a box. Cells that see each other can't hold the same number., look for two whose notesNotes The small numbers in an empty cell showing what could still go there. Also called candidates or pencil marks. together are the same three numbers, sharing one number between them.
  3. Check the middle's box. The cells that see all three are nearly always in the middle cell's box, next to the partner in that box.

Common mistakes

Practice it in Sudoku by DvalinSudoku by Dvalin's hints teach XYZ-Wing the same way, one step at a time: where to look, the technique to use, then why it works. The built-in Help walks through this example on the real board.