Sudoku Learn
繁中

Typical level: Expert

Y-Wing

The Y-Wing, also called the XY-Wing, is the first chain-like pattern most players learn. It uses three cells that each have exactly two candidates. The pivot holds {X, Y}. One pincer sees the pivot and holds {X, Z}; the other sees the pivot and holds {Y, Z}. Whatever the pivot turns out to be, one of the pincers must be Z, so any cell that sees both pincers cannot be Z.

How to find it

  1. 1Find a cell with exactly two candidates, X and Y. This is the pivot.
  2. 2Find a cell the pivot can see with candidates {X, Z}.
  3. 3Find another cell the pivot can see with candidates {Y, Z}.
  4. 4Identify every cell that sees both pincers.
  5. 5Remove Z from those cells.

Worked example

Partial board. Only the digits needed for this pattern are shown.

Whatever R1C1 is, one pincer is 3, so R5C5 cannot be 3
  • Pivot cell
  • Pattern cells
  • Candidates removed

Why it works

In the example, the pivot R1C1 is {1, 2}. The pincer R1C5 is {1, 3} and shares row 1 with the pivot. The pincer R5C1 is {2, 3} and shares column 1 with it.

If R1C1 is 1, then R1C5 cannot be 1 and must be 3. If R1C1 is 2, then R5C1 cannot be 2 and must be 3. Either way, one of the pincers is 3. R5C5 sees R1C5 through column 5 and R5C1 through row 5, so it cannot be 3. Its candidates drop from {2, 3} to just 2.

Tips for spotting it faster

  • Ignore every cell with three or more candidates. A Y-Wing is built only from two-candidate cells, so on paper it helps to circle them first; the pattern often becomes visible once they stand out.
  • Choose pivots that see many other two-candidate cells, typically cells where a crowded row or column crosses a crowded box. A pivot with only one bivalue neighbour cannot form a Y-Wing.
  • Use the pivot’s two digits as search keys. In our game, highlight X and then Y to see at a glance which nearby cells carry each one. If the pivot is {X, Y}, look among the cells it sees for one containing X but not Y, and one containing Y but not X. If their remaining digits match, that shared digit is Z.
  • Look for three cells whose candidates use exactly three digits between them, each cell sharing one digit with each of the others, like {4, 7}, {4, 3} and {7, 3}. That triangle of digits is the fingerprint of a Y-Wing.
  • Check the targets before you go further. If the two pincers share a row, column or box, many cells can lose Z; if not, usually only one or a few cells see both, often the corner where one pincer’s row meets the other’s column. If none of those cells holds Z, skip this pivot and try the next one.
  • Keep your candidates fully up to date. A single stale pencil mark can turn a two-candidate cell into a three-candidate cell and hide the whole pattern.

Common mistakes

  • Using cells with three candidates. All three cells in a Y-Wing must have exactly two.
  • Pincers that do not see the pivot. Each pincer must share a row, column or box with the pivot.
  • Eliminating from cells that see only one pincer. The target must see both pincers at once.

When to use it

Y-Wings are a staple of Expert puzzles. When the board is full of two-candidate cells and no fish pattern appears, scan those cells for a pivot with two matching pincers.

Practise on a Expert puzzle

Frequently Asked Questions

Why is it called a Y-Wing?
The pivot and its two pincers form a bent line, like the arms of a Y. Many books call it the XY-Wing after the candidates involved.
Is there an XYZ-Wing?
Yes. In an XYZ-Wing the pivot holds three candidates {X, Y, Z}, and only cells that see the pivot and both pincers can lose Z. It is a natural next step after the Y-Wing.