The XYZ-Wing
The XYZ-Wing is a close relative of the Y-Wing. It uses the same three cells, a pivot and two pincers, but the pivot holds three candidates instead of two. That small change narrows down which cells can lose a candidate, and it is the part most people get wrong.
The pattern
An XYZ-Wing needs a pivot with exactly three candidates, X, Y and Z, and two pincers that the pivot can see: one with exactly X and Z, the other with exactly Y and Z. Z is the digit all three cells share.
In practice, one pincer sits in the pivot's box and the other in the pivot's row or column. In the diagram, the pivot r2c2 holds 1, 2 and 7. The pincer r3c1, in the same box, holds 1 and 7. The pincer r2c7, in the same row, holds 2 and 7. Z is 7.
Why it works
The pivot must be 1, 2 or 7. Take each case in turn:
- If r2c2 is 1, then r3c1 can't be 1 (same box), so r3c1 is 7.
- If r2c2 is 2, then r2c7 can't be 2 (same row), so r2c7 is 7.
- If r2c2 is 7, the pivot itself is the 7.
In every case, one of the three cells is 7. A cell that sees all three of them can never be 7. That is the difference from the Y-Wing: because the pivot can be Z too, the target has to see the pivot as well as both pincers.
The elimination
Which cells see the pivot, r3c1 and r2c7 at once? Only the cells in row 2 that are inside box 1: r2c1 and r2c3. They share box 1 with the pivot and r3c1, and row 2 with the pivot and r2c7. Both lose their 7.
Look at r3c8. It sees r3c1 through row 3 and r2c7 through box 3, so in a Y-Wing it would lose its 7. Here it doesn't: if the pivot is 7, both pincers are 1 and 2, and nothing stops r3c8 from being 7. Because the target must see all three cells, an XYZ-Wing can never remove more than two candidates.
How to find an XYZ-Wing
- With complete pencil marks, look for a cell with exactly three candidates. That is your possible pivot.
- In its box, find a two-candidate cell made of two of those three digits.
- In its row or column, outside the box, find another two-candidate cell that shares the same Z but has the pivot's remaining digit.
- Check the cells in the pivot's box along that row or column. Any Z there can go.
If you already scan for Y-Wings, add one habit: whenever a near miss has a pivot with three candidates, check whether it is an XYZ-Wing instead.
Common mistakes
- Treating it like a Y-Wing. Removing Z from cells that see only the pincers is the classic error. The target must see the pivot too.
- Pincers with extra candidates. Each pincer needs exactly two candidates, and the three cells together must hold only X, Y and Z.
- All three cells in one row. If the pivot and both pincers share a row, you are looking at a naked triple, which clears X, Y and Z from that whole row.
Questions
What is the difference between a Y-Wing and an XYZ-Wing?
In a Y-Wing the pivot has two candidates; in an XYZ-Wing it has three, including the shared digit Z. So an XYZ-Wing can only remove Z from cells that see the pivot as well as both pincers.
Where can an XYZ-Wing make eliminations?
Only in cells that see all three pattern cells. In practice that means one or two cells in the pivot's box, on the line it shares with the outer pincer.
Is there a WXYZ-Wing?
Yes, a four-digit extension exists, built from four cells holding four digits. It is rare and mostly used by very advanced solvers.