Jump to content

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[2]) 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.[3][4]

An 8×8 chessboard can have 16 independent kings, 8 independent queens, 8 independent rooks, 14 independent bishops, or 32 independent knights.[5]

abcdefgh
8a8b8c8d8e8f8g8h88
7a7 white kingb7c7 white kingd7e7 white kingf7g7 white kingh77
6a6b6c6d6e6f6g6h66
5a5 white kingb5c5 white kingd5e5 white kingf5g5 white kingh55
4a4b4c4d4e4f4g4h44
3a3 white kingb3c3 white kingd3e3 white kingf3g3 white kingh33
2a2b2c2d2e2f2g2h22
1a1 white kingb1c1 white kingd1e1 white kingf1g1 white kingh11
abcdefgh
16 independent kings
abcdefgh
8a8b8c8d8e8f8 white queeng8h88
7a7b7c7d7 white queene7f7g7h77
6a6b6c6d6e6f6g6 white queenh66
5a5 white queenb5c5d5e5f5g5h55
4a4b4c4d4e4f4g4h4 white queen4
3a3b3 white queenc3d3e3f3g3h33
2a2b2c2d2e2 white queenf2g2h22
1a1b1c1 white queend1e1f1g1h11
abcdefgh
8 independent queens
abcdefgh
8a8b8c8d8e8f8g8h8 white rook8
7a7b7c7d7e7f7g7 white rookh77
6a6b6c6d6e6f6 white rookg6h66
5a5b5c5d5e5 white rookf5g5h55
4a4b4c4d4 white rooke4f4g4h44
3a3b3c3 white rookd3e3f3g3h33
2a2b2 white rookc2d2e2f2g2h22
1a1 white rookb1c1d1e1f1g1h11
abcdefgh
8 independent rooks
abcdefgh
8a8b8 white bishopc8 white bishopd8 white bishope8 white bishopf8 white bishopg8 white bishoph88
7a7b7c7d7e7f7g7h77
6a6b6c6d6e6f6g6h66
5a5b5c5d5e5f5g5h55
4a4b4c4d4e4f4g4h44
3a3b3c3d3e3f3g3h33
2a2b2c2d2e2f2g2h22
1a1 white bishopb1 white bishopc1 white bishopd1 white bishope1 white bishopf1 white bishopg1 white bishoph1 white bishop1
abcdefgh
14 independent bishops
abcdefgh
8a8b8 white knightc8d8 white knighte8f8 white knightg8h8 white knight8
7a7 white knightb7c7 white knightd7e7 white knightf7g7 white knighth77
6a6b6 white knightc6d6 white knighte6f6 white knightg6h6 white knight6
5a5 white knightb5c5 white knightd5e5 white knightf5g5 white knighth55
4a4b4 white knightc4d4 white knighte4f4 white knightg4h4 white knight4
3a3 white knightb3c3 white knightd3e3 white knightf3g3 white knighth33
2a2b2 white knightc2d2 white knighte2f2 white knightg2h2 white knight2
1a1 white knightb1c1 white knightd1e1 white knightf1g1 white knighth11
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
8a8b8 white kingc8d8e8 white kingf8g8h8 white king8
7a7b7c7d7e7f7g7h77
6a6b6c6d6e6f6g6h66
5a5b5 white kingc5d5e5 white kingf5g5h5 white king5
4a4b4c4d4e4f4g4h44
3a3b3c3d3e3f3g3h33
2a2b2 white kingc2d2e2 white kingf2g2h2 white king2
1a1b1c1d1e1f1g1h11
abcdefgh
9 dominating kings
abcdefgh
8a8b8c8d8e8f8g8h88
7a7b7c7d7e7f7 white queeng7h77
6a6b6c6 white queend6e6f6g6h66
5a5b5c5d5e5 white queenf5g5h55
4a4b4c4d4e4f4g4 white queenh44
3a3b3c3d3 white queene3f3g3h33
2a2b2c2d2e2f2g2h22
1a1b1c1d1e1f1g1h11
abcdefgh
5 dominating queens
abcdefgh
8a8b8c8d8 white bishope8f8g8h88
7a7b7c7d7 white bishope7f7g7h77
6a6b6c6d6 white bishope6f6g6h66
5a5b5c5d5 white bishope5f5g5h55
4a4b4c4d4 white bishope4f4g4h44
3a3b3c3d3 white bishope3f3g3h33
2a2b2c2d2 white bishope2f2g2h22
1a1b1c1d1 white bishope1f1g1h11
abcdefgh
8 dominating bishops
abcdefgh
8a8b8c8d8e8f8g8h88
7a7b7c7d7e7f7 white knightg7h77
6a6b6 white knightc6 white knightd6e6 white knightf6 white knightg6h66
5a5b5c5 white knightd5e5f5g5h55
4a4b4c4d4e4f4 white knightg4h44
3a3b3c3 white knightd3 white knighte3f3 white knightg3 white knighth33
2a2b2c2 white knightd2e2f2g2h22
1a1b1c1d1e1f1g1h11
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.[6] 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
8a8b8c8d8e8f8g8h88
7a7b7 white kingc7d7e7 white kingf7g7h7 white king7
6a6b6 white kingc6d6e6 white kingf6g6h6 white king6
5a5b5c5d5e5f5g5h55
4a4b4c4d4e4f4g4h44
3a3b3 white kingc3d3e3 white kingf3g3h3 white king3
2a2b2 white kingc2d2e2 white kingf2g2h2 white king2
1a1b1c1d1e1f1g1h11
abcdefgh
12 kings attack all squares
abcdefgh
8a8b8c8d8e8f8g8 white queenh88
7a7b7c7d7e7f7g7h77
6a6b6c6d6e6 white queenf6g6h66
5a5b5c5d5 white queene5f5g5h55
4a4b4c4 white queend4e4f4g4h44
3a3b3c3d3e3f3g3h33
2a2 white queenb2c2d2e2f2g2h22
1a1b1c1d1e1f1g1h11
abcdefgh
5 queens attack all squares
abcdefgh
8a8b8c8d8e8f8g8h88
7a7b7c7d7e7f7g7h77
6a6b6 white bishopc6d6 white bishope6 white bishopf6g6 white bishoph66
5a5b5c5d5e5f5g5h55
4a4b4c4 white bishopd4 white bishope4 white bishopf4 white bishopg4h44
3a3b3c3d3e3f3g3h33
2a2b2c2 white bishopd2e2f2 white bishopg2h22
1a1b1c1d1e1f1g1h11
abcdefgh
10 bishops attacking all squares
abcdefgh
8a8b8c8d8e8f8g8h88
7a7b7c7 white knightd7e7 white knightf7 white knightg7h77
6a6b6c6 white knightd6e6 white knightf6g6h66
5a5b5c5 white knightd5e5f5g5 white knighth55
4a4b4c4 white knightd4e4 white knightf4g4h44
3a3b3 white knightc3 white knightd3e3 white knightf3 white knightg3 white knighth33
2a2b2c2d2e2f2g2h22
1a1b1c1d1e1f1g1h11
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.[7]

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.[8]

Chess swap problems

[edit]

In chess swap problems, the whites pieces swap with the black pieces.[9] 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. ^ MacKinnon, David. "Chessdom". GitHub. Retrieved October 20, 2024.
  3. ^ "Independent Pieces tour!". Lichess. Retrieved 9 July 2022.
  4. ^ "mathrecreation: Mathematical Chessboard Puzzles". mathrecreation. Retrieved 9 July 2022.
  5. ^ Gik, p.98
  6. ^ Gik, p.101.
  7. ^ 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
  8. ^ Gik, p. 87
  9. ^ "Knight swap puzzle - Chess Forums".

References

[edit]
[edit]