Master the elegant XY-Wing (Y-Wing) strategy in Sudoku with clear 9x9 visual diagrams. Learn how a Pivot cell [X,Y] and two Wing cells [X,Z] and [Y,Z] eliminate candidates.
Unlike single-digit grid patterns such as X-Wing or Swordfish, XY-Wing (also known as Y-Wing) is a branching technique that links three bi-value cells (empty cells containing exactly two candidate numbers). Once you learn how to spot this three-cell triangle, you can break through tough Expert and Master puzzles without guessing.
An XY-Wing is formed by three cells that each contain two candidates drawn from a trio of digits X, Y, and Z:
Note: Wing A and Wing B do NOT share the same row, column, or box with each other—they only connect through the Pivot cell.
Examine the partial 9×9 diagram below:
| . | . | . | . | . | . | . | . | . |
| . | [1, 2] | → | → | → | → | → | [1, 9] | . |
| . | ↓ | . | . | . | . | . | ↓ | . |
| . | ↓ | . | . | . | . | . | ↓ | . |
| . | ↓ | . | . | . | . | . | ↓ | . |
| . | ↓ | . | . | . | . | . | ↓ | . |
| . | [2, 9] | → | → | → | → | → | 9✕ | . |
| . | . | . | . | . | . | . | . | . |
Because at least one of the two Wings is guaranteed to contain 9, any cell that sees both Wings simultaneously (such as R7C8) can NEVER be 9!
When the Pivot and one Wing share a 3×3 Box while the Pivot and the other Wing share a Row or Column, up to 4 or 5 cells can see both Wings at once. Always check both the row/column intersection and the 3×3 box intersection of the two Wings.