Mathematical chess problem

From Wikipedia the free encyclopedia

A mathematical chess problem is a mathematical problem which is formulated using a chessboard and chess pieces. These problems belong to recreational mathematics. The most well-known problems of this kind are the eight queens puzzle and the knight's tour problem, which have connection to graph theory and combinatorics. Many famous mathematicians studied mathematical chess problems, such as, Thabit, Euler, Legendre and Gauss.[1] Besides finding a solution to a particular problem, mathematicians are usually interested in counting the total number of possible solutions, finding solutions with certain properties, as well as generalization of the problems to N×N or M×N boards.

Independence problem[edit]

An independence problem (or unguard[citation needed]) is a problem in which, given a certain type of chess piece (queen, rook, bishop, knight or king), one must find the maximum number that can be placed on a chessboard so that none of the pieces attack each other. It is also required that an actual arrangement for this maximum number of pieces be found. The most famous problem of this type is the eight queens puzzle. Problems are further extended by asking how many possible solutions exist. Further generalizations apply the problem to NxN boards.[2][3]

An 8×8 chessboard can have 16 independent kings, 8 independent queens, 8 independent rooks, 14 independent bishops, or 32 independent knights.[4] Solutions for kings, bishops, queens and knights are shown below. To get 8 independent rooks is sufficient to place them on one of main diagonals.

abcdefgh
8
a7 white king
c7 white king
e7 white king
g7 white king
a5 white king
c5 white king
e5 white king
g5 white king
a3 white king
c3 white king
e3 white king
g3 white king
a1 white king
c1 white king
e1 white king
g1 white king
8
77
66
55
44
33
22
11
abcdefgh
16 independent kings
abcdefgh
8
f8 white queen
d7 white queen
g6 white queen
a5 white queen
h4 white queen
b3 white queen
e2 white queen
c1 white queen
8
77
66
55
44
33
22
11
abcdefgh
8 independent queens
abcdefgh
8
h8 white rook
g7 white rook
f6 white rook
e5 white rook
d4 white rook
c3 white rook
b2 white rook
a1 white rook
8
77
66
55
44
33
22
11
abcdefgh
8 independent rooks
abcdefgh
8
b8 white bishop
c8 white bishop
d8 white bishop
e8 white bishop
f8 white bishop
g8 white bishop
a1 white bishop
b1 white bishop
c1 white bishop
d1 white bishop
e1 white bishop
f1 white bishop
g1 white bishop
h1 white bishop
8
77
66
55
44
33
22
11
abcdefgh
14 independent bishops
abcdefgh
8
b8 white knight
d8 white knight
f8 white knight
h8 white knight
a7 white knight
c7 white knight
e7 white knight
g7 white knight
b6 white knight
d6 white knight
f6 white knight
h6 white knight
a5 white knight
c5 white knight
e5 white knight
g5 white knight
b4 white knight
d4 white knight
f4 white knight
h4 white knight
a3 white knight
c3 white knight
e3 white knight
g3 white knight
b2 white knight
d2 white knight
f2 white knight
h2 white knight
a1 white knight
c1 white knight
e1 white knight
g1 white knight
8
77
66
55
44
33
22
11
abcdefgh
32 independent knights

Domination problems[edit]

A domination (or covering) problem involves finding the minimum number of pieces of the given kind to place on a chessboard such that all vacant squares are attacked at least once. It is a special case of the vertex cover problem. The minimum number of dominating kings is 9, queens is 5, rooks is 8, bishops is 8, and knights is 12. To get 8 dominating rooks, it is sufficient to place one on each file. Solutions for other pieces are provided on diagrams below.

abcdefgh
8
b8 white king
e8 white king
h8 white king
b5 white king
e5 white king
h5 white king
b2 white king
e2 white king
h2 white king
8
77
66
55
44
33
22
11
abcdefgh
9 dominating kings
abcdefgh
8
f7 white queen
c6 white queen
e5 white queen
g4 white queen
d3 white queen
8
77
66
55
44
33
22
11
abcdefgh
5 dominating queens
abcdefgh
8
d8 white bishop
d7 white bishop
d6 white bishop
d5 white bishop
d4 white bishop
d3 white bishop
d2 white bishop
d1 white bishop
8
77
66
55
44
33
22
11
abcdefgh
8 dominating bishops
abcdefgh
8
f7 white knight
b6 white knight
c6 white knight
e6 white knight
f6 white knight
c5 white knight
f4 white knight
c3 white knight
d3 white knight
f3 white knight
g3 white knight
c2 white knight
8
77
66
55
44
33
22
11
abcdefgh
12 dominating knights

