HOME

TheInfoList



OR:

In
graph theory In mathematics, graph theory is the study of '' graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of '' vertices'' (also called ''nodes'' or ''points'') which are conn ...
, a rook's graph is a graph that represents all legal moves of the rook
chess piece A chess piece, or chessman, is a game piece that is placed on a chessboard to play the game of chess. It can be either white or black, and it can be one of six types: king, queen, rook, bishop, knight, or pawn. Chess sets generally come with ...
on a
chessboard A chessboard is a used to play chess. It consists of 64 squares, 8 rows by 8 columns, on which the chess pieces are placed. It is square in shape and uses two colours of squares, one light and one dark, in a chequered pattern. During play, the bo ...
. Each vertex of a rook's graph represents a square on a chessboard, and each edge connects two squares on the same row (rank) or on the same column (file) as each other, the squares that a rook can move between. These graphs can be constructed for chessboards of any rectangular shape, and can be defined mathematically as the
Cartesian product In mathematics, specifically set theory, the Cartesian product of two sets ''A'' and ''B'', denoted ''A''×''B'', is the set of all ordered pairs where ''a'' is in ''A'' and ''b'' is in ''B''. In terms of set-builder notation, that is : A\t ...
of two
complete graph In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices is ...
s, as the two-dimensional
Hamming graph Hamming graphs are a special class of graphs named after Richard Hamming and used in several branches of mathematics (graph theory) and computer science. Let be a set of elements and a positive integer. The Hamming graph has vertex se ...
s, or as the
line graph In the mathematical discipline of graph theory, the line graph of an undirected graph is another graph that represents the adjacencies between edges of . is constructed in the following way: for each edge in , make a vertex in ; for every ...
s of
complete bipartite graph In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17. Graph theory i ...
s. 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 (they are distance-transitive). For chessboards with
relatively prime In mathematics, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equivale ...
dimensions, they are
circulant graph In graph theory, a circulant graph is an undirected graph acted on by a cyclic group of symmetries which takes any vertex to any other vertex. It is sometimes called a cyclic graph, but this term has other meanings. Equivalent definitions Cir ...
s. With one exception, they can be distinguished from all other graphs by the numbers of triangles each edge belongs to and by the existence of a -cycle connecting each nonadjacent pair of vertices. Rook's graphs are
perfect graph In graph theory, a perfect graph is a graph in which the chromatic number of every induced subgraph equals the order of the largest clique of that subgraph (clique number). Equivalently stated in symbolic terms an arbitrary graph G=(V,E) is perfe ...
s, meaning that every subset of chessboard squares can be
colored ''Colored'' (or ''coloured'') is a racial descriptor historically used in the United States during the Jim Crow Era to refer to an African American. In many places, it may be considered a slur, though it has taken on a special meaning in Sout ...
so that no two squares in a row or column have the same color, and so that the number of colors equals the maximum number of squares from the subset in any single row or column (the
clique number In the mathematical area of graph theory, a clique ( or ) is a subset of vertices of an undirected graph such that every two distinct vertices in the clique are adjacent. That is, a clique of a graph G is an induced subgraph of G that is compl ...
of an
induced subgraph In the mathematical field of graph theory, an induced subgraph of a graph is another graph, formed from a subset of the vertices of the graph and ''all'' of the edges (from the original graph) connecting pairs of vertices in that subset. Defini ...
). The graphs formed in this way from subsets of squares in a rook's graph form one of the key components of a decomposition of perfect graphs used to prove the strong perfect graph theorem characterizing all perfect graphs. The independence number and
domination number Domination or dominant may refer to: Society * World domination, which is mainly a conspiracy theory * Colonialism in which one group (usually a nation) invades another region for material gain or to eliminate competition * Chauvinism in which ...
of a rook's graph, or in other words the maximum number of rooks that can be placed so that they do not attack each other or so that they attack all remaining board squares, both equal the smaller of the chessboard's two dimensions, and these are
well-covered graph In graph theory, a well-covered graph is an undirected graph in which every minimal vertex cover has the same size as every other minimal vertex cover. Equivalently, these are the graphs in which all maximal independent sets have equal size. Well ...
s 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 rook's graph represents the moves of a rook on an chessboard. Its vertices represent the squares of the chessboard, and may be given coordinates , where and . Two vertices with coordinates and are adjacent if and only if either (the two squares belong to the same file of the chessboard, and are connected by a vertical rook move) or (the two squares belong to the same rank and are connected by a horizontal move). Within a single rank or a single file of the chessboard, all squares are reachable from each other, so these squares form a
clique A clique ( AusE, CanE, or ), in the social sciences, is a group of individuals who interact with one another and share similar interests. Interacting with cliques is part of normative social development regardless of gender, ethnicity, or popular ...
, a subset of vertices forming a
complete graph In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices is ...
. The whole rook's graph for an chessboard can be formed from these two kinds of cliques as the
Cartesian product of graphs Cartesian means of or relating to the French philosopher René Descartes—from his Latinized name ''Cartesius''. It may refer to: Mathematics * Cartesian closed category, a closed category in category theory *Cartesian coordinate system, moder ...
. 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 Hamming graphs are a special class of graphs named after Richard Hamming and used in several branches of mathematics (graph theory) and computer science. Let be a set of elements and a positive integer. The Hamming graph has vertex se ...
. Its dimension as a Hamming graph is two, and every two-dimensional Hamming graph is a rook's graph for a square chessboard. Square chessboard graphs are also called Latin square graphs, because the vertices of such a graph describe the squares of a Latin square and its edges describe pairs of squares that cannot contain the same value. The
Sudoku graph 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 ...
s are supergraphs of 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 A skeleton is the structural frame that supports the body of an animal. There are several types of skeletons, including the exoskeleton, which is the stable outer shell of an organism, the endoskeleton, which forms the support structure insid ...
) of a family of
convex polytope A convex polytope is a special case of a polytope, having the additional property that it is also a convex set contained in the n-dimensional Euclidean space \mathbb^n. Most texts. use the term "polytope" for a bounded convex polytope, and the w ...
s, the Cartesian products of pairs of
neighborly polytope In geometry and polyhedral combinatorics, a -neighborly polytope is a convex polytope in which every set of or fewer vertices forms a face. For instance, a 2-neighborly polytope is a polytope in which every pair of vertices is connected by an ...
s. For instance, the
3-3 duoprism In the geometry of 4 dimensions, the 3-3 duoprism or triangular duoprism is a four-dimensional convex polytope. It can be constructed as the Cartesian product of two triangles and is the simplest of an infinite family of four-dimensional polytopes ...
is a four-dimensional shape formed as the Cartesian product of two
triangle A triangle is a polygon with three edges and three vertices. It is one of the basic shapes in geometry. A triangle with vertices ''A'', ''B'', and ''C'' is denoted \triangle ABC. In Euclidean geometry, any three points, when non- colline ...
s, and has a rook's graph as its skeleton.


