How to Solve Diagonal Sudoku - Picking Up the Extra Placements the Diagonals Give

/12 min read

Diagonal Sudoku gives you more ways into the grid than standard Sudoku once you treat its two diagonals as units, just like rows and columns. This article shows how to find a digit with only one place left on a diagonal, which candidates fall away where a diagonal meets a box, the rectangle formed by two diagonal cells, and how to use the center cell where the diagonals cross, then sums up the opening steps in a table.

Where do you start a Diagonal Sudoku?

Diagonal Sudoku is standard Sudoku with one extra rule about the two long diagonals. The short answer to how you solve it is this: treat each diagonal as a unit, just like a row or a column, and look there too for digits with a single place left and for candidates that drop out where a diagonal meets a box. Two more units behave like rows, columns and boxes, so there are more ways to make a placement. Cells on a diagonal can see more cells that must not share their digit, and the center cell where the two diagonals cross sees even more, so their candidates shrink quickly. This article covers the extra placements the diagonals give, in order: singles on a diagonal, diagonals meeting boxes, and the center cell, and finishes with the opening steps in a table. Note that diagonals mean nothing in ordinary Sudoku: the same digit appearing twice on a diagonal is not a mistake there. The puzzles you can play on this site follow the standard rules; Diagonal Sudoku is covered here as something to read about.

The diagonal rule and how it differs

The rules of Diagonal Sudoku add just one thing to the standard ones. Besides placing 1 to 9 once in every row, column and box, you also place 1 to 9 once along the diagonal from the top-left corner, r1c1 (row 1, column 1), to the bottom-right corner, r9c9, and once along the diagonal from the top-right corner, r1c9, to the bottom-left corner, r9c1. Because the two lines cross in an X, the puzzle is also called Sudoku X. Puzzles usually show the diagonals by shading their cells or drawing the two lines across the grid. SudokuWiki, a site that explains solving strategies one by one, notes that the extra constraint lets a setter give fewer starting digits than in normal Sudoku. The same explanation adds that the harder the puzzle, the more you have to check the diagonals to make progress. SudokuWiki also points out that if an ordinary Sudoku happens to have no repeats on its diagonals, that is no help to you unless you were told in advance. Use the diagonals as clues only when the puzzle states the diagonal rule.

Seeing each diagonal as a unit

The key to Diagonal Sudoku is to treat each diagonal exactly as you would a row or a column. Standard Sudoku has 27 units, nine rows, nine columns and nine boxes, and every cell belongs to three of them. Diagonal Sudoku has 29 units: a cell on a diagonal belongs to four, and the center cell r5c5 belongs to five. The more units a cell belongs to, the more cells must not share its digit. In standard Sudoku every cell sees 20 others in its row, column and box. A cell on a diagonal also sees its diagonal neighbors, which brings the count to 26. The center cell lies on both diagonals, so it sees 32. The more cells a cell sees, the more material there is for removing its candidates, which is why placements come easily on the diagonals. The figure below is a completed grid in which every row, column and box and both diagonals hold 1 to 9 once each. Follow either diagonal and you will find nine different digits.

A completed grid with 1 to 9 once on both diagonals
2
4
9
3
6
8
7
1
5
3
5
6
9
7
1
8
2
4
7
8
1
5
4
2
6
3
9
5
1
2
7
8
3
4
9
6
4
6
7
1
9
5
2
8
3
8
9
3
4
2
6
5
7
1
9
2
8
6
1
4
3
5
7
6
7
5
8
3
9
1
4
2
1
3
4
2
5
7
9
6
8
  • Diagonal from top-left to bottom-right
  • Diagonal from top-right to bottom-left
  • Center cell on both diagonals

From top-left to bottom-right the diagonal reads 2 / 5 / 1 / 7 / 9 / 6 / 3 / 4 / 8, and from top-right to bottom-left it reads 5 / 2 / 6 / 3 / 9 / 4 / 8 / 7 / 1. The 9 in the center supplies the 9 for both diagonals.

Singles on a diagonal

The first thing to look for on a diagonal is a digit that has only one possible cell left on it. This is the hidden single of standard Sudoku, counted on the diagonals as well as on rows, columns and boxes. The SudokuWiki solver describes it the same way: if a candidate appears only once in a row, column, box or diagonal, it is the solution for that cell. You count just as you would along a row. Pick a digit, then go through the nine cells of the diagonal and strike out those that are already filled and those where the digit is ruled out by the same digit in their row, column or box. If one cell is left, the digit goes there. Suppose five of the nine cells on a diagonal are filled and 7 is not yet among them. If three of the four empty cells each have a 7 somewhere in their row, column or box, the last one must be 7. You can also look the other way round. Take one empty cell on a diagonal and remove every digit already present in its four units: row, column, box and diagonal. Sometimes only one candidate is left. This is the naked single of standard Sudoku, and with 26 cells in view there are more digits to remove. Forget the diagonals and you miss both kinds of placement at once.

Where a diagonal meets a box

Eliminations that come from a diagonal overlapping another unit only work with boxes. A diagonal crosses any row or column in a single cell. SudokuWiki likewise says that the only intersections worth looking for on a diagonal are those with boxes. The diagonal from top-left to bottom-right runs through three boxes, top-left, center and bottom-right, three cells in each. The diagonal from top-right to bottom-left runs through the top-right, center and bottom-left boxes, again three cells in each. There are two shapes to look for. In the first, a box has candidates for some digit only in its cells on one diagonal. The digit must then go in that part of that diagonal, so you can remove it from the rest of the same diagonal outside the box. If the candidates in the center box are split between the two diagonals, neither diagonal loses anything. This is the standard pointing pair, using a diagonal instead of a row or column. The second shape is the reverse: on a diagonal, the candidates for a digit all lie inside one box. Then you can remove that digit from the cells of the box that are off the diagonal, which is how standard box/line reduction works. Pairs and triples also work on a diagonal as they do anywhere else. The table below sums up the eliminations the diagonal units make possible.

