ArticleslgStudy

mathematics

Rook's graph

Rook's graph is a mathematics 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 Rook's graph rather than just read about it. In short: In graph theory, a rook's graph is an undirected graph that represents all legal moves of the rook chess piece on a chessboard. Each vertex of a rook's graph represents a square on a chessboard, and there is an edge between any two squares sharing a row (rank) or column (file), the squares that a rook can move between.

Rook's graph — main illustration
Rook's graph — illustration

Key takeaways

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

Reference excerpt

In graph theory, a rook's graph is an undirected graph that represents all legal moves of the rook chess piece on a chessboard. Each vertex of a rook's graph represents a square on a chessboard, and there is an edge between any two squares sharing a row (rank) or column (file), the squares that a rook can move between. These graphs can be constructed for chessboards of any rectangular shape. Although rook's graphs have only minor significance in chess lore, they are more important in the abstract mathematics of graphs through their alternative constructions: rook's graphs are the Cartesian product of two complete graphs, and are the line graphs of complete bipartite graphs. The square rook's graphs constitute the two-dimensional Hamming graphs. Rook's graphs are highly symmetric, having symmetries taking every vertex to every other vertex. In rook's graphs defined from square chessboards, more strongly, every two edges are symmetric, and every pair of vertices is symmetric to every other pair at the same distance in moves (making the graph distance-transitive). For rectangular chessboards whose width and height are relatively prime, the rook's graphs are circulant graphs. With one exception, the rook's graphs can be distinguished from all other graphs using only two properties: the numbers of triangles each edge belongs to, and the existence of a unique 4-cycle connecting each nonadjacent pair of vertices. Rook's graphs are perfect graphs. In other words, every subset of chessboard squares can be colored so that no two squares in a row or column have the same color, using a number of colors equal to the maximum number of squares from the subset in any single row or column (the clique number of the induced subgraph). This class of induced subgraphs are a key component of a decomposition of perfect graphs used to prove the strong perfect graph theorem, which characterizes all perfect graphs. The independence number and domination number of a rook's graph both equal the smaller of the chessboard's width and height. In terms of chess, the independence number is the maximum number of rooks that can be placed without attacking each other; the domination number is the minimum number needed to attack all unoccupied board squares. Rook's graphs are well-covered graphs, meaning that placing non-attacking rooks one at a time can never get stuck until a set of maximum size is reached.

Definition and mathematical constructions An n × m rook's graph represents the moves of a rook on an n × m chessboard. Its vertices represent the squares of the chessboard, and may be given coordinates (x, y), where 1 ≤ x ≤ n and 1 ≤ y ≤ m. Two vertices with coordinates (x1, y1) and (x2, y2) are adjacent if and only if either x1 = x2 or y1 = y2. (If x1 = x2, the vertices share a file and are connected by a vertical rook move; if y1 = y2, they share a rank and are connected by a horizontal rook move.) The squares of a single rank or file are all directly connected to each other, so each rank and file forms a clique—a subset of vertices forming a complete graph. The whole rook's graph for an n × m chessboard can be formed from these two kinds of cliques, as the Cartesian product of graphs Kn ◻ Km. Because the rook's graph for a square chessboard is the Cartesian product of equal-size cliques, it is an example of a Hamming graph. Its dimension as a Hamming graph is two, and every two-dimensional Hamming graph is a rook's graph for a square chessboard. Square rook's graphs are also called "Latin square graphs"; applied to a Latin square, its edges describe pairs of squares that cannot contain the same value. The Sudoku graphs are rook's graphs with some additional edges, connecting squares of a Sudoku puzzle that should have unequal values.

Geometrically, the rook's graphs can be formed by sets of the vertices and edges (the skeletons) of a family of convex polytopes, the Cartesian products of pairs of neighborly polytopes. For instance, the 3-3 duoprism is a four-dimensional shape formed as the Cartesian product of two triangles, and has a 3 × 3 rook's graph as its skeleton.

Regularity and symmetry

Strong regularity Moon (1963) and Hoffman (1964) observe that the m × n {\displaystyle m\times n} rook's graph (or equivalently, as they describe it, the line graph of the complete bipartite graph K m , n {\displaystyle K_{m,n}} ) has all of the following properties:

… excerpt ends here. Continue reading the full article.

Illustrations

Rook's graph illustration
Rook's graph: The 3-3 duoprism, a four-dimensional convex polytope having a 3 × 3 rook's graph as its skeleton
The 3-3 duoprism, a four-dimensional convex polytope having a 3 × 3 rook's graph as its skeleton
Rook's graph: The Shrikhande graph embedded on a torus. This is not a rook's graph, but is strongly regular with the same parameters as the 
  
    
      
        4
        ×
        4
      
    
    {\displaystyle 4\times 4}
  
 rook's graph.
The Shrikhande graph embedded on a torus. This is not a rook's graph, but is strongly regular with the same parameters as the 4 × 4 {\displaystyle 4\times 4} rook's graph.
Rook's graph: The 3×3 rook's graph (the graph of the 3-3 duoprism), colored with three colors and showing a clique of three vertices. In this graph and each of its induced subgraphs the chromatic number equals the clique number, so it is a perfect graph.
The 3×3 rook's graph (the graph of the 3-3 duoprism), colored with three colors and showing a clique of three vertices. In this graph and each of its induced subgraphs the chromatic number equals the clique number, so it is a perfect graph.
Rook's graph: 8-coloring of a chessboard graph obtained from a Cayley table of a finite group
8-coloring of a chessboard graph obtained from a Cayley table of a finite group

Worked examples

Example 1 — a first encounter with Rook's graph

Start with the simplest possible case. Write down what Rook's graph claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, 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 Rook's 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 Rook's 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 Rook's graph

In research
Rook's graph appears in mathematics 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 Rook's 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
Rook's graph is common in secondary-school and first-year university syllabi. It links to neighbouring topics Mathematical chess problems, Parametric families of graphs, Perfect graphs, so understanding it makes those chapters shorter.
In everyday life
Look for Rook's 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 Rook's graph in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Rook's 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 Rook's graph out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Rook's graph in simple terms?

In graph theory, a rook's graph is an undirected graph that represents all legal moves of the rook chess piece on a chessboard. Each vertex of a rook's graph represents a square on a chessboard, and there is an edge between any two squares sharing a row (rank) or column (file), the squares that a r…

Why does Rook's graph matter?

Because it connects several mathematics 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 Rook's 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 Rook's graph.

Tags

  • Mathematical chess problems
  • Parametric families of graphs
  • Perfect graphs
  • Regular graphs
  • Strongly regular graphs

Keep exploring