Home › Swordfish
Swordfish in Sudoku — how to spot it
Eliminations in up to six rows at once — often the step that reopens a stalled Ultra. In a Swordfish, three rows spread one digit over at most three columns in total, or the other way round. In those three columns the digit is then ruled out everywhere outside the three base rows.
The Swordfish is the big brother of the X-Wing: the same logic, one line wider. It works exactly where the X-Wing no longer fits, because the digit spreads over three lines instead of two. If you can do the X-Wing, you can almost do this one.
- Expert
- Needed from Extreme
- Needs pencil marks
- Eliminates candidates
- Fish family
How to spot one
- 1. Fix one digit. The Swordfish is hunted digit by digit too. Everything else in the grid is beside the point for the moment.
- 2. Note the narrow lines. Write down which rows have only two or three candidates for the digit left, and which columns those sit in.
- 3. Combine three rows. Look for three of those rows whose candidates together occupy only three different columns. Not every row has to touch all three columns — two are enough.
- 4. Eliminate. In those three columns the digit drops out of every row that is not part of the base.
- 5. Search the mirror case. Then do the same with three columns as the base and three rows as the cover sets.
Why it works
Each of the three base rows needs exactly one occurrence of the digit, and each of those lies in one of the three columns. So three digits have to be spread across three columns — and because no column may take two of them, every column gets exactly one. Which assignment holds in the end does not matter: all three columns are already accounted for by the base rows. That is why the digit can no longer appear in those columns outside the three base rows.
A worked example
Take the digit 5. It is still possible
- in row 1 only in column 2 and column 5,
- in row 4 only in column 5 and column 8,
- in row 7 only in column 2 and column 8.
Three base rows, and together they touch only columns 2, 5 and 8 — those are the three cover sets. No single row covers all three columns, which is perfectly fine. Three fives have to be spread over these three columns, so every column is taken. The 5 is therefore eliminated from columns 2, 5 and 8 in every other row, that is in rows 2, 3, 5, 6, 8 and 9.
Where it shows up in SudoSuite
The Swordfish is built in from Extreme onwards, together with the X-Wing; in Ultra and Titan it turns up alongside the wings and the chains. Most of the time, though, the X-Wing already does the job. The full list of levels is on hard Sudoku.
- SudoLearn puts the Swordfish straight after the X-Wing — so you learn it while the reasoning is still fresh. With an example grid and an exercise inside the lesson.
- SudoTrainer tests it on purpose, on its own if you like and without naming it. It checks your reasoning, not just the answer, and another valid route counts just as much.
- SudoSelect (Pro) hands you a puzzle with the Swordfish guaranteed inside. With a pattern this rare, that is the difference between theory and being able to do it.
- Marks hold the three base sets and the three cover sets in the grid while you check — keeping six lines in your head goes wrong.
Common mistakes
- Missing a fourth cover column. As soon as the three base rows together touch four different columns, the pattern is invalid. This is where most false Swordfish come from — count the columns before you eliminate anything.
- Insisting on three candidates per row. A base row with only two candidates is allowed and in fact the normal case. The requirement is not that every row hits all three columns, but that no row breaks out of the three columns.
- Confusing it with the X-Wing. If two of the three rows already form a clean rectangle on their own, you have found an X-Wing — take that one, it is easier to verify.
- Eliminating in the wrong direction. If rows are the base, you eliminate in the columns. The candidates in the base rows stay untouched.
- Searching too early. A Swordfish only pays off once singles, subsets, Locked Candidates and the X-Wing are genuinely exhausted.
Swordfish — the same idea, one row larger
If X-Wing makes sense to you, Swordfish needs no new logic, only the nerve to look at three rows at once. The searching is the real work.
- Straight after X-Wing. SudoLearn orders the fish family the way it builds on itself — Swordfish being chapter 14 is no accident.
- The SudoTrainer accepts detours. Find another valid route to the same conclusion and it counts. What's checked is the reasoning, not one preferred answer.
- Order a short route. With SudoSelect you guarantee a Swordfish and cap the length of the solving path — a puzzle to practise on, not a marathon.
Practise the Swordfish on purpose
Don't wait for one to swim past: with SudoSelect you order a puzzle in which it is guaranteed to be waiting.
Common questions
What is a Swordfish in Sudoku?
A pattern in which three rows spread one digit over at most three columns in total. In those three columns the digit drops out outside the three rows.
Does a Swordfish work with columns as well?
Yes. Three columns whose candidates lie in at most three rows work exactly the same way. You then eliminate in those three rows, outside the three base columns.
What is the difference between an X-Wing and a Swordfish?
The number of sets. The X-Wing uses two base sets and two cover sets, the Swordfish three and three. The reasoning is identical in both cases.
Does every base row need three candidates?
No. Two candidates per row are allowed. All that matters is that the candidates of the three rows together lie in at most three columns.
How often does a Swordfish occur?
Rarely. In SudoSuite it is built in from Extreme upwards. To practise it, order a puzzle with SudoSelect in which it is guaranteed to appear.
What comes after the Swordfish?
The Jellyfish with four lines, and alongside it the wings such as the XY-Wing. In Titan there is also at least one real chain.