What is XY-Wing in Sudoku? Complete Guide
Master the XY-Wing technique, a powerful advanced Sudoku strategy that uses three cells to eliminate candidates through logical chains.
What is XY-Wing in Sudoku?
The XY-Wing technique is an advanced Sudoku solving method that uses three cells to create a logical chain for candidate elimination. It's called "XY-Wing" because it involves three cells with specific candidate relationships that form a wing-like pattern.
How XY-Wing Works: The Logic
The XY-Wing technique works through a specific logical pattern:
XY-Wing Structure
- Pivot Cell: Contains exactly two candidates (XY)
- Wing Cell 1: Contains candidates (XZ) - shares X with pivot
- Wing Cell 2: Contains candidates (YZ) - shares Y with pivot
- Elimination: Any cell that sees both wing cells cannot contain Z
Step-by-Step XY-Wing Detection
Here's how to find XY-Wing patterns systematically:
- Find Pivot Cell: Look for a cell with exactly two candidates (XY)
- Find Wing Cells: Look for two cells that each share one candidate with the pivot
- Verify Pattern: Ensure one wing has XZ and the other has YZ
- Check Visibility: Find cells that can see both wing cells
- Make Elimination: Remove candidate Z from cells that see both wings
XY-Wing Example: Detailed Walkthrough
Let's work through a concrete example:
Example Scenario
Consider this XY-Wing pattern:
- Pivot Cell (R3C5): Contains candidates 2 and 6
- Wing Cell 1 (R3C8): Contains candidates 2 and 9
- Wing Cell 2 (R7C5): Contains candidates 6 and 9
The shared candidate is 9, and any cell that can see both R3C8 and R7C5 cannot contain 9.
Visualizing the XY-Wing Pattern
The XY-Wing pattern gets its name from its visual structure:
Types of XY-Wing Patterns
XY-Wing patterns can appear in various configurations:
1. Row-Based XY-Wing
Where the pivot and one wing are in the same row, and the other wing is in the same column as the pivot.
2. Column-Based XY-Wing
Where the pivot and one wing are in the same column, and the other wing is in the same row as the pivot.
3. Box-Based XY-Wing
Where the pivot and both wings are in the same 3x3 box.
When to Use XY-Wing Technique
XY-Wing is most effective in these situations:
- Advanced Puzzles: When basic techniques like singles and pairs aren't sufficient
- After Pencil Marking: When you have complete candidate lists
- Stuck Situations: When you can't find obvious moves
- Competition Solving: For efficient elimination in timed solving
Common XY-Wing Mistakes
Beginners often make these errors when using XY-Wing:
XY-Wing vs. Related Techniques
Understanding how XY-Wing relates to other techniques:
XY-Wing (3 cells)
Pivot with 2 candidates, two wings each with 2 candidates, one shared candidate eliminated.
Y-Wing (3 cells)
Similar to XY-Wing but with different candidate distribution patterns.
XYZ-Wing (3 cells)
Pivot with 3 candidates, wings with 2 candidates each, more complex eliminations.
Practice Strategies for XY-Wing
To master XY-Wing technique:
- Start with Simple Examples: Practice on puzzles where XY-Wing patterns are obvious
- Use Systematic Scanning: Check each cell with two candidates as a potential pivot
- Practice Visualization: Learn to see the wing pattern in your mind
- Study Worked Examples: Analyze how experts apply XY-Wing in complex puzzles
- Time Your Practice: Work on speed recognition for competitive solving
Advanced XY-Wing Applications
Once you master basic XY-Wing, explore these advanced applications:
Remote XY-Wing
A variation where the wing cells are not directly adjacent to the pivot but still form a valid XY-Wing pattern.
XY-Wing Chains
Multiple XY-Wing patterns that can be chained together for more complex eliminations.
Finned XY-Wing
A variation where one of the wing cells has an extra candidate that can be eliminated under certain conditions.
XY-Wing in Solving Strategy
XY-Wing fits into a comprehensive solving approach:
- Basic Techniques: Singles, pairs, and triples
- Hidden Techniques: Hidden singles, pairs, and triples
- Pointing Pairs: Box-line reduction and pointing pairs
- X-Wing: Basic fish techniques
- XY-Wing: Chain elimination techniques
- Advanced Fish: Swordfish, Jellyfish, and other advanced methods
Tools for XY-Wing Practice
Several tools can help you master XY-Wing:
XY-Wing in Competitive Solving
In competitive Sudoku, XY-Wing technique is valuable because:
- Efficiency: Can eliminate multiple candidates in one move
- Reliability: Logical and rarely leads to errors when applied correctly
- Speed: Once recognized, eliminations are quick to apply
- Versatility: Works in many different puzzle configurations
Common XY-Wing Scenarios
XY-Wing patterns frequently appear in these situations:
- After Basic Techniques: When simpler methods have been exhausted
- In Symmetrical Puzzles: Puzzles with balanced candidate distributions
- During Competition: In timed solving where efficiency matters
- In Expert Puzzles: When advanced techniques are required
The XY-Wing technique is a powerful tool that bridges the gap between basic and advanced Sudoku solving. With practice, it becomes an intuitive method that can crack even the most challenging puzzles through elegant logical chains.
Ready to Practice XY-Wing?
Apply the XY-Wing technique with our interactive Sudoku puzzles!
Start Playing