Sudoku Desk

XY-Wing (Y-Wing)

A pivot cell and two pincers that trap a digit.

Very HardAlso known as: Y-Wing, Bent Triple

An XY-Wing (also called a Y-Wing) uses three cells that each have exactly two candidates. The pivot has {X,Y}. One pincer sees the pivot and has {X,Z}; the other pincer also sees the pivot and has {Y,Z}.

Whatever the pivot turns out to be, one of the pincers is forced to be Z. So any cell that sees both pincers can’t be Z.

The rule

Pivot {X,Y}, pincers {X,Z} and {Y,Z} (each seeing the pivot): remove Z from every cell that sees both pincers.

How to spot it

  1. Find a cell with two candidates — this is the pivot candidate, say {2,7}.
  2. Among the cells it sees, look for one with {2,Z} and another with {7,Z}, sharing the same third digit Z.
  3. Find cells that see both pincers and remove Z from them.

Why it works

If the pivot is X, the {X,Z} pincer loses X and becomes Z. If the pivot is Y, the {Y,Z} pincer loses Y and becomes Z. One of the pincers is Z in every case, so a cell that sees both of them can never be Z.

Example from a real puzzle

This position comes from one of Sudoku Desk’s Very Hard daily puzzles, at the moment the XY-Wing (Y-Wing) is the next logical step. Small grey digits are the remaining candidates.

XY-Wing (Y-Wing) example 1C1R1C2R2C3R3C4R4C5R5C6R6C7R7C8R8C9R94275163798291382796456954813764389125759762431881273549623727498653718145279699563178242727333
  • Pattern
  • Other candidate
  • Key candidates
  • Removed / concluded
  • 5Given
  • 5Solved so far
  1. The pivot R3C1 is {2,7}. One pincer R3C9 is {2,3}; the other R8C1 is {7,3}.
  2. If the pivot is 2, then R3C9 can’t be 2, so it’s 3. If the pivot is 7, then R8C1 can’t be 7, so it’s 3.
  3. Either way, one of the two pincers is 3.
  4. Any cell that sees both pincers therefore can’t be 3: R8C9.

Open this position in Sudoku DeskCandidates are filled in. Find the XY-Wing (Y-Wing) yourself, or press 💡 for a step-by-step hint.

Practise it

Your turn. Each puzzle below has a XY-Wing (Y-Wing) waiting to be found. Tap the cell, pick the candidate it removes, and you’ll see straight away if you’re right. Stuck? Take a hint.

Tips

  • The pincers must not see each other directly through Z (if they did, it would be a contradiction and the puzzle would be broken).
  • When the pivot has a third candidate Z as well, look at the XYZ-Wing.
Practise it. XY-Wing (Y-Wing) shows up in Very Hard puzzles and harder. Every day there are five new puzzles — the same for everyone.
Play today’s Very Hard puzzle

Related techniques

XYZ-WingW-WingXY-Chain