PART IX — PATTERNS, LOGIC & OLYMPIAD MATHEMATICS
Pólya’s Four Steps, Working Backwards, Tables and Guess-and-Check, Simpler Cases, Pigeonhole, Parity and Invariants, Colouring, Induction and Symmetry
1. Follow Pólya’s four steps for any problem.
2. Work backwards from the answer.
3. Organise information in tables and lists.
4. Use guess-and-check intelligently.
5. Solve a simpler case and generalise.
6. Apply the pigeonhole principle.
7. Use parity (odd and even) arguments.
8. Find invariants.
9. Use colouring arguments.
10. Prove statements by mathematical induction.
97.1 Pólya’s Four Steps
| PÓLYA | understand → plan → carry out → look back |
Step 1: UNDERSTAND: What is given? What is asked? Draw a figure; introduce notation.
Step 2: PLAN: Have you seen a similar problem? Which strategy fits?
Step 3: CARRY OUT the plan carefully, checking each step.
Step 4: LOOK BACK: Check the answer. Can you solve it another way? Can you generalise?
97.2 A Toolbox of Strategies
| Strategy | When to use it | Classic example |
|---|---|---|
| Work backwards | the end result is known | "Double, add 7, divide by 3, get 9" → start |
was 10
| Table / list | many cases or combinations | chickens and cows by heads and legs |
| Simpler case | a big or general problem | squares on a chessboard: try 2 × 2, 3 × 3 |
first
| Pigeonhole | "at least" guarantees | socks of two colours: 3 socks give a pair |
| Parity | odd/even structure | the number of people with an odd number of |
handshakes is even
| Invariant | repeated operations | a quantity that never changes decides the |
final state
| Colouring | tiling and board problems | the mutilated chessboard |
| Induction | statements for all n | 1 + 3 + … + (2n − 1) = n² |
| Symmetry / pairing | sums and balanced figures | Gauss’s 1 + 2 + … + 100 |
★ Maths Tip: When stuck, write down everything you know, try small numbers, and draw a picture. Many olympiad problems become easy after the first special case is understood.
WORKED EXAMPLES
Section A: Easy Problems
Problem 1: I think of a number, double it, add 7, divide by 3 and get 9. What was it?
✔ Solution
Work backwards: 9 × 3 = 27; 27 − 7 = 20; 20 ÷ 2 = 10.
Problem 2: A drawer has 10 black and 10 white socks. How many must you take (in the dark) to be sure of a pair?
✔ Solution
3 — with only two colours, three socks include two of the same colour.
Problem 3: 20 heads and 56 legs among chickens and cows. How many of each?
✔ Solution
If all were chickens: 40 legs; 16 extra legs ÷ 2 = 8 cows; 12 chickens.
Problem 4: A snail climbs 3 m each day and slips 2 m each night in a 10 m well. When does it
get out?
✔ Solution
After 7 days it is at 7 m; on day 8 it climbs to 10 m → day 8.
Problem 5: How many squares (of all sizes) are on a chessboard?
✔ Solution
1² + 2² + … + 8² = 204.
Problem 6: Ten people each shake hands with everyone else once. How many handshakes?
✔ Solution
45.
Section B: Medium Problems
Problem 7: Prove that in any group, the number of people who shook an odd number of hands is even.
✔ Solution
Adding everyone’s handshake counts counts each handshake twice, so the total is even. An even total needs an even number of odd terms.
Problem 8: The numbers 1 to 10 are written on a board. Repeatedly erase two numbers a, b and write |a − b|. Is the last number odd or even?
✔ Solution
The sum 55 is odd. Replacing a, b by |a − b| changes the sum by an even amount (2 × the smaller), so parity is invariant. The last number is odd.
Problem 9: Two opposite corners of a chessboard are removed. Can the remaining 62 squares be covered by 31 dominoes?
✔ Solution
Colour the board: the removed corners have the same colour, leaving 30 of one colour and 32 of the other. Each domino covers one of each, so it is impossible.
Problem 10: Prove by induction that 1 + 3 + 5 + … + (2n − 1) = n².
✔ Solution
| n = 1: 1 = 1² . If true for n, adding (2n + 1) gives n² + 2n + 1 = (n + 1)² . So true for all n.✓ | ✓ |
Problem 11: Among 13 people, must two have birthdays in the same month?
✔ Solution
Yes — 13 people, 12 months (pigeonhole).
Problem 12: How many rectangles are on a chessboard?
✔ Solution
Choose 2 of 9 vertical and 2 of 9 horizontal lines: 36 × 36 = 1,296.
Section C: Challenge Problems
Challenge Problem 13: Show that among any 5 integers, some 3 have a sum divisible by 3.
✔ Solution
Remainders mod 3 are 0, 1, 2. If all three remainders occur, take one of each (sum ≡ 0). Otherwise only two remainders occur among 5 numbers, so one occurs at least 3 times; three equal
remainders sum to a multiple of 3.
Challenge Problem 14: In how many ways can you climb 10 stairs taking 1 or 2 steps at a time?
✔ Solution
Ways(n) = Ways(n − 1) + Ways(n − 2), with Ways(1) = 1, Ways(2) = 2 → Fibonacci: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89. Answer 89.
Challenge Problem 15: Find all two-digit numbers equal to the sum of their digits plus the product of their digits.
✔ Solution
10a + b = a + b + ab → 9a = ab → b = 9: 19, 29, …, 99 — nine numbers.
Challenge Problem 16: Can a 5 × 5 board be covered by 1 × 2 dominoes?
✔ Solution
No: 25 squares is odd, and each domino covers 2.
OLYMPIAD CORNER
Olympiad Problem O-1: Prove that √2 is irrational (look back at Chapter 29) and explain which strategy the proof uses.
✔ Solution
Proof by contradiction: assuming √2 = p/q in lowest terms leads to both p and q being even. This is the "extremal" idea — a fraction in lowest terms cannot have a common factor.
Olympiad Problem O-2: The integers 1 to 20 are on a board. Repeatedly replace two numbers a and b by a + b − 1. What is the final number?
✔ Solution
Each step reduces the sum by 1 and the count by 1. After 19 steps the sum is 210 − 19 = 191, the final number.
Olympiad Problem O-3: Find a strategy to win: two players take 1, 2 or 3 matches from a pile of 21; whoever takes the last match wins.
✔ Solution
Always leave a multiple of 4. From 21, take 1 (leaving 20); then whatever the opponent takes (k), take 4 − k. You take the last match.
BRAIN TEASERS
Brain Teaser 1
A bat and a ball cost Rs.110; the bat costs Rs.100 more than the ball. Price of the ball?
Answer: Rs.5 (not Rs.10).
Brain Teaser 2
How many times can you fold a sheet in half?
Answer: In practice about 7 — the thickness doubles each time.
Brain Teaser 3
What is half of two plus two?
Answer: 3 (half of two is 1; plus two is 3).
George Pólya’s book "How to Solve It" (1945) has guided generations of problem solvers. India competes every year in the International Mathematical Olympiad; selection runs through PRMO, RMO and INMO.
Ramanujan believed that "an equation means nothing unless it expresses a thought of God" — and he filled notebooks with patterns before proving them.
1. Understand, plan, carry out, look back.
2. Work backwards when the end is known.
3. Pigeonhole for guarantees; parity and invariants for repeated operations.
4. Colouring for tilings; induction for "for all n".
PRACTICE EXERCISE 97.A — Easy
1. Number × 3 − 5 = 25: the number
2. Socks of 3 colours: draws to guarantee a pair
3. 30 heads, 84 legs (chickens and goats)
4. Squares on a 4 × 4 board
5. Snail: 20 m well, up 5 m, down 3 m
6. Handshakes among 8 people
PRACTICE EXERCISE 97.B — Medium
1. Prove 2 + 4 + … + 2n = n(n + 1) by induction
2. 13 people and birth months: guarantee?
3. Opposite corners removed from a 6 × 6 board: domino tiling?
4. 1 to 20, replace a, b by a + b − 1: final number
5. Rectangles on a chessboard
6. Two-digit numbers equal to digit sum plus digit product
PRACTICE EXERCISE 97.C — Challenge
1. Among any 5 integers, 3 have a sum divisible by 3: prove
2. Prove n² + n is always even
3. Ways to climb 10 stairs with steps of 1 or 2
4. Can a 5 × 5 board be tiled by dominoes?
ANSWER KEY — CHAPTER 97
Exercise 97.A
1. 10 2. 4 3. 18 chickens, 12 goats 4. 30 5. Day 9 6. 28
Exercise 97.B
1. True for n = 1; adding 2(n + 1) gives (n + 1)(n + 2) 2. Two share a month 3. No (colouring) 4. 191
5. 1,296 6. 19, 29, …, 99
Exercise 97.C (notes)
1. See Example 13 2. n(n + 1) is a product of consecutive integers 3. 89 4. No
CHAPTER 97 — NEW TERMS FOR GLOSSARY
| Term | Definition |
|---|---|
| Pigeonhole Principle | If more than n objects go into n boxes, some box holds at least two. |
| Parity | Whether a number is odd or even. |
| Invariant | A quantity that does not change under an operation. |
| Mathematical Induction | Proving a base case and a step from n to n + 1. |