Rook's graph

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Good article Template:Short description Template:Use mdy dates Template:Use list-defined references <templatestyles src="Infobox graph/styles.css"/>Script error: No such module "Infobox".Template:Template other 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 4Script error: No such module "Check for unknown parameters".-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 × mScript error: No such module "Check for unknown parameters". rook's graph represents the moves of a rook on an n × mScript error: No such module "Check for unknown parameters". chessboard.Template:R Its vertices represent the squares of the chessboard, and may be given coordinates (x, y)Script error: No such module "Check for unknown parameters"., where 1 ≤ xnScript error: No such module "Check for unknown parameters". and 1 ≤ ymScript error: No such module "Check for unknown parameters".. Two vertices with coordinates (x1, y1)Script error: No such module "Check for unknown parameters". and (x2, y2)Script error: No such module "Check for unknown parameters". are adjacent if and only if either x1 = x2Script error: No such module "Check for unknown parameters". or y1 = y2Script error: No such module "Check for unknown parameters".. (If x1 = x2Script error: No such module "Check for unknown parameters"., the vertices share a file and are connected by a vertical rook move; if y1 = y2Script error: No such module "Check for unknown parameters"., they share a rank and are connected by a horizontal rook move.)Template:R

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 × mScript error: No such module "Check for unknown parameters". chessboard can be formed from these two kinds of cliques, as the Cartesian product of graphs KnKmScript error: No such module "Check for unknown parameters"..Template:R 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.Template:R 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.Template:R The Sudoku graphs are rook's graphs with some additional edges, connecting squares of a Sudoku puzzle that should have unequal values.Template:R

File:Triangular Duoprism YW and ZW Rotations.gif
The 3-3 duoprism, a four-dimensional convex polytope having a 3 × 3Script error: No such module "Check for unknown parameters". rook's graph as its skeleton

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.Template:R For instance, the 3-3 duoprism is a four-dimensional shape formed as the Cartesian product of two triangles, and has a 3 × 3Script error: No such module "Check for unknown parameters". rook's graph as its skeleton.Template:R

Regularity and symmetry

Strong regularity

Script error: No such module "Footnotes". and Script error: No such module "Footnotes". observe that the m×n rook's graph (or equivalently, as they describe it, the line graph of the complete bipartite graph Km,n) has all of the following properties:

  • It has mn vertices, one for each square of the m×n chessboard. Each vertex is adjacent to m+n2 edges, connecting it to the m1 squares on the same rank and the n1 squares on the same file.
  • The triangles within the rook's graph are formed by triples of squares within a single rank or file. When mn, exactly n(m2) edges (the ones connecting squares on the same rank) belong to m2 triangles; the remaining m(n2) edges (the ones connecting squares on the same file) belong to n2 triangles. When m=n, each edge belongs to m2=n2 triangles.
  • Every two nonadjacent vertices belong to a unique 4-vertex cycle, namely the only rectangle using the two vertices as corners.

They show that except in the case m=n=4, these properties uniquely characterize the rook's graph. That is, the rook's graphs are the only graphs with these numbers of vertices, edges, triangles per edge, and with a unique 4-cycle through each two non-adjacent vertices.Template:R

When m=n, these conditions may be abbreviated by stating that an n×n rook's graph is a strongly regular graph with parameters srg(n2,2n2,n2,2). These parameters describe the number of vertices, the number of edges per vertex, the number of triangles per edge, and the number of shared neighbors for two non-adjacent vertices, respectively.Template:R Conversely, every strongly regular graph with these parameters must be an n×n rook's graph, unless n=4.Template:R

File:Shrikhande torus.svg
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 rook's graph.

When n=4, there is another strongly regular graph, the Shrikhande graph, with the same parameters as the 4×4 rook's graph.Template:R The Shrikhande graph obeys the same properties listed by Moon and Moser. It can be distinguished from the 4×4 rook's graph in that the neighborhood of each vertex in the Shrikhande graph is connected to form a 6-cycle. In contrast, in the 4×4 rook's graph, the neighborhood of each vertex forms two triangles, one for its rank and another for its file, without any edges from one part of the neighborhood to the other.Template:R Another way of distinguishing the 4×4 rook's graph from the Shrikhande graph uses clique cover numbers: the n=4 rook's graph can be covered by four cliques (the four ranks or the four files of the chessboard) whereas six cliques are needed to cover the Shrikhande graph.Template:R

