Techniques · Expert
The XYZ-Wing: a three-candidate pivot that clears a box
An XYZ-Wing uses a three-candidate pivot {X, Y, Z} that sees two bivalue pincers {X, Z} and {Y, Z}, so any cell that sees the pivot and both pincers cannot contain Z.
The XYZ-Wing is the direct big brother of the XY-Wing. Instead of a two-candidate pivot, the middle cell holds three candidates — X, Y and Z — while two bivalue pincers hold XZ and YZ. Because Z appears in all three cells, the elimination zone shrinks, yet the pattern still proves that one of the three cells must be Z and clears Z from every cell that sees all three.
What an XYZ-Wing is
An XYZ-Wing connects three cells that together use exactly three digits: X, Y and Z. The pivot holds all three candidates {X, Y, Z}. Two pincer cells each see the pivot, and each holds two candidates: one pincer has {X, Z} and the other has {Y, Z}. Notice that Z is the shared digit present in every single cell of the wing.
To make an elimination possible, one pincer sits in the same 3×3 box as the pivot, and the other sits outside that box in the same row or column as the pivot. Any cell that sees the pivot and both pincers at the same time cannot contain Z. In practice, that overlap consists of the remaining cells inside the pivot’s box along the shared row or column.
Why it works
The pivot has only three possible values: X, Y or Z. Check each case in turn. If the pivot is Z, then the pivot itself holds Z. If the pivot is X, the pincer with {X, Z} cannot be X because it sees the pivot, so that pincer becomes Z. If the pivot is Y, the pincer with {Y, Z} cannot be Y, so the second pincer becomes Z instead.
No fourth option exists, so at least one of the three cells — the pivot, the first pincer, or the second pincer — is guaranteed to be Z. Therefore, any cell that sees all three of them can never hold Z: placing Z there would wipe out Z from the entire wing and leave the pivot or one of the pincers with no valid digit.
How to find an XYZ-Wing
Fill in complete pencil marks first, then scan for cells with exactly three candidates — these are your candidate pivots. Pick one with {X, Y, Z} and look inside its 3×3 box for a bivalue cell whose two candidates are a subset of {X, Y, Z}. Suppose you find {X, Z}.
Next, scan along the pivot’s row and column outside that box for a second bivalue cell holding {Y, Z}. The two pincers must share one digit Z with each other and cover the other two digits X and Y from the pivot. Finally, check the one or two empty cells inside the pivot’s box that lie on the same line as the outside pincer. If any of them still has Z as a candidate, you can eliminate Z.
Because the elimination cell must see all three wing cells, XYZ-Wings always clear candidates inside the pivot’s own box. Knowing that saves time: only test a three-candidate pivot if its box actually has other empty cells sharing a row or column with it.
A worked example
On the example board, the pivot is R2C3 (row 2, column 3) in box 1, with three candidates: 4, 5 and 7. Inside box 1, R2C2 has candidates 4 and 5, forming the first pincer. Down column 3 in box 7, R8C3 has candidates 4 and 7, forming the second pincer. Here X is 5, Y is 7, and the shared digit Z is 4.
Now trace all three choices for the pivot R2C3. If R2C3 is 4, it holds 4 directly. If R2C3 is 5, R2C2 loses 5 and must be 4. If R2C3 is 7, R8C3 loses 7 and must be 4. In every possible outcome, one of R2C3, R2C2 or R8C3 is 4.
Look at R1C3 in box 1, which has candidates 4 and 8. It shares box 1 with R2C3 and R2C2, and it shares column 3 with R2C3 and R8C3, so R1C3 sees all three cells of the XYZ-Wing and cannot be 4. Removing 4 leaves R1C3 with a single candidate: 8, shown in gold. Nothing simpler worked on this board — singles, locked candidates, pairs, triples, X-Wings, Swordfish and XY-Wings all stalled before this XYZ-Wing unlocked it.
XYZ-Wing vs. XY-Wing and common mistakes
The biggest difference from an XY-Wing is the elimination zone. In an XY-Wing, the pivot does not contain Z, so you clear Z from any cell that sees both pincers. In an XYZ-Wing, the pivot itself can be Z, so the target cell must see both pincers and the pivot. Forgetting to check that the target also sees the pivot is the single most common error.
Two other checks keep the pattern valid. First, both pincers must be strictly bivalue cells — a pincer with three candidates breaks the forcing chain. Second, both pincers cannot sit in the same line or box with all three cells sharing one unit, because then you simply have a naked triple rather than a wing.
Where the XYZ-Wing fits
The XYZ-Wing sits one step beyond the standard XY-Wing and belongs to the same family of short bent triples and almost locked sets. Once you are comfortable spotting XY-Wings, checking three-candidate cells for XYZ-Wings takes only a few extra seconds and catches positions that stop most mid-level solvers cold.
Quietdoku’s built-in puzzles never require an XYZ-Wing: Expert puzzles top out at X-Wing, Swordfish and XY-Wing, and every puzzle has one unique solution with hints that name the exact technique. Still, learning the XYZ-Wing makes very hard puzzles from books or newspapers far easier to crack without guessing.