Strategy · Sudoku

Y-Wing

Wings · Also called XY-Wing

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: three cells with two numbers each, a middle cell with A and B, one partner with A and C, and another with B and C. The middle cell shares a row, column or box with each partner. Whatever the middle cell turns out to be, one of the partners must be 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. both partners can't be C.

The pattern

The Y-Wing, also called an XY-Wing, works with several different numbers at once, unlike the fishFish A pattern on one number across several rows and the same number of columns. The X-Wing, Swordfish and Jellyfish are fish. and the Skyscraper. It needs three cells that each have exactly two notesNotes The small numbers in an empty cell showing what could still go there. Also called candidates or pencil marks.:

The two partners don't need to see each other. In fact, they usually don't.

Why it works

The middle cell is either A or B. If it's A, the A C partner can't be A, because they share a group, so that partner is C. If the middle is B, the B C partner is C for the same reason. Either way, one of the partners 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. both partners would clash with whichever one it is, so it can't be C.

A worked example

1122334455667788995925296417836379284545114873569269782659363461246592526923143678413872626969589416232535726134578349493752489146246
Step 1. The middle cell is row 4, column 6, with 3 and 6. One partner, row 4, column 3, has 2 and 6 and shares row 4. The other, row 5, column 4, has 2 and 3 and shares box 5. The shared number is 2.
1122334455667788995925296417836379284545114873569269782659363461246592526923143678413872626969589416232535726134578349493752489146246
Step 2. One partner must be 2. Row 5, columns 2 and 3 see the first partner in box 4 and the second along row 5, so neither can be 2.

With those 2s gone, box 4 has only one place left for 2, in row 4, column 3. So that partner is the one holding 2, and the puzzle moves on.

How to spot one

  1. Collect the two-number cellsTwo-note cell An empty cell with exactly two notes. Also called a bivalue cell.. Y-Wings are built entirely from cells with exactly two notesNotes The small numbers in an empty cell showing what could still go there. Also called candidates or pencil marks..
  2. Pick a middle. For a cell with A B, look among the cells it can see for one with A and some other number, and one with B and that same other number.
  3. Find the overlap. The cells that see both partners are where C can be removed. Often it's a short stretch of a row or a box.

Common mistakes

Practice it in Sudoku by DvalinSudoku by Dvalin's hints teach Y-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.