XYZ-Wing

An XYZ-Wing is a Y-Wing whose pivot has three candidates. The pivot has X, Y and Z; one wing sees the pivot and has X and Z, the other sees the pivot and has Y and Z. One of the three cells must be Z, so Z can be removed from every cell that sees all three. Because the pivot itself may be Z, the eliminated cell must see the pivot as well as both wings, which limits it to the box or line the cells share. It is an Expert technique in Bare Sudoku.

When to use it

When X-Wing, Y-Wing and Swordfish find nothing. XYZ-Wings are less common than Y-Wings. Look for them when a three-candidate cell sits in a box with a two-candidate cell that shares two of its digits.

How to spot it

Start from cells with exactly three candidates; each is a possible pivot. Among its peers, look for two cells with two candidates each, both taken from the pivot's three, sharing exactly one digit Z. Then look for cells that see the pivot and both wings and contain Z. In practice one wing is in the pivot's box and the other in its row or column, and the eliminated cells are the remaining cells of that box in that row or column.

Example

XYZ-Wing
c1c2c3c4c5c6c7c8c9
r1615487232939
r227274936581
r398321515647
r425784912562582783568
r51257827168392458278264568
r625836872562458914568
r718976431852
r845287191369369
r936185121294789

Bold digits are given, blue digits were placed while solving, small digits are candidates. Highlighted cells form the pattern, crossed-out candidates are removed, and a circled candidate is the digit to place.

  1. The pivot r8c9 has three candidates: 3, 6 and 9. It sees r1c9 with 3 and 9, and r8c8 with 6 and 9.
  2. If r8c9 is 9, done. If it is 3, r1c9 must be 9. If it is 6, r8c8 must be 9. In every case one of the three cells is 9.
  3. A cell that sees all three cannot be 9. Remove 9 from r9c9.

Common mistakes

In Bare Sudoku

Needed from level: Expert
In the game, the hint says: XYZ-Wing

Play this puzzle · Play Sudoku · Sudoku solver

Practice puzzles

In these puzzles, XYZ-Wing is the hardest technique you need. Each link opens the puzzle in the game; the solver link shows every step.

  1. Expert 4.4 · Sudoku solver
  2. Expert 4.4 · Sudoku solver
  3. Expert 4.4 · Sudoku solver
  4. Expert 4.4 · Sudoku solver
  5. Expert 4.4 · Sudoku solver
  6. Expert 4.4 · Sudoku solver
  7. Expert 4.4 · Sudoku solver
  8. Expert 4.4 · Sudoku solver
  9. Expert 4.4 · Sudoku solver
  10. Expert 4.4 · Sudoku solver

Frequently asked questions

What is an XYZ-Wing in Sudoku?

A pivot with candidates X, Y and Z and two wings, one with X and Z and one with Y and Z, both seeing the pivot. One of the three cells is Z, so Z is removed from cells that see all three.

How is an XYZ-Wing different from a Y-Wing?

The pivot has three candidates instead of two, including Z. That makes the pivot a possible home for Z, so only cells that see the pivot and both wings can lose Z.

How often does an XYZ-Wing appear?

Less often than a Y-Wing: most Expert puzzles in Bare Sudoku are solved without one. The solver looks for it after X-Wing, Y-Wing and Swordfish.

Is there a WXYZ-Wing?

Yes: four cells with four candidates in two crossing units, where one digit is free to sit in more than one of them. Bare Sudoku finds it too and rates it Expert, like the other wings.

All techniques

· Updated