Swordfish Strategy: Advanced Sudoku Explained Step by Step
The Swordfish is an advanced Sudoku strategy where a single candidate digit appears in exactly two or three cells of three different rows, and those cells align perfectly across only three columns, allowing you to eliminate that candidate from all other cells in those columns. It is the three-row extension of the more common [X-Wing](/techniques/x-wing) pattern, which only involves two rows. This technique is crucial for solving difficult puzzles where basic methods have been exhausted, as it clears multiple candidate numbers at once by identifying a complex but logical constraint. Mastering the Swordfish will help you tackle expert-level challenges.
Understanding the X-Wing Foundation
Before learning the Swordfish, you must understand the X-Wing pattern. An X-Wing occurs when a candidate is confined to exactly two cells in two different rows, and those cells line up in exactly two columns. This alignment forms a rectangle, proving the candidate must occupy the corners, so you can remove it from the rest of those rows and columns. The Swordfish applies the same logic but scales it up to three rows and three columns, creating a more complex but equally powerful elimination pattern. Many players find the Swordfish easier to grasp once they are comfortable spotting X-Wings in their puzzles.
How to Spot a Swordfish Pattern
Finding a Swordfish requires systematic scanning. First, choose a candidate number, like '7'. Examine the puzzle, looking for rows where this candidate appears in only two or three cells. You need to find three such rows. Next, check the columns containing these candidate cells. For a valid Swordfish, all the marked cells must be contained within exactly three columns total. The pattern can also work with three columns as the starting point, where the candidate is restricted in three columns and aligns across three rows. The defining rows or columns can have two OR three candidate cells each. This flexibility is key, but the total alignment must be across exactly three columns (or rows).
Executing Swordfish Eliminations
Once you confirm the pattern—three rows, candidate confined to exactly three columns—you can make eliminations. The logic dictates that the candidate must be placed in one of the Swordfish cells in each of the three rows, filling all three columns. Therefore, that candidate cannot appear anywhere else in those three columns. You must eliminate the candidate from all other cells in the identified columns that are not part of the defining rows. The same logic applies if you found the pattern starting with three columns; you then eliminate from the other cells in the identified rows. This can clear several pencil marks at once, often breaking open a stuck puzzle. It's a powerful follow-up to strategies like Box-Line Reduction or Hidden Pairs.
Worked Mini-Example
Let's trace the logic with candidate 5. Suppose in rows 2, 5, and 8, the candidate 5 only appears in these cells: Row 2: cells C3 and C7. Row 5: cells C3 and C9. Row 8: cells C7 and C9. All cells are in only three columns: 3, 7, and 9. This forms a Swordfish. The candidate 5 in these three rows must occupy one cell in each of columns 3, 7, and 9. Therefore, we can eliminate candidate 5 from all other cells in columns 3, 7, and 9 that are not in rows 2, 5, or 8. For instance, if there was a '5' penciled in column 3, row 4, it can be safely removed.
Avoiding Common Mistakes and False Positives
The most common error is misidentifying the pattern. A true Swordfish requires the candidate to be restricted to exactly three columns across three rows. If the cells span four or more columns, it is not a Swordfish. Also, the pattern is still valid if a defining row has only two candidate cells, as in the example. Do not force each row to have three. Another pitfall is trying to eliminate within the Swordfish's own rows or columns. You only eliminate outside the defining set. Always double-check the alignment. If you're struggling to find one, it's often more productive to look for other techniques like a Y-Wing first. Our hint engine finds that players often spot potential Swordfish patterns that are one column too wide, so meticulous counting is essential.
- Start your search with the most frequent candidate numbers in the puzzle.
- Use pencil marks diligently; spotting Swordfish without full candidates is nearly impossible.
- Practice on puzzles known to contain Swordfish patterns to build pattern recognition.
Key Facts
- ▪The Swordfish is an advanced Sudoku technique that extends the logic of the simpler X-Wing pattern to three rows and three columns.
- ▪A Swordfish pattern forms when a single candidate digit is confined to exactly two or three cells in each of three different rows, and those cells all lie within exactly three columns.
- ▪The pattern can also be defined by three columns, with the candidate confined to two or three cells per column aligning across three rows.
- ▪Once identified, the Swordfish allows you to eliminate that candidate digit from all other cells in the three affected columns (or rows) that are not part of the defining rows (or columns).
- ▪Swordfish patterns are most useful in Sudoku's mid-to-late solving stages, after basic techniques like singles and Box-Line Reduction have been applied.
- ▪A common mistake is identifying a pattern where the candidate cells span more than three columns, which invalidates the Swordfish logic.
- ▪The defining rows or columns in a Swordfish can have either two or three candidate cells each; the key is the total alignment across exactly three columns or rows.
- ▪Mastering the Swordfish is a significant step towards solving the hardest Sudoku puzzles without guessing.
Frequently Asked Questions
What is the difference between an X-Wing and a Swordfish?
An X-Wing involves two rows/columns, forming a rectangle. A Swordfish involves three rows/columns, forming a more complex shape. Both use the same 'one candidate per row/column' logic to make eliminations in the intersecting columns/rows.
Can a Swordfish have a row with only one candidate cell?
No. For the logic to hold, each defining row (or column) in a Swordfish must contain the candidate in exactly two or three cells. A row with only one candidate would break the pattern's constraint.
Where do I eliminate candidates in a Swordfish?
Eliminate the candidate from all cells in the three aligned columns that are not part of the three defining rows. If you found the pattern via columns, eliminate from the three aligned rows outside the defining columns.
How often do I need to use the Swordfish technique?
It's less common than basic techniques. You'll primarily use it on Hard or Expert puzzles. Our solver data shows it appears in roughly 15-20% of difficult puzzles.
What should I do if I think I see a Swordfish but it doesn't yield eliminations?
Re-check the alignment. The candidate must be restricted to exactly three columns across your three rows. If cells are in four columns, it's not valid. Also, ensure your pencil marks are complete and accurate.