Expert Deduction SpecificationLatin Square Elimination

How to Use the XY-Wing (Y-Wing) Technique in Sudoku

Editorial Commitment & Unique Value: Three-cell bivalue chain logic (pivot AB with wings AC and BC) eliminating candidate C from all common peer cells.
Published: 2026-01-15
Last reviewed: 2026-10-28
Next review: 2027-01-28

What is a XY-Wing (Y-Wing)?

An XY-Wing utilizes three bivalue cells (cells with exactly two candidates). The "pivot" cell has candidates {A, B}. One "wing" cell sees the pivot and has candidates {A, C}. A second "wing" cell sees the pivot and has candidates {B, C}. If the pivot is A, wing 1 is forced to be C. If the pivot is B, wing 2 is forced to be C. Thus, one of the two wings MUST be C. Any cell that shares a house with BOTH wings can never be C.

When Should You Look for This Technique?

Look for XY-Wings when you have numerous bivalue cells across the board. Pick a cell with two candidates (like 3/8) and check whether its row, column, and box connect to cells sharing one candidate with it.

Worked Solver Example with Visual Board Diagram

Deduction Grid Diagram
Row 2Column 4Row 7Column 8
1/2 (Pivot)1/9 (Wing 1)2/9 (Wing 2)9 (del)
Target / Locked
Pivot / Host
Peer / Eliminated
Step-by-Step Logic:

If pivot (2,4) is 1, wing (2,8) must be 9. If pivot (2,4) is 2, wing (7,4) must be 9. Therefore, either (2,8) or (7,4) is 9. Cell (7,8) shares row 7 with wing 2 and column 8 with wing 1. It sees both wings, so it can never be 9.

Target Elimination Result:

Candidate 9 is eliminated from cell (7,8).

Common Beginner Mistakes & Misapplications

Wings not sharing distinct candidates with the pivot

If pivot is AB, one wing must share A and the other must share B. They must also share the EXACT same third candidate C with each other.

Target cell does not see both wings

Candidate C can only be eliminated from cells that share a house with BOTH wing cells simultaneously.

Pivot and wings having three candidates

All three cells in an XY-Wing must be strictly bivalue (exactly 2 candidates each).

Verified Practice Board

Practice Exercise: Spot XY-Wing (Y-Wing)Givens: 22 clues

XY-Wing with pivot (2,4) and wings (2,8) and (7,4) eliminates candidate 9 from cell (7,8).

Target Focus:Row 7, Column 8

Mathematical Sources & Literature

  • 1. Crook Algorithm and Bivalue Wings
    Crook, J. F. (2009). Notices of the AMS.
    Reference
  • 2. Chains and Wings in Exact Cover Systems
    Felgenhauer, B. (2005). Mathematics of Sudoku.
    Reference
  • 3. Atelier Game Engine Uniqueness Benchmarks
    Atelier Logic Research Group (2026). Solver Engine Specifications.
    Reference
XY-Wing (Y-Wing) Sudoku Technique: Step-by-Step Guide — Atelier Games