Regularity and symmetry


Strong regularity

and observe that the m\times n rook's graph has all of the following properties: *It has mn vertices, one for each square of the m\times n chessboard. Each vertex is adjacent to m+n-2 edges, connecting it to the m-1 squares on the same rank and the n-1 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 m\ne n, exactly n\tbinom edges (the ones connecting squares on the same rank) belong to m-2 triangles; the remaining m\tbinom edges (the ones connecting squares on the same file) belong to n-2 triangles. When m=n, each edge belongs to m-2=n-2 triangles. *Every two vertices that are not adjacent to each other belong to a unique 4-vertex cycle, connected to each other through the other two vertices that use a combination of the same two ranks and files. As they show, 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. When m=n, these conditions may be abbreviated by stating that an n\times n rook's graph is a
strongly regular graph In graph theory, a strongly regular graph (SRG) is defined as follows. Let be a regular graph with vertices and degree . is said to be strongly regular if there are also integers and such that: * Every two adjacent vertices have comm ...
with parameters \operatorname(n^2,2n-2,n-2,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. Conversely, every strongly regular graph with these parameters must be an n\times n rook's graph, unless n=4. When n=4, there is another strongly regular graph, the
Shrikhande graph In the mathematical field of graph theory, the Shrikhande graph is a named graph discovered by S. S. Shrikhande in 1959.. It is a strongly regular graph with 16 vertices and 48 edges, with each vertex having degree 6. Every pair of nodes h ...
, with the same parameters as the 4\times 4 rook's graph. The Shrikhande graph obeys the same properties listed by Moon and Moser. It can be distinguished from the 4\times 4 rook's graph in that the
neighborhood A neighbourhood (British English, Irish English, Australian English and Canadian English) or neighborhood (American English; see spelling differences) is a geographically localised community within a larger city, town, suburb or rural area, ...
of each vertex in the Shrikhande graph is connected to form a . In contrast, in the 4\times 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. Another way of distinguishing the 4\times 4 rook's graph from the Shrikhande graph uses
clique cover In graph theory, a clique cover or partition into cliques of a given undirected graph is a partition of the vertices into cliques, subsets of vertices within which every two vertices are adjacent. A minimum clique cover is a clique cover that u ...
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.


Symmetry

Rook's graphs are
vertex-transitive In geometry, a polytope (e.g. a polygon or polyhedron) or a tiling is isogonal or vertex-transitive if all its vertices are equivalent under the symmetries of the figure. This implies that each vertex is surrounded by the same kinds of fa ...
and (m+n-2)- regular; they are the only regular graphs formed from the moves of standard chess pieces in this way. When m\ne n, the symmetries of the rook's graph are formed by independently permuting the rows and columns of the graph, so the
automorphism group In mathematics, the automorphism group of an object ''X'' is the group consisting of automorphisms of ''X'' under composition of morphisms. For example, if ''X'' is a finite-dimensional vector space, then the automorphism group of ''X'' is the g ...
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. 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. When m and n are
relatively prime In mathematics, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equivale ...
, the symmetry group S_m\times S_n of the rook's graph contains as a subgroup the
cyclic group In group theory, a branch of abstract algebra in pure mathematics, a cyclic group or monogenous group is a group, denoted C''n'', that is generated by a single element. That is, it is a set of invertible elements with a single associative bina ...
C_=C_m\times C_n that
acts The Acts of the Apostles ( grc-koi, Πράξεις Ἀποστόλων, ''Práxeis Apostólōn''; la, Actūs Apostolōrum) is the fifth book of the New Testament; it tells of the founding of the Christian Church and the spread of its message ...
by cyclically permuting the mn vertices; therefore, in this case, the rook's graph is a
circulant graph In graph theory, a circulant graph is an undirected graph acted on by a cyclic group of symmetries which takes any vertex to any other vertex. It is sometimes called a cyclic graph, but this term has other meanings. Equivalent definitions Cir ...
. 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.


Other properties


Perfection

A rook's graph can also be viewed as the
line graph In the mathematical discipline of graph theory, the line graph of an undirected graph is another graph that represents the adjacencies between edges of . is constructed in the following way: for each edge in , make a vertex in ; for every ...
of a
complete bipartite graph In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17. Graph theory i ...
— that is, it has one vertex for each edge of , 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. In this view, an edge in the complete bipartite graph from the th vertex on one side of the bipartition to the th vertex on the other side corresponds to a chessboard square with coordinates . Any
bipartite graph In the mathematical field of graph theory, a bipartite graph (or bigraph) is a graph whose vertices can be divided into two disjoint and independent sets U and V, that is every edge connects a vertex in U to one in V. Vertex sets U and V a ...
is a subgraph of a complete bipartite graph, and correspondingly any line graph of a bipartite graph is an
induced subgraph In the mathematical field of graph theory, an induced subgraph of a graph is another graph, formed from a subset of the vertices of the graph and ''all'' of the edges (from the original graph) connecting pairs of vertices in that subset. Defini ...
of a rook's graph. 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 to characterize the perfect graphs and to show that every graph with no odd hole and no odd antihole is perfect. In particular, rook's graphs are themselves perfect. 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 , so this is also the chromatic number of the graph. An -coloring of an rook's graph may be interpreted as a Latin square: it describes a way of filling the rows and columns of an grid with different values in such a way that the same value does not appear twice in any row or column. Although finding an optimal coloring of a rook's graph is straightforward, it is
NP-complete In computational complexity theory, a problem is NP-complete when: # it is a problem for which the correctness of each solution can be verified quickly (namely, in polynomial time) and a brute-force search algorithm can find a solution by trying ...
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.


Independence

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 . Every color class in every optimal coloring of a rook's graph is a maximum independent set. Rook's graphs are
well-covered graph In graph theory, a well-covered graph is an undirected graph in which every minimal vertex cover has the same size as every other minimal vertex cover. Equivalently, these are the graphs in which all maximal independent sets have equal size. Well ...
s: every independent set in a rook's graph can be extended to a maximum independent set, and every
maximal independent set In graph theory, a maximal independent set (MIS) or maximal stable set is an independent set that is not a subset of any other independent set. In other words, there is no vertex outside the independent set that may join it because it is maxi ...
in a rook's graph has the same size, .


Domination

The
domination number Domination or dominant may refer to: Society * World domination, which is mainly a conspiracy theory * Colonialism in which one group (usually a nation) invades another region for material gain or to eliminate competition * Chauvinism in which ...
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 board. For the board the domination number is . On the rook's graph a -dominating set is a set of vertices whose corresponding squares attack all other squares (via a rook's move) at least times. A -tuple dominating set on the rook's graph is a set of vertices whose corresponding squares attack all other squares at least times and are themselves attacked at least times. The minimum cardinality among all -dominating and -tuple dominating sets are the -domination number and the -tuple domination number, respectively. On the square board, and for even , the -domination number is when and . In a similar fashion, the -tuple domination number is when is odd and less than .