The domination problems are also sometimes formulated as requiring one to find the minimal number of pieces needed to attack all squares on the board, including occupied ones.[5] For rooks, eight are required; the solution is to place them all on one file or rank. The solutions for other pieces are given below.

abcdefgh
8
b7 white king
e7 white king
h7 white king
b6 white king
e6 white king
h6 white king
b3 white king
e3 white king
h3 white king
b2 white king
e2 white king
h2 white king
8
77
66
55
44
33
22
11
abcdefgh
12 kings attack all squares
abcdefgh
8
g8 white queen
e6 white queen
d5 white queen
c4 white queen
a2 white queen
8
77
66
55
44
33
22
11
abcdefgh
5 queens attack all squares
abcdefgh
8
b6 white bishop
d6 white bishop
e6 white bishop
g6 white bishop
c4 white bishop
d4 white bishop
e4 white bishop
f4 white bishop
c2 white bishop
f2 white bishop
8
77
66
55
44
33
22
11
abcdefgh
10 bishops attacking all squares
abcdefgh
8
c7 white knight
e7 white knight
f7 white knight
c6 white knight
e6 white knight
c5 white knight
g5 white knight
c4 white knight
e4 white knight
b3 white knight
c3 white knight
e3 white knight
f3 white knight
g3 white knight
8
77
66
55
44
33
22
11
abcdefgh
14 knights attacking all squares

Domination by queens on the main diagonal of a chessboard of any size can be shown equivalent to a problem in number theory of finding a Salem–Spencer set, a set of numbers in which none of the numbers is the average of two others. The optimal placement of queens is obtained by leaving vacant a set of squares that all have the same parity (all are in even positions or all in odd positions along the diagonal) and that form a Salem–Spencer set.[6]

Piece tour problems[edit]

These kinds of problems ask to find a tour of certain chess piece, which visits all squares on a chess board. The most known problem of this kind is Knight's Tour. Besides the knight, such tours exists for king, queen and rook. Bishops are unable to reach each square on the board, so the problem for them is formulated to reach all squares of one color.[7]

Chess swap problems[edit]

In chess swap problems, the whites pieces swap with the black pieces.[8] This is done with the pieces' normal legal moves during a game, but alternating turns is not required. For example, a white knight can move twice in a row. Capturing pieces is not allowed. Two such problems are shown below. In the first one the goal is to exchange the positions of white and black knights. In the second one the positions of bishops must be exchanged with an additional limitation, that enemy pieces do not attack each other.

a4 black knightb4 black knightc4 black knightd4 black knight
a3 black knightb3 black knightc3d3 black knight
a2 white knightb2c2 white knightd2 white knight
a1 white knightb1 white knightc1 white knightd1 white knight
Knight swap puzzle
a5 black bishopb5 black bishopc5 black bishopd5 black bishop
a4b4c4d4
a3b3c3d3
a2b2c2d2
a1 white bishopb1 white bishopc1 white bishopd1 white bishop
Bishop swap puzzle

See also[edit]

Notes[edit]

  1. ^ Gik, p.11
  2. ^ "Independent Pieces tour!". Lichess. Retrieved 9 July 2022.
  3. ^ "mathrecreation: Mathematical Chessboard Puzzles". mathrecreation. Retrieved 9 July 2022.
  4. ^ Gik, p.98
  5. ^ Gik, p.101.
  6. ^ Cockayne, E. J.; Hedetniemi, S. T. (1986), "On the diagonal queens domination problem", Journal of Combinatorial Theory, Series A, 42 (1): 137–139, doi:10.1016/0097-3165(86)90012-9, MR 0843468
  7. ^ Gik, p. 87
  8. ^ "Knight swap puzzle - Chess Forums".

References[edit]

External links[edit]