One cell could be 2 or 5. You cannot decide which—but either answer may rule out a 7 somewhere else on the board.

That is the useful idea behind an XY-Wing. You check both possibilities, find a consequence they share, and use that consequence without committing to either branch.

This guide is for players who already keep reliable candidate notes and want to understand a short chain of reasoning. We will use four cells to see exactly why the elimination works and where it is safe to apply it.

Start with three cells that have two candidates each

Two cells see each other when they share a row, column, or 3×3 box. They cannot contain the same digit.

An XY-Wing has a central cell called the pivot, with candidates X and Y. It sees two other cells, often called pincers: one has X and Z, the other Y and Z. All three cells must have exactly the stated two candidates. HoDoKu’s wings guide describes this pattern and the resulting elimination from cells that see both pincers.

The letters stand for three different digits. You do not need to memorize the letters if you can explain what happens in each case.

Follow this four-cell example

We number rows from top to bottom and columns from left to right. r2c7 means row 2, column 7.

These are selected candidate lists illustrating the deduction, not a full playable puzzle. Assume the existing entries are correct and prior valid deductions have left exactly these possibilities:

CellRoleCandidates beforeCandidates afterward
r2c2Pivot2, 52, 5
r2c7First pincer2, 72, 7
r7c2Second pincer5, 75, 7
r7c7Target3, 7, 93, 9

The pivot sees the first pincer along row 2 and the second down column 2. The target sees the first pincer down column 7 and the second along row 7.

Now consider the pivot’s two possibilities:

  1. If r2c2 is 2, r2c7 cannot be 2, because they share row 2. Its only remaining candidate is 7. The target r7c7 then cannot be 7, because it shares column 7 with that pincer.
  2. If r2c2 is 5, r7c2 cannot be 5, because they share column 2. Its only remaining candidate is 7. The target r7c7 then cannot be 7, because it shares row 7 with that pincer.

Those are all the pivot’s possibilities. In both cases the target loses 7, so erase that candidate from r7c7. It still has 3 and 9; this step alone does not choose between them.

Why this is a deduction rather than a guess

We have not entered a trial 2 and continued solving in the hope that it works. We have checked both possible pivot values and proved the same conclusion under each.

At least one pincer must be 7. We do not yet know which, and both being 7 is also allowed here: the two pincers share no row, column, or box. None of that matters to the target, which conflicts with either one.

Leave the three pattern cells’ candidates unchanged. The proof removes 7 from the target; it does not solve the pivot or authorize choosing a pincer to fill.

Check the connections, not just the shape

Our example happens to make the corners of a rectangle. That is a convenient layout for explaining the links, not a requirement for every XY-Wing. A shared box can provide a connection too.

For any suspected elimination, check that the target sees both pincers. Seeing the pivot, or just one pincer, is insufficient for this argument. The target in our example does not need to see the pivot at all.

Also check the candidate lists. If the pivot had an extra candidate 8, the two cases above would no longer exhaust its possibilities. If the first pincer also allowed 9, a pivot of 2 would not force that pincer to 7. Either change would invalidate this particular proof.

Incomplete or stale notes can create false patterns. Recheck the relevant candidates using your earlier deductions and the row, column, and box constraints. Our pencil-mark guide explains how to keep notes consistent as you solve.

Look for the shared consequence in your next puzzle

On today’s Sudoku, first finish checking familiar singles and eliminations. If you are still stuck, choose a cell with exactly two candidates and inspect the other two-candidate cells it sees.

Look for one that shares the pivot’s first digit and another that shares its second digit. If both have the same third digit as their other candidate, check whether any cell containing that third candidate sees both pincers.

Before erasing, explain both pivot cases in a sentence. If either case fails to force the shared digit into a pincer, stop and check the pattern again.

You may finish with no new filled cell. That still counts as a useful deduction: one possibility is gone for a reason that holds whichever way the pivot eventually resolves.

JOIN THE CONVERSATION

Comments

0

Share a thought, ask a question, or help a fellow solver.

Checking sign-in…

Loading comments…