Spectrum

The
spectrum A spectrum (plural ''spectra'' or ''spectrums'') is a condition that is not limited to a specific set of values but can vary, without gaps, across a continuum. The word was first used scientifically in optics to describe the rainbow of colors ...
of a rook's graph (the
eigenvalue In linear algebra, an eigenvector () or characteristic vector of a linear transformation is a nonzero vector that changes at most by a scalar factor when that linear transformation is applied to it. The corresponding eigenvalue, often denote ...
s of its
adjacency matrix In graph theory and computer science, an adjacency matrix is a square matrix used to represent a finite graph. The elements of the matrix indicate whether pairs of vertices are adjacent or not in the graph. In the special case of a finite simp ...
) consists of the four eigenvalues m+n-2, m-2, n-2, and -2. Because these are all integers, rook's graphs are
integral graph In the mathematical field of graph theory, an integral graph is a graph whose adjacency matrix's spectrum consists entirely of integers. In other words, a graph is an integral graph if all of the roots of the characteristic polynomial of its adjace ...
s. 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\times n rook's graph is spectrally unique: no other graph has the same spectrum. In particular this is true when n=2 or n=m-1, or when the two numbers m and n sum to at least 18 and do not have the form 2t^2\pm t.


See also

*
King's graph In graph theory, a king's graph is a graph that represents all legal moves of the king chess piece on a chessboard where each vertex represents a square on a chessboard and each edge is a legal move. More specifically, an n \times m king's gra ...
, knight's graph,
queen's graph In mathematics, a queen's graph is a graph that represents all legal moves of the queen—a chess piece—on a chessboard. In the graph, each vertex represents a square on a chessboard, and each edge is a legal move the queen can make, that is, ...
, and
bishop's graph In mathematics, a bishop's graph is a graph that represents all legal moves of the chess piece the bishop on a chessboard. Each vertex represents a square on the chessboard and each edge represents a legal move of the bishop; that is, there is ...
, four other graphs defined from the moves of chess pieces *
Lattice graph In graph theory, a lattice graph, mesh graph, or grid graph is a graph whose drawing, embedded in some Euclidean space , forms a regular tiling. This implies that the group of bijective transformations that send the graph to itself is a la ...
, the graph of horizontal and vertical adjacencies of squares on a chessboard


References


External links

*{{mathworld, title=Lattice Graph, urlname=LatticeGraph, mode=cs2 Mathematical chess problems Perfect graphs Parametric families of graphs Regular graphs Strongly regular graphs