ArticleslgStudy

science

Sudoku graph

Sudoku graph is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Sudoku graph rather than just read about it. In short: In the mathematics of Sudoku, the Sudoku graph is an undirected graph whose vertices represent the cells of a (blank) Sudoku puzzle and whose edges represent pairs of cells that belong to the same row, column, or block of the puzzle. The problem of solving a Sudoku puzzle can be represented as precoloring extension on this graph.

Sudoku graph — main illustration
Sudoku graph — illustration

Key takeaways

  • Sudoku graph belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Sudoku graph to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Sudoku graph from memory before moving on to harder problems.

Reference excerpt

In the mathematics of Sudoku, the Sudoku graph is an undirected graph whose vertices represent the cells of a (blank) Sudoku puzzle and whose edges represent pairs of cells that belong to the same row, column, or block of the puzzle. The problem of solving a Sudoku puzzle can be represented as precoloring extension on this graph. It is an integral Cayley graph.

Basic properties and examples

On a Sudoku board of size n 2 × n 2 {\displaystyle n^{2}\times n^{2}} , the Sudoku graph has n 4 {\displaystyle n^{4}} vertices, each with exactly 3 n 2 − 2 n − 1 {\displaystyle 3n^{2}-2n-1} neighbors. Therefore, it is a regular graph. The total number of edges is n 4 ( 3 n 2 − 2 n − 1 ) / 2 {\displaystyle n^{4}(3n^{2}-2n-1)/2} . For instance, the graph shown in the figure above, for a 4 × 4 {\displaystyle 4\times 4} board, has 16 vertices and 56 edges, and is 7-regular. For the most common form of Sudoku, on a 9 × 9 {\displaystyle 9\times 9} board, the Sudoku graph is a 20-regular graph with 81 vertices and 810 edges. The second figure shows how to count the neighbors of each cell in a 9 × 9 {\displaystyle 9\times 9} board.

Puzzle solutions and graph coloring Each row, column, or block of the Sudoku puzzle forms a clique in the Sudoku graph, whose size equals the number of symbols used to solve the puzzle. A graph coloring of the Sudoku graph using this number of colors (the minimum possible number of colors for this graph) can be interpreted as a solution to the puzzle. The usual form of a Sudoku puzzle, in which some cells are filled in with symbols and the rest must be filled in by the person solving the puzzle, corresponds to the precoloring extension problem on this graph.

Algebraic properties For any n {\displaystyle n} , the Sudoku graph of an n 2 × n 2 {\displaystyle n^{2}\times n^{2}} Sudoku board is an integral graph, meaning that the spectrum of its adjacency matrix consists only of integers. More precisely, its spectrum consists of the eigenvalues

3 n 2 − 2 n − 1 {\displaystyle 3n^{2}-2n-1} , with multiplicity 1 {\displaystyle 1} ,

2 n 2 − 2 n − 1 {\displaystyle 2n^{2}-2n-1} , with multiplicity 2 ( n − 1 ) {\displaystyle 2(n-1)} ,

n 2 − n − 1 {\displaystyle n^{2}-n-1} , with multiplicity 2 n ( n − 1 ) {\displaystyle 2n(n-1)} ,

n 2 − 2 n − 1 {\displaystyle n^{2}-2n-1} , with multiplicity ( n − 1 ) 2 {\displaystyle (n-1)^{2}} ,

− 1 {\displaystyle -1} , with multiplicity n 2 ( n − 1 ) 2 {\displaystyle n^{2}(n-1)^{2}} , and

− n − 1 {\displaystyle -n-1} , with multiplicity 2 n ( n − 1 ) 2 {\displaystyle 2n(n-1)^{2}} . It can be represented as a Cayley graph of the abelian group Z n 4 {\displaystyle Z_{n}^{4}} .

Related graphs The Sudoku graph contains as a subgraph the rook's graph, which is defined in the same way using only the rows and columns (but not the blocks) of the Sudoku board. The 20-regular 81-vertex Sudoku graph should be distinguished from a different 20-regular graph on 81 vertices, the Brouwer–Haemers graph, which has smaller cliques (of size 3) and requires fewer colors (7 instead of 9).

References

Illustrations

Sudoku graph: 4
        ×
        4
      
    
    {\displaystyle 4\times 4}
  
 Sudoku graph
4 × 4 {\displaystyle 4\times 4} Sudoku graph
Sudoku graph: Counting neighbors of a cell on a 
  
    
      
        9
        ×
        9
      
    
    {\displaystyle 9\times 9}
  
 Sudoku graph (
  
    
      
        n
        =
        3
      
    
    {\displaystyle n=3}
  
)
Counting neighbors of a cell on a 9 × 9 {\displaystyle 9\times 9} Sudoku graph ( n = 3 {\displaystyle n=3} )

Worked examples

Example 1 — a first encounter with Sudoku graph

Start with the simplest possible case. Write down what Sudoku graph claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Sudoku graph before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Sudoku graph ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Sudoku graph

In research
Sudoku graph appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Sudoku graph in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Sudoku graph is common in secondary-school and first-year university syllabi. It links to neighbouring topics Application-specific graphs, Parametric families of graphs, Regular graphs, so understanding it makes those chapters shorter.
In everyday life
Look for Sudoku graph outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Sudoku graph in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Sudoku graph means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Sudoku graph out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Sudoku graph in simple terms?

In the mathematics of Sudoku, the Sudoku graph is an undirected graph whose vertices represent the cells of a (blank) Sudoku puzzle and whose edges represent pairs of cells that belong to the same row, column, or block of the puzzle. The problem of solving a Sudoku puzzle can be represented as prec…

Why does Sudoku graph matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Sudoku graph?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Sudoku graph.

Tags

  • Application-specific graphs
  • Parametric families of graphs
  • Regular graphs
  • Sudoku

Keep exploring