The Y-Wing (XY-Wing)
The Y-Wing, also called the XY-Wing, is the first advanced technique that mixes different digits. It needs only three cells, each with exactly two candidates, and once you know what to look for it turns up surprisingly often in hard puzzles.
The pattern: a pivot and two pincers
A Y-Wing is built from three cells that each hold exactly two candidates. The middle one, the pivot, has two digits, call them X and Y. It sees two other cells, the pincers: one holds X and a third digit Z, the other holds Y and that same Z.
In the diagram, the pivot r2c2 has 4 and 8. The pincer r2c7, in the same row, has 4 and 6. The pincer r7c2, in the same column, has 8 and 6. The shared digit Z is 6.
Why one pincer must be the Z
The pivot must be either 4 or 8. Follow both cases:
- If r2c2 is 4, then r2c7 can't be 4 (same row), so r2c7 is 6.
- If r2c2 is 8, then r7c2 can't be 8 (same column), so r7c2 is 6.
Either way, one of the two pincers is 6. We don't know which, but we don't need to. Any cell that sees both pincers can't be 6, because whichever pincer turns out to be 6 would clash with it.
The elimination
r7c7 sits in row 7 with the pincer r7c2 and in column 7 with the pincer r2c7. It sees both, so its 6 goes. Here that leaves r7c7 with just a 1.
When the three cells form an L like this, only one other cell sees both pincers: the fourth corner of the rectangle. When one pincer shares a box with the pivot, more cells line up, as the next example shows.
A Y-Wing that uses a box
Here the pivot r1c1 holds 3 and 7. One pincer, r2c3, is in the same box and holds 3 and 5. The other, r1c7, is in the same row and holds 7 and 5. Z is 5.
Cells that see both pincers now include row 1 inside box 1 (r1c2 and r1c3) and row 2 inside box 3 (r2c7, r2c8 and r2c9). Every 5 in those cells can go.
How to find a Y-Wing
- Fill in complete pencil marks and look for cells with exactly two candidates.
- Take one of them as a possible pivot, with digits X and Y.
- In its row, column and box, look for a two-candidate cell with X and something else, and another with Y and something else.
- If both somethings are the same digit Z, you have a Y-Wing. Remove Z from every cell that sees both pincers.
Puzzles often have many two-candidate cells, so it pays to be systematic. Clear any naked pairs first; they tidy up the candidates and make wings easier to see.
Common mistakes
- Pincers that don't share Z. A pivot of 4/8 with pincers 4/6 and 8/3 is not a Y-Wing.
- A pincer the pivot can't see. Both pincers must share a row, column or box with the pivot. The pincers don't need to see each other.
- Eliminating next to the pivot. The target must see both pincers. Seeing the pivot doesn't matter.
- Three candidates in the pivot. If the pivot also holds Z, the pattern becomes an XYZ-Wing, and the target must also see the pivot.
Questions
Is a Y-Wing the same as an XY-Wing?
Yes. Both names describe the same pattern: a pivot with candidates X and Y, and two pincers with XZ and YZ.
Do the pincers have to see each other?
No. Each pincer must see the pivot. Whether the pincers see each other makes no difference to the logic.
What is the difference between a Y-Wing and an XYZ-Wing?
In an XYZ-Wing the pivot has three candidates, X, Y and Z. That makes the pivot a possible Z too, so only cells that see all three cells can lose Z.
Is a Y-Wing a form of guessing?
No. It tests both possible values of the pivot and shows that every case leads to the same conclusion. Nothing is left to chance.