logzly. Sudoku Solver's Corner

XY‑Wing Sudoku Technique: Master It in 3 Simple Steps

Read this article in clean Markdown format for LLMs and AI context.

If you’re stuck on a medium‑level Sudoku and every scan comes up empty, the XY‑wing Sudoku technique is the shortcut you need. In the next few minutes you’ll learn exactly how to spot the three‑cell pattern, eliminate the right candidates, and watch the puzzle open up—no jargon, just clear actions.

What Is the XY‑Wing Sudoku Technique?

The XY‑wing is a three‑cell chain that lets you safely remove a third digit (Z) from any cell that sees both “wing” cells.

  1. Pivot cell – contains only two candidates, X and Y.
  2. Wing A – shares a house with the pivot and holds X + Z.
  3. Wing B – also shares a house with the pivot and holds Y + Z.

When both wings intersect a common target cell, Z can be erased from that target. This single elimination often unlocks a cascade of forced numbers.

Step‑by‑Step: Spotting the XY‑Wing

1. Find the pivot – Scan the grid for a cell with exactly two candidates.

2. Locate the wings – Look in the same row, column, or box for two cells that each share one of the pivot’s numbers and introduce a new third number (Z).

3. Confirm the overlap – Ensure the two wing cells both see a common unsolved cell (or are in the same house). If they do, delete Z from that shared cell.

Tip: Highlight the three cells with a pencil color; the visual cue makes the pattern pop instantly.

Quick Practice Checklist

  • ☐ Pivot cell has exactly two candidates.
  • ☐ Each wing cell shares one candidate with the pivot and introduces the same third candidate Z.
  • ☐ The two wing cells see the same target cell (or are in the same row/column/box).
  • ☐ Remove Z from the target cell and re‑evaluate the grid.

Real‑World Example

Take a puzzle where cell R4C5 contains {2,5}, cell R4C8 contains {2,8}, and cell R6C5 contains {5,8}. The pivot is R4C5 (2 & 5). Wing A (R4C8) offers 2 + 8, and Wing B (R6C5) offers 5 + 8. Both wings see cell R5C5, so 8 can be removed from R5C5. After the elimination, a new single appears, and the puzzle progresses.

Why the XY‑Wing Beats Guesswork

  • Targeted: Removes only one specific digit, keeping other possibilities intact.
  • Efficient: Works on medium‑hard puzzles where simple pairs and triples stall.
  • Reusable: Once you train your eye, you’ll spot it dozens of times per board.

Give it a try on your next stuck puzzle: locate a two‑candidate cell, hunt for its two wings, and watch the hidden number disappear. Your solving speed will jump, and the frustration of “no moves left” will vanish.

Reactions
Do you have any feedback or ideas on how we can improve this page?