Three of one colour
Worst case: two of each of 4 colours, 8 socks
One more sock makes three of a colour
So 4 × 2 + 1 = 9 socks, and 8 are not enough
Maths olympiad · 45 minutes
Able students guess how many socks make a pair certain, prove it, find the general rule on a graph, then learn the real skill: choosing the boxes, for remainders, sums and points in a square. It comes with slides, a vote that shows who's stuck, practice that climbs to olympiad proofs, and homework.
You can present and print it without signing in.
Free. The whole lesson is copied into your Library for you to change.
x socks are pulled in the dark from a drawer of k colours. Each step is how many socks of one colour you can be sure of. Start at k = 4: where does each new step begin? Move k, and find the rule.
At x = 1, 2, 3 …: 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4
If more than n things go into n boxes, some box gets at least two. More generally, if N things go into k boxes, some box gets at least N ÷ k, rounded up: they can't all be below the average. So 5 socks of 4 colours include a pair, and 9 include three of one colour. To be sure of r in one box takes k(r − 1) + 1 things, one more than the worst case of r − 1 in every box.
The principle is easy; the art is choosing the boxes. Remainders on dividing by n are boxes for numbers; pairs that add to the same total are boxes; small squares are boxes for points. The lesson starts with socks, guessed and then proved, finds the general rule on a graph, and spends most of its time choosing boxes in problems of the kind olympiads set, ending in short written proofs that the teacher marks.
Students should divide with a remainder, round up a division, and know Pythagoras' theorem. It suits able students aged about 12 to 16.
Next: Invariants and colouring.
45 minutes in total. The stretch is optional.
5 min 1 · Hook · students think
Students guess how many socks make a pair, then three the same, certain.
“A drawer holds red, blue, green and black socks, lots of each. The light is off. How many must you take to be sure of a pair? To be sure of three of one colour?”
Students who answer 2 are giving the luckiest case: ask what happens if the drawer is against you.
Two minutes of silent thinking, then a vote. The word to draw out is 'sure': not 'can', but 'must'.
Ask for the unluckiest draw of 4 socks: one of each colour. A fifth sock has to match one of them. That is the whole principle; the rest of the lesson is using it well.
Take a vote with Ask the class on the pair: 2, 4, 5 and 8 all come up. Ask someone who said 5 to play the drawer against someone who said 4. Leave three the same open: that is the lesson.
Shorter: Ask for the pair only, vote and settle it at once (−2 min).
12 min 2 · Explain · you explain
The principle and its general form, then boxes chosen for numbers and for points.
“If every colour had at most one sock, there would be at most four socks. We have five, so some colour has two. That argument is the pigeonhole principle.”
Rounding N ÷ k down: 9 socks in 4 colours give at least 3 of one, not 2. If every colour had at most 2, there would be at most 8.
Three of one colour
Worst case: two of each of 4 colours, 8 socks
One more sock makes three of a colour
So 4 × 2 + 1 = 9 socks, and 8 are not enough
Five points in a square
A square of side 2, cut into four 1 by 1 squares
5 points, 4 small squares: two share one
Two points in a 1 by 1 square: at most √2 apart
First slide: 5 socks, 4 colours. If each colour had at most one, there would be at most 4 socks. So some colour has two. In general: more than n things in n boxes, some box has two.
Second slide: the graph. x socks in k colours: the fullest colour has at least x ÷ k, rounded up, because if every box had fewer than the average, the total would be less than x. To be sure of r of one colour you need k(r − 1) + 1: one more than r − 1 in every box. Move k and read off where each step starts.
Third slide: choose the boxes. Any six whole numbers include two whose difference divides by 5: the boxes are the five remainders 0, 1, 2, 3, 4. Two numbers in one box have the same remainder, so their difference is a multiple of 5.
Fourth slide: points. Five points in a square of side 2: cut it into four 1 by 1 squares (the boxes), two points share one, and no two points in a 1 by 1 square are more than its diagonal, √2, apart. The boxes must cover the whole square, or a point could escape them.
Say it every time: what are the pigeons, what are the boxes, how many of each?
The graph's steps are the general form: x things in k boxes put at least x ÷ k, rounded up, in one box. Students should see each step starts one after a multiple of k. The diagonal check is the distance √2 (the negative root is the other side of the equation).
Shorter: Leave out the points slide; keep it for the practice (−4 min).
8 min 3 · Your turn · students write
Each worked example beside a twin that students solve themselves.
“Watch me name the pigeons and the boxes, then count. Then you do the twin. Finish with the worst case: why one fewer is not enough.”
Answers of 4 × 3 = 12 for three the same: students counting enough to have three of every colour.
How many to be sure
5 colours of sweets: how many for 3 of one colour?
Worst case: 2 of each, 5 × 2 = 10 sweets
So 11 make it certain
Then their turn
6 colours of beads: how many for 4 of one colour?
The fullest box
50 pupils: at least how many share a weekday birthday?
50 ÷ 7 = 7.14…, rounded up: 8
If every day had 7 or fewer, at most 49 pupils
Then their turn
100 marbles in 9 bags: at least how many in one bag?
Choose the boxes
Any 8 whole numbers: two differ by a multiple of 7
Boxes: the remainders 0 to 6 on dividing by 7
8 numbers, 7 boxes: two share a remainder
Then their turn
6 numbers chosen from 1 to 10: show two add to 11
Work the first example aloud: the worst case first, then one more. Students do the twin and must say why 18 beads are not enough.
The second pair is the rounded-up average, with the reason in a line. The third pair is the real skill: the boxes are not given, and choosing them is the proof.
Open the answers slide once most have finished. The third twin's boxes are the five pairs {1, 10}, {2, 9}, {3, 8}, {4, 7}, {5, 6}: each adds to 11, and six numbers put two in one pair.
Shorter: Do the first and third pairs only (−3 min).
15 min 4 · Who's stuck? · students vote
One question shows who's stuck; then practice from counting to olympiad proofs.
“Choose an answer on your own. Nobody talks until everyone has chosen.”
The luckiest case given as the answer; the +1 forgotten; three of every colour counted instead of three of one.
Show your working. For 'how many', give the worst case that shows one fewer is not enough. For proofs, name the pigeons and the boxes.
The question that shows who's stuck
Each wrong answer points to a different mistake. As they answer, your Classroom shows who chose what, so you can see in seconds who needs help, and with what.
Support · For any pigeonhole question: write 'pigeons:' and 'boxes:' first. For how many: build the worst case, then add one. For a proof: say why every pigeon has a box.
Everyone chooses before anyone explains. Then ask for each answer's reasoning: the best case, the forgotten one, the multiplied 4 × 3 all show here.
Questions 1–3 are counting; 4–6 choose boxes; 7 is a first written proof. 8 and 9 are olympiad level: boxes made of pairs, and boxes made of running totals.
Students write proofs on paper or the board; the quiz keeps their answers for you to mark and comment on.
If the class is split, play the worst case: a student pulls sweets, the class tries to avoid three of a colour. Long answers (7, 9) are marked by you: a mark for naming pigeons and boxes, one for the count, one for the conclusion. Model answers are in each question's explanation.
Shorter: After the vote, questions 1–5 only (−6 min).
Longer: Swap and mark: pairs mark each other's proof of question 7, then 9 (+10 min).
5 min 5 · Exit · students show
One proof with boxes students choose themselves shows who has the whole idea.
“Prove it in a few lines. Name the pigeons and the boxes.”
Boxes that are not the right size: three strips of 1 by 3 don't work, as two points in one can be √10 apart.
A few lines: name the pigeons, the boxes, and why two in one box are close.
Ten points are placed in a square of side 3.
Prove that two of them are at most √2 apart.
Answers that cut the square into nine pieces but don't say why two points in a piece are at most √2 apart have the trick but not the proof: start next time there. Set the homework.
Longer: Then ask: is √2 the best? Can ten points all be more than 1 apart? (+5 min).
One-to-one: let the student guess the socks first and play the worst case against you: you pull the socks, they try to avoid a pair. Ask for every proof 'what are the pigeons, what are the boxes?' before a word is written.
For each 'how many', give the worst case that shows one fewer is not enough. For each proof, say what the pigeons and the boxes are.
Print the worksheet, with space for working and the homework. The answers come with your copy in the Library.
If more things than boxes go into the boxes, some box gets at least two. In general, N things in k boxes put at least N ÷ k, rounded up, in one box. It proves that something must happen without saying where.
It suits able students aged about 12 to 16 preparing for maths challenges and olympiads, such as the UKMT Intermediate and Senior Mathematical Challenges and their follow-on rounds. The problems are our own, written in the style of such competitions, not taken from past papers.
Make them write two words before anything else: 'pigeons:' and 'boxes:'. Most stuck proofs are boxes not yet chosen. Then ask why every pigeon has a box, and why two in one box give the result. The long questions are marked by you in Quizzes, with a comment.
A 'how many to be sure' answer has two halves: that number is enough, and one fewer is not. The worst case shows the second half, and it is how students find the number in the first place.
Yes. You can read the lesson, print the worksheet and open its slides without signing in. Anything you draw on the slides isn't saved. With a free teacher account, you can keep the whole lesson in your Library to change and teach, including the quizzes, the answers and the answer slides.
Keep the whole lesson, change what you like, and use it with a group. Present its slides step by step while each student works on their own copy.
Free. The whole lesson is copied into your Library for you to change.
Written in our own words and free to use with your students. Not endorsed by any exam board.