XY-Chain
A chain of two-candidate cells that forces a digit at one of its ends.
An XY-Chain is a chain of cells that each have exactly two candidates. Neighbouring cells see each other and share one digit. The chain starts and ends with the same digit Z.
If the first cell isn’t Z, the chain forces each next cell in turn, all the way to the last cell — which then must be Z. So one of the two ends is always Z. The XY-Wing is the shortest XY-Chain.
If a chain of bivalue cells forces “first cell not Z ⇒ last cell is Z”, remove Z from every cell that sees both ends.
How to spot it
- Start in a bivalue cell {Z,A}. Assume it is A (not Z).
- Jump to a bivalue cell it sees that contains A: that cell loses A and is forced to its other digit.
- Keep jumping. If you reach a cell that is forced to Z, you have a chain.
- Remove Z from cells that see both the start and the end cell.
Why it works
Either the start cell is Z, or the chain forces the end cell to be Z. One of the two ends is Z in every case, so cells seeing both ends can’t be Z.
Example from a real puzzle
This position comes from one of Sudoku Desk’s Expert daily puzzles, at the moment the XY-Chain is the next logical step. Small grey digits are the remaining candidates.
- Chain
- Other candidate
- Key candidates
- Removed / concluded
- 5Given
- 5Solved so far
- Every cell in the chain has exactly two candidates. Start at R1C6 = {2,6}. Suppose it is not 2 — then it must be 6.
- R1C6 is 6, and it shares 6 with R8C6 = {6,7} — so R8C6 is forced to 7.
- R8C6 is 7, and it shares 7 with R8C2 = {7,9} — so R8C2 is forced to 9.
- R8C2 is 9, and it shares 9 with R5C2 = {2,9} — so R5C2 is forced to 2.
- So if R1C6 is not 2, the other end R5C2 is 2. And if R1C6 is 2, then it is 2. Either way, one of the two ends is 2.
- R5C6 sees both ends, so whichever end holds the 2, R5C6 sees a 2 — therefore R5C6 can’t be 2.
Open this position in Sudoku DeskCandidates are filled in. Find the XY-Chain yourself, or press 💡 for a step-by-step hint.
Practise it
Your turn. Each puzzle below has a XY-Chain waiting to be found. Tap the cell, pick the candidate it removes, and you’ll see straight away if you’re right. Stuck? Take a hint.
Tips
- Short chains (4–5 cells) are far easier to find. Start from a cell whose pair also appears in a few nearby cells.
- The hint in Sudoku Desk draws the chain on the board, which helps you see the pattern.