Symmetry

Rook's graphs are vertex-transitive, meaning that they have symmetries taking every vertex to every other vertex. This implies that every vertex has an equal number of edges: they are (m+n2)-regular. The rook's graphs are the only regular graphs formed from the moves of standard chess pieces in this way.Template:R When mn, the symmetries of the rook's graph are formed by independently permuting the rows and columns of the graph, so the automorphism group of the graph has m!n! elements. When m=n, the graph has additional symmetries that swap the rows and columns, so the number of automorphisms is 2n!2.Template:R

Any two vertices in a rook's graph are either at distance one or two from each other, according to whether they are adjacent or nonadjacent respectively. Any two nonadjacent vertices may be transformed into any other two nonadjacent vertices by a symmetry of the graph. When the rook's graph is not square, the pairs of adjacent vertices fall into two orbits of the symmetry group according to whether they are adjacent horizontally or vertically, but when the graph is square any two adjacent vertices may also be mapped into each other by a symmetry and the graph is therefore distance-transitive.Template:R

When m and n are relatively prime, the symmetry group Sm×Sn of the rook's graph contains as a subgroup the cyclic group Cmn=Cm×Cn that acts by cyclically permuting the mn vertices. Therefore, in this case, the rook's graph is a circulant graph.Template:R

Square rook's graphs are connected-homogeneous, meaning that every isomorphism between two connected induced subgraphs can be extended to an automorphism of the whole graph.Template:R

Other properties

Perfection

File:Paley9-perfect.svg
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.

A rook's graph can also be viewed as the line graph of a complete bipartite graph Kn,mScript error: No such module "Check for unknown parameters". — that is, it has one vertex for each edge of Kn,mScript error: No such module "Check for unknown parameters"., and two vertices of the rook's graph are adjacent if and only if the corresponding edges of the complete bipartite graph share a common endpoint.Template:R In this view, an edge in the complete bipartite graph from the Template:Mvarth vertex on one side of the bipartition to the Template:Mvarth vertex on the other side corresponds to a chessboard square with coordinates (i, j)Script error: No such module "Check for unknown parameters"..Template:R

Any bipartite graph is a subgraph of a complete bipartite graph, and correspondingly any line graph of a bipartite graph is an induced subgraph of a rook's graph.Template:Sfnp The line graphs of bipartite graphs are perfect: in them, and in any of their induced subgraphs, the number of colors needed in any vertex coloring is the same as the number of vertices in the largest complete subgraph. Line graphs of bipartite graphs form an important family of perfect graphs: they are one of a small number of families used by Script error: No such module "Footnotes". to characterize the perfect graphs and to show that every graph with no odd hole and no odd antihole is perfect.Template:R In particular, rook's graphs are themselves perfect.

File:Z2^3; Cayley table; colors.svg
8-coloring of a chessboard graph obtained from a Cayley table of a finite group

Because a rook's graph is perfect, the number of colors needed in any coloring of the graph is just the size of its largest clique. The cliques of a rook's graph are the subsets of a single row or a single column, and the largest of these have size max(m, n)Script error: No such module "Check for unknown parameters"., so this is also the chromatic number of the graph. An Template:Mvar-coloring of an n × nScript error: No such module "Check for unknown parameters". rook's graph may be interpreted as a Latin square: it describes a way of filling the rows and columns of an n × nScript error: No such module "Check for unknown parameters". grid with Template:Mvar different values in such a way that the same value does not appear twice in any row or column.Template:R In the same way, a coloring of a rectangular rook's graph corresponds to a Latin rectangle.Template:R Although finding an optimal coloring of a rook's graph is straightforward, it is NP-complete to determine whether a partial coloring can be extended to a coloring of the whole graph (this problem is called precoloring extension). Equivalently, it is NP-complete to determine whether a partial Latin square can be completed to a full Latin square.Template:R

Independence

Script error: No such module "Chessboard". An independent set in a rook's graph is a set of vertices, no two of which belong to the same row or column of the graph; in chess terms, it corresponds to a placement of rooks no two of which attack each other. Perfect graphs may also be described as the graphs in which, in every induced subgraph, the size of the largest independent set is equal to the number of cliques in a partition of the graph's vertices into a minimum number of cliques. In a rook's graph, the sets of rows or the sets of columns (whichever has fewer sets) form such an optimal partition. The size of the largest independent set in the graph is therefore min(m, n)Script error: No such module "Check for unknown parameters"..Template:R