Eliminations the diagonal units make possible
Where the candidates for a digit lieCells you can clearClosest standard technique
Inside a box, only on its cells of one diagonalThe cells of that diagonal outside the boxPointing pair
On a diagonal, only inside one boxThe cells of that box that are off the diagonalBox/line reduction
On a diagonal, only in two cells in different boxesThe other two corners where the two cells' rows and columns crossUnique to Diagonal Sudoku
Two cells on a diagonal holding only the same two digitsThose two digits in the other cells of the diagonalNaked pair
The cell where a row or column meets a diagonalNone, since they share only one cellNo technique applies

Both box shapes come from the fact that a diagonal passes through a box in three cells. Both diagonals pass through the center box, so check it for each of them.

The rectangle made by two diagonal cells

Two cells on the same diagonal never share a row or a column, because they are offset step by step, like r1c1 and r9c9. That makes them two opposite corners of a rectangle. Each of the other two corners lies in the row of one cell and the column of the other, so it sees both. This gives an elimination found only in Diagonal Sudoku. When a digit on a diagonal can only go in one of two cells, it cannot go in the other two corners of their rectangle. Whichever cell takes the digit shares a row or a column with each of those corners. In the SudokuWiki example, r4c6 and r9c1 on the top-right to bottom-left diagonal form a pair on 1, and the candidate 1 in r4c1, one of the other corners, is removed. The other two corners of that pair are r4c1 and r9c6. If the two cells are in the same box, the box shapes from the previous section clear even more cells. The rectangle is worth looking for when the two cells sit in different boxes.

The center cell and the center box

The center cell, r5c5, is the only cell where the two diagonals meet. It belongs to five units, its row, column, box and both diagonals, and it sees 32 cells that must not share its digit. No other cell sees as many, so it pays to write out its candidates early. Once a digit goes in the center, its position on both diagonals is settled at once, and that candidate disappears from the other 16 diagonal cells. The center box is special too: five of its nine cells, the four corners and the center, lie on a diagonal. It is the only box that both diagonals pass through, so you can check the box shapes for two diagonals in one box. Suppose that in the center box the only candidates for 6 are r4c4 and r6c6. The 6 must then go on the top-left to bottom-right diagonal, so you can remove 6 from the six cells of that diagonal outside the center box. The two cells share no row or column, so nothing is removed from rows or columns. Looking at the center box first lets you collect clues from both diagonals at once.

Steps toward the first placement

Here is the same toolkit rearranged as an opening routine. First, list the digits already on the two diagonals and see which are missing. Next, for each missing digit, rule out the empty diagonal cells by their rows, columns and boxes, and look for a digit with only one cell left. Then narrow down the center cell using its five units. After that, go through the five boxes the diagonals pass through and check the two box shapes in each. Then, if a digit on a diagonal has only two cells left and they sit in different boxes, remove it from the other two corners of their rectangle. If none of this gives a placement, go back to standard techniques on rows, columns and boxes. Each time you make a placement, look at the diagonal candidates again. When a standard technique clears a candidate from a row or a box, a digit may be left with only one cell on a diagonal. Switching back and forth between the diagonal units and the standard units is the basic rhythm that carries a Diagonal Sudoku through to the end.

Opening steps for Diagonal Sudoku
StepWhere to lookWhat to look forWhat you get
1Both diagonalsDigits not yet on the diagonalA list of digits to look for
2Empty cells on a diagonalA digit with only one cell leftA placement
3The center cell r5c5Candidates left after its five unitsA placement or very few candidates
4The five boxes the diagonals crossA digit confined to the cells of one diagonal within a box, and the reverseEliminations
5Two cells on a diagonalA digit with only two cells left, in different boxesEliminations in the other two corners
6Rows, columns and boxesStandard techniquesPlacements and eliminations

When step 6 gives a placement, go back to step 2 and look at the diagonals again. The diagonals pass through five boxes: top-left, top-right, center, bottom-left and bottom-right.

Common mistakes and how to spot them

Mistakes in Diagonal Sudoku come from using the diagonals too little or too much. The first is forgetting the diagonals. If you pencil in candidates using only rows, columns and boxes, digits that cannot go in a diagonal cell stay there, and you notice the contradiction late. When writing candidates in a diagonal cell, count whether you checked four units, or five for the center. The second is carrying the diagonal rule into ordinary Sudoku. In a standard puzzle a repeated digit on a diagonal is not a mistake, and removing candidates because of the diagonal can remove the right answer. The third is trying to eliminate where a diagonal meets a row or column. They share only one cell, so nothing like the box shapes is possible. The fourth is applying techniques that rely on a unique solution without adjusting them. SudokuWiki warns that if any of the four corners of a unique rectangle lies on a diagonal, swapping the two digits would break the diagonal rule, so the logic does not hold. Use unique rectangles only when all four corners are off the diagonals. Away from the diagonals, techniques work exactly as in standard Sudoku; the techniques behind the box shapes and the idea of rows, columns and boxes are covered in the related articles and glossary entries.