Emzini weCodeUmhlahlandlelaMathematics 1.8 · Thinking Like a Mathematician NoticesAll books

Chapter 1/1.8Accelerateabout 6 min

Colouring, invariants and the broken chessboard

Try this first

A 3 by 3 board has 9 squares. Explain in one sentence why it can never be covered exactly by dominoes, each covering 2 squares. Now remove one corner of the 3 by 3 board. Can the 8 squares that are left be covered?

The 3 by 3 board fails for a simple reason: each domino covers 2 squares, so any number of dominoes covers an even number of squares, and 9 is odd. With one corner removed, 8 squares are left, and you can cover them with 4 dominoes. Counting squares is a good first test. But it is not always enough, as the problem to live with shows.

Solving the broken chessboard. The broken chessboard has 62 squares, an even number, so counting does not rule it out. People who try it with real dominoes always get stuck with two squares left over that are not side by side. But no number of failed attempts proves it is impossible. Perhaps there is a clever arrangement that nobody has tried. We need a reason.

Look at the colours. A chessboard is coloured black and white in a chequered pattern. Two squares that are side by side, across or up and down, always have different colours. So every domino covers exactly one black square and one white square, wherever it is placed. That fact does not change: it is an invariant.

Now look at the two squares we removed. Opposite corners of a chessboard are always the same colour. On a standard board both of them are white. The full board has 32 white and 32 black squares. After removing two white squares, there are 30 white and 32 black squares left.

The broken chessboardTwo squares side by side always have different colours, so every domino coversone light and one dark square.1THE BOARD AND SOME DOMINOEScorner cut awaya light squarecorner cut awaya light squarea domino2LIGHT SQUARES32 − 2 = 30 left3DARK SQUARES32 left31 dominoes would need 31 light and 31 dark squares. Impossible.
Figure 1.7 Colouring settles the broken chessboard. The board has 30 light and 32 dark squares left.

Suppose 31 dominoes could cover the board. Each covers one black and one white square, so together they would cover exactly 31 white squares and 31 black squares. But the board has only 30 white squares and 32 black ones. That is a contradiction, so it is impossible. The 31 dominoes cannot cover the broken chessboard, however cleverly you arrange them.

Look back at what happened. We did not try every arrangement. There are far too many. Instead we found something that every arrangement must obey, and showed that the board cannot obey it. This is one of the most powerful ideas in mathematics: to prove that something is impossible, find an invariant that it breaks.

Going further

Removing different squares. What if you remove one white square and one black square, anywhere on the board? Then the colour count is 31 and 31, so the colouring argument says nothing. In fact the board can then always be covered by dominoes. This result is usually credited to the American mathematician Ralph Gomory. Its proof uses a clever path that snakes through every square of the board.

Worked example 1.15

A 6 by 6 board has two squares removed: the top left corner and the square just to its right. Can the remaining 34 squares be covered by 17 dominoes?

The two removed squares sit side by side, so one is white and one is black.
The colour count is 17 white and 17 black, so the colouring argument does not forbid it.
Now find a covering.
The top row has 4 squares left, which take 2 dominoes lying across.
The other 5 rows form a 5 by 6 block.
Each of these rows has 6 squares and takes 3 dominoes lying across.
That is 2 + 5 × 3 = 17 dominoes.
So yes, it can be done.

Now try one yourself

Common mistake

Thinking that a balanced colour count proves a covering exists. The colouring argument can only prove impossibility. When the counts balance, you still have to find an actual covering, or another argument.

Check your understanding 1.8

  1. A 5 by 5 board has 25 squares. Can it be covered by dominoes? Explain.
    Show answerHide answer
    No. Every set of dominoes covers an even number of squares, and 25 is odd.
  2. A 4 by 4 board has two opposite corners removed. Can the rest be covered by 7 dominoes? Explain.
    Show answerHide answer
    No. Opposite corners have the same colour, so removing them leaves 6 squares of that colour and 8 of the other. The 7 dominoes would cover 7 of each colour.
  3. An 8 by 8 board has the two squares at the left end of its top row removed. Explain why the colouring argument does not rule out a covering, and then describe a covering with 31 dominoes.
    Show answerHide answer
    The two removed squares are side by side, so one is black and one is white, leaving 31 of each colour. A covering: the top row has 6 squares left, which take 3 dominoes lying across. Each of the other 7 rows has 8 squares and takes 4 dominoes lying across. That is 3 + 28 = 31 dominoes.