Rook's graphs are well-covered graphs: every independent set in a rook's graph can be extended to a maximum independent set, and every maximal independent set in a rook's graph has the same size, min(m, n)Script error: No such module "Check for unknown parameters"..Template:R

Domination

The domination number of a graph is the minimum cardinality among all dominating sets. On the rook's graph a set of vertices is a dominating set if and only if their corresponding squares either occupy, or are a rook's move away from, all squares on the m × nScript error: No such module "Check for unknown parameters". board. For the m × nScript error: No such module "Check for unknown parameters". board the domination number is min(m, n)Script error: No such module "Check for unknown parameters"..Template:R

On the rook's graph a Template:Mvar-dominating set is a set of vertices whose corresponding squares attack all other squares (via a rook's move) at least Template:Mvar times. A Template:Mvar-tuple dominating set on the rook's graph is a set of vertices whose corresponding squares attack all other squares at least Template:Mvar times and are themselves attacked at least k − 1Script error: No such module "Check for unknown parameters". times. The minimum cardinality among all Template:Mvar-dominating and Template:Mvar-tuple dominating sets are the Template:Mvar-domination number and the Template:Mvar-tuple domination number, respectively. On the square board, and for even Template:Mvar, the Template:Mvar-domination number is nk/2Script error: No such module "Check for unknown parameters". when n ≥ (k2 − 2k)/4Script error: No such module "Check for unknown parameters". and k < 2nScript error: No such module "Check for unknown parameters".. In a similar fashion, the Template:Mvar-tuple domination number is n(k + 1)/2Script error: No such module "Check for unknown parameters". when Template:Mvar is odd and less than 2nScript error: No such module "Check for unknown parameters"..Template:R

Hamiltonicity

Every rook's graph contains a Hamiltonian cycle.Template:R However, these cycles may involve moves between squares that are far apart within a single row or column of the chessboard. Instead, the study of "rook's tours", in the mathematics of chess, has generally concentrated on a special case of these Hamiltonian cycles where the rook is restricted to move only to adjacent squares. These single-step rook's tours only exist on boards with an even number of squares. They play a central role in the proof of Gomory's theorem that, if two squares of opposite colors are removed from a standard chessboard, the remaining squares can always be covered by dominoes.Template:R They are featured alongside knight's tours in the first work to discuss chess-piece tours, the 9th century Sanskrit Kavyalankara of Rudrata.Template:R

Spectrum

The spectrum of a rook's graph (the eigenvalues of its adjacency matrix) consists of the four eigenvalues m+n2, m2, n2, and 2. Because these are all integers, rook's graphs are integral graphs. There are only three classes of graphs (and finitely many exceptional graphs) that can have four eigenvalues with one of the four being 2; one of the three classes is the class of rook's graphs. For most combinations of m and n, the m×n rook's graph is spectrally unique: no other graph has the same spectrum. In particular this is true when n=2 or n=m1, or when the two numbers m and n sum to at least 18 and do not have the form 2t2±t.Template:R

In other graphs

The graphs for which the neighbors of each vertex induce a rook's graph have been called locally grid. Examples include the Johnson graphs J(n,k), for which the neighbors of each vertex form a k×(nk) rook's graph. Other examples are known, and for some rook's graphs, a complete classification is known. For instance, there are two graphs whose neighborhoods are all 3×3 rook's graphs: they are the Johnson graph J(6,3), and the complement graph of a 4×4 rook's graph.Template:R

See also

References

<templatestyles src="Reflist/styles.css" />

Cite error: <ref> tag with name "ae" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "bcm" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "bh" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "biggs" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "bll" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "bm" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "cohen" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "colbourn" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "crst" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "dewerra" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "doob" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "fw" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "elkies" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "gm" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "gs" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "harary" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "hm" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "ho" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "hoffman" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "lpp" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "lsww" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "lw" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "moon" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "mpp" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "simploid" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "stone" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "stones" defined in <references> is not used in prior text.
Cite error: <ref> tag with name "w" defined in <references> is not used in prior text.

Cite error: <ref> tag with name "yy" defined in <references> is not used in prior text.

Script error: No such module "Check for unknown parameters".

External links

  • Script error: No such module "Template wrapper".