Get started
The lesson

Maths olympiad lesson: invariants and colouring, what never changes and why

Name: ____________________ Date: ____________________

Show your working, and label any sketches.

Invariants and colouring: practice

Show your working. For 'impossible', give the invariant and why every move keeps it. For 'possible', give an example.

Diagnostic question: choose an answer and explain why

  1. A 5 by 5 board has one corner square cut off, leaving 24 squares. Can 12 dominoes cover it exactly?
    1. No: each row has 5 squares, an odd number, so no row can be filled
    2. Yes: 24 is even, and an even number of squares can always be tiled
    3. No: coloured like a chessboard, it has 13 of one colour and 11 of the other
    4. Yes: the colouring leaves 12 and 12, and a tiling can be drawn
    5. Yes: the colouring leaves 12 and 12, and that proves a tiling exists

Practice questions

  1. The numbers 1 to 9 add to ___. In the difference game, the last number left is always ___.
  2. A knight starts on a white square of a chessboard and makes 7 moves. Where is it now?
    1. On a white square
    2. On a black square
    3. Either: it depends on the moves
  3. A chessboard has two opposite corners cut off. How many squares of the corners' colour are left?
  4. Write 1 to 10. A move: rub out two numbers a and b, and write a + b + 1. After 9 moves one number is left. What is it?
  5. The row 6 5 4 3 2 1 is put in order by swapping neighbours that are out of order. How many swaps does it take?
  6. Why must the swapping in question 5 stop, whichever swaps you choose?
    1. Each swap lowers the number of out-of-order pairs by 1, and it can't go below 0
    2. There are only 720 orders of six numbers, so it runs out of them
    3. Each swap puts a number in its final place
  7. The numbers 1 to 2026 are on a board. A move: rub out two numbers and write either their sum or their difference. Prove that the last number left is odd.
  8. Stretch: an island has 10 red, 14 green and 21 blue chameleons. When two of different colours meet, both turn the third colour. Can they ever all be one colour? Prove it.
  9. Stretch: a chessboard has one corner square cut off. Can the 63 squares be covered by 21 straight 1 by 3 tiles? Prove your answer.

Support: For each problem: write what one move changes, then look for what it can't change: a total, its parity or remainder, a count of colours. For 'must it stop': find a whole number that falls each time.

Invariants: exit

A few lines: what never changes, why, and what it says about the end.

  1. Write 1 to 12. A move: rub out two numbers and write their difference. Can the last number left be 1? Prove your answer.

Invariants and colouring: proofs

For 'impossible', give the invariant and why every move keeps it. For 'possible', give an example.

1. Write 1 to 20 and play the difference game. Can the last number be 0? If so, show a game that does it.

2. A knight starts in one corner of a chessboard. Can it reach the opposite corner in exactly 7 moves? Why?

3. A 4 by 4 board has two opposite corners cut off. Prove that 7 dominoes can't cover it.

4. The row 4 1 3 2 5 is put in order by swapping neighbours that are out of order. How many swaps does it take? Why always the same?

5. Write 1 to 5. A move: rub out a and b, write ab + a + b. What is the last number? (Hint: what is ab + a + b + 1?)

6. Write 1 to 2025 and play the difference game. Prove the last number can't be 2.

7. Challenge: can a 6 by 6 board be covered by nine straight 1 by 4 tiles? (Hint: colour square (r, c) by the remainder of r + c on dividing by 4.)

An original teaching resource from SKRM Learn, free to use with your students.