X-Wing – A Rectangle of Four Candidates
Classic & Cube
This technique works on a single 9×9 grid and on the cube alike. The in-app hint system knows and explains it.
Key rule: When a digit in two rows is restricted to the same two columns, eliminate that digit from those two columns in all other rows.
Focus on a single digit on one face. If you find two rows where that digit can go only in the same two columns, those four candidates form a rectangle. Each of the two rows needs the digit once, and the two placements must use different columns — taking up both columns completely. You can therefore eliminate that digit from those two columns in every other row.
The name comes from the two diagonals of the rectangle: the digit must sit either on one diagonal or on the other, forming an X.
How to read this page
A candidate is a digit that can still go in an empty cell after checking every face it belongs to. For an edge cell, check both faces; for a corner cell, check all three. In the app, you record candidates as pencil notes. {2, 7} means only 2 or 7 can still go here.
Row 4, Column 7 is the cell in Row 4, Column 7 of the face shown: 4 down, 7 across. Rows are counted from the top and columns from the left, starting at 1. The same arrows appear in the corner of each diagram: ↓ above the row numbers, → before the column numbers.
Two cells see each other when they share a row, a column, or a 3×3 block. On the cube, that holds on every face the cells belong to.
Each diagram shows a complete puzzle. The pencil notes always match the digits already placed on the board.
- Grey digits are already placed in the puzzle. They show where the notes come from.
- Orange: the row, column, or block you are examining. Digits inside it are dark.
- Green: the digits or candidates that drive the deduction.
- Red strikethrough: a candidate you can eliminate. A red × means that cell is ruled out.
- Yellow: a cell whose digit is now forced.
- A teal line along the border marks the shared edge between two faces.
- Small digits are pencil notes. Just like in the app, each digit sits in a fixed slot: 1 at top-left through 9 at bottom-right.
- When a step focuses on a single digit, the diagram shows only that digit’s notes everywhere it fits, just like digit highlighting in the app.
- A frame marks the target cell being asked about.
- Letters label cells referred to in the text. E is always a corner cell and K is always an edge cell.
- A green circle around a digit highlights the digit that forces the deduction.
- For corner techniques, the three faces are unfolded. A dashed line connects the edge that is split apart in the flat view.
Example
- Orange: the two base rows you start from.
- Green: the four corners of the rectangle.
- Red strikethrough: candidates you can eliminate in those two columns.
- Grey digits are already placed in the puzzle.
The diagram shows only the notes for 7. In Row 2, 7 fits only in Column 3 or Column 7. In Row 6, it also fits only in Column 3 or Column 7. If 7 goes in the top-left corner of the rectangle, the second 7 must go in the bottom-right corner; if it goes top-right, the second must go bottom-left. Either way, Columns 3 and 7 get their 7s from the rectangle, so eliminate 7 from Row 4, Column 3 and Row 8, Column 7.
How to spot it
- Pick a digit and highlight all of its possible spots.
- Look for rows where the digit has only two candidates left.
- If two such rows place their candidates in the exact same two columns, you have an X-Wing.
- Eliminate that digit from those two columns in all other rows.
- The exact same rule works with roles swapped: two columns whose candidates lie in the same two rows.
Exercise
The diagram shows only the notes for 3. This time start from the two orange columns. Which 3s can you eliminate?
Show solution
In Column 2 and Column 8, 3 can go only in Row 3 or Row 7. Those two columns each place one 3 and together claim both rows. Eliminate 3 from Row 3, Column 6 and Row 7, Column 4. Row 6, Column 4 and all other 3s sit outside Rows 3 and 7 and stay.
Extending the rectangle to three rows and three columns produces a Swordfish. Despite the similar name, XY-Wing works differently: it uses three two-candidate cells instead of one digit on parallel lines.