Chess PNC
Chess PNC
Interactive game:
Solution:
Player B has a winning strategy by keeping the rook on the diagonal.
2. A knight starts randomly moving from a1, and after n moves returns to
a1. Prove that n is even.
Solution:
Since there are 64 squares on the board, a knight would need 63 moves to
get from a1 to h8 by visiting each square exactly once. However, based on the
chameleon property, after 63 moves it has to be on a white square, while h8 is
a black square, therefore, such path is impossible.
4. Find the maximum number of specic chess pieces you can place on a
chessboard such that none of them is under attack. Solve it for:
a) rooks
b) queens
c) bishops
d) kings
1
e) knights
In this class we will discuss solutions for a and e. Whoever is interested, try
solving b,c and d using similar approach. We can go over those later if there is
any interest.
For these problems rst we need to nd a cap, then need to show an example
of a conguration using that number.
Note that in those problems the requirement is to keep under attack only
empty squares; if there is a piece on it, then it doesn't have to be attacked.
There are versions of those problems with that extra requirement as well.
2
In this class we will discuss b and e (a, c and d to think about at home).
3
8!. In combinatorics terms, this is equivalent to number of permutations of a
set with 8 elements.
Many board problems are related to tiling and coloring. Domino tiles are
pretty common:
9. Corners a1 and h8 have been removed from a chessboard. Can you cover
the rest with 1 × 2 dominoes?
Solution:
Here we use an approach similar to problems related to knight movements.
Here an important property of a domino is that it covers 1 white square and
1 black square. This is also a version of invariance principle (the dierence
between white and black cells remains constant). Note that by removing a1
and h8, we're left with 30 black squares and 32 white squares. Therefore, the
4
board cannot be covered with dominoes, because dominoes can cover only equal
amount of black and white squares.
10. Two arbitrary squares of dierent colors (i.e. 1 black square and 1 white
square) have been removed from a chessboard. Prove that the rest of the board
can always be covered with 1 × 2 dominoes.
Solution:
Below is an elegant proof by Ralph E. Gomory. Consider the following closed
path on a chessboard (the green lines):
If two squares of dierent colors have been removed, then we can travel from
the rst removed square to the second one in two directions, and each path will
contain even number of squares, thus they can be covered with dominoes, and
as a result the full board will be covered.
5
Solution:
Although there is an equal number of black and white squares on the board,
the answer is still no. Consider the rst two black squares of top three rows (6
squares total). We need at least 6 dominoes to cover these. However, note that
combined they have only 5 dierent neighbor squares. Thus, those 6 dominoes
would have to overlap, meaning the tilling is impossible.
In general, if on a board we can nd k squares of one color with less than
k total neighbors, then the board cannot be covered with dominoes. The proof
follows from the Pigeonhole principle.
It turns out the opposite is also true: any board or region that cannot be
tiled with dominoes contains k cells of one color with fewer than k neighbors
(proof by Philip Hall; this is a special case of marriage theorem). Thus, in order
to show that a domino tiling is impossible for a given board, we can try looking
for such cells.
Take-home problem:
12. Corner a1 has been removed from the chessboard. Can you tile the rest
with 1 × 3 "trominoes"?
Now let's consider tiling boards of rectangular shape with other rectangles.
13. Is it possible to tile2 :
a) 7 × 10 board with 2 × 3 rectangles
b) 17 × 28 board with 4 × 7 rectangles
c) 10 × 15 board with 1 × 6 rectangles
Solution:
a) There are 70 squares on the board, while each rectangle covers 6 squares,
so clearly the covering is impossible.
b) Note that the previous argument doesn't apply here. We use a dierent
approach: consider the rst row of board; it contains 17 squares. Each 4 × 7
rectangle can cover either 4 or 7 of those. However, 17 cannot be written as a
sum of fours and sevens. Therefore, even the rst row cannot be covered, which
makes the board covering impossible.
6
c) Here the previous two arguments don't work anymore. It turns out that
tiling is still impossible, because neither 10 nor 15 is divisible by 6. This follows
from a theorem by de Bruijn and Klarner (and so do parts a and b):
An m × n board can be tiled with a × b rectangles if and only if:
• mn is divisible by ab
• both m and n can be written as ax + by where x and y are non-negative
integers
• either m or n is divisible by a, and either m or n is divisible by b
Solution:
As noted in some of the chess problems (e.g. 4e), it is often useful to solve
a board problem for smaller regions rst. In fact, this problem can be solved
using mathematical induction for any board with dimensions 2n ×2n (for regular
chessboard, n = 3).
- if n = 1, then we have a 2 × 2 board, and the solution is trivial
- assume the statement is true for n = k, i.e. it is possible to cover a 2k × 2k
board by removing any square. Consider a 2k+1 × 2k+1 board. By cutting it
through the middle vertically and horizontally, we get four 2k ×2k boards. When
we remove a square from the original board, it has to be in one of those smaller
boards. Based on the induction hypothesis, that board can be covered with
angled trominoes. For the remaining 3 subregions, note that you can place a
tromino on the center of the original board such that it covers 1 corner from each
of those 3 subregions. That gives us another 3 boards with 1 square missing.
Those can also be covered based on the induction hypothesis, hence the original
board can be covered too.
Below are several chessboard related problems from various AMC stages,
leading to IMO3 . Note that there is a jump in diculty level; USAMO and
IMO are generally harder than earlier stages of AMC, and there is more time
allocated for each problem.
Easy:
15. From 2009 AMC 8:
On a regular chess board, what is the probability that a randomly chosen
unit square does not touch the outer edge of the board?
16. From 2012 AMC 10A:
How many black squares are on a 31 × 31 chessboard?
7
Hard:
17. From 1998 USAMO:
Consider a 98 × 98 chessboard on a computer screen. One can select with a
mouse any rectangle with sides on the lines of the chessboard, and switch the
colors in the selected rectangle (black becomes white, white becomes white).
Find, with proof, the minimum number of mouse clicks needed to make the
chessboard all one color.
18. From 1976 USAMO:
a) Suppose that each square of a 4 × 7 chessboard is colored either black or
white. Prove that with any such coloring, the board must contain a rectangle
whose four distinct unit corner squares are all of the same color.
b) Show that the above statement is false for a 4 × 6 chessboard, i.e. it can
be colored in a way that the four corner squares of every rectangle are not all
of the same color.
19. From 2014 IMO:
Consider an n × n chessboard, where n ≥ 2. A conguration of n rooks is
called peaceful if every row and every column contains exactly one rook. Find
the greatest positive integer k such that, for each peaceful conguration of n
rooks, there is a k × k square which does not contain a rook.
References
[1], [2]: Federico Ardila, Richard P. Stanley: Tilings
[3] artofproblemsolving.com
Literature
Evgeny Gik. Math and Chess