T

Logic and Casework

Maths · Year 9
Year 9
Lesson Guide
Explanation
On this island knights always tell the truth and knaves always lie. A says B is a knave. B says we are the same type. Try each case. Suppose A is a knight. Then A tells the truth, so B is a knave. They are different types, so B's statement is false, and that is fine because knaves lie. Now suppose A is a knave. Then A's statement is false, so B is a knight. They are still different types, so B's statement is false, but a knight cannot say something false. That case fails. Only one case survives: A is a knight and B is a knave. Always test every case, because a puzzle with one answer has exactly one survivor.
Your Turn
A says, “At least one of us is a knave.” What are A and B? Check: if A were a knave, the statement would be true, a clash; so A is a knight, the statement is true, and B is a knave.
Watch Out
Finding one case that works is not enough. Test every case; if two survive, you have missed a clue, and if none survive, you have made an error.
Explanation
Ordering puzzles fall apart once you find the clue that pins someone down. Here, ask who can finish last. Not Amy, by clue one. Not Ben, because Cal finished right after him. Not Dee, because she beat Ben. So Cal is last, which puts Ben third. Amy was not first, so she is second, and Dee is first. Check every clue against Dee, Amy, Ben, Cal and they all hold.
Your Turn
Four cars: Red finished ahead of Blue, White finished directly behind Red, and Green was last. Check: Red 1st, White 2nd, Blue 3rd, Green 4th.
Watch Out
"Directly after" means the very next place; "ahead of" means anywhere in front. Mixing them up gives several orders instead of one.
Explanation
When a question asks how many ways, choose one thing to split on and count each case. For three-digit numbers whose digits add to five, split on the hundreds digit, which can be one to five but not zero. If it is one, the other two digits add to four: zero four, one three, two two, three one, four zero, five ways. If it is two, they add to three, four ways. Then three ways, two ways, and one way. The cases do not overlap and they cover everything, so the total is fifteen.
Your Turn
How many ways can you make 25c from 5c and 10c coins? Check: split on the number of 10c coins: 0, 1 or 2, and 5c coins fill the rest, so 3 ways.
Watch Out
The cases must not overlap and must cover everything. Splitting on one choice, in order, makes both easy to check.
Explanation
If you put more objects than boxes, some box gets two. That is the pigeonhole principle. It answers questions like how many socks must you take in the dark to be sure of a pair. Imagine the unluckiest draw: one red, one blue, one black, no pair yet. The fourth sock must match one of them, so four is enough. To be sure of two blue socks, the unluckiest draw is every red and every black first, fourteen socks, then you still need two blue, so sixteen. Always build the worst case, then add what you need.
Your Turn
How many people must be in a room to be sure two were born on the same day of the week? Check: 7 days are the boxes, so 7 + 1 = 8 people.
Watch Out
The worst case uses up every colour you do NOT want first. To be sure of 2 blue, you must allow for all 14 red and black socks.
Explanation
When you know the end and the steps, work backwards. At each shop you spend half your money plus two dollars, and after three shops you have one dollar. Leaving a shop with one dollar means that half your money, minus two, was one dollar, so you had one plus two, doubled, which is six. Undo the next shop: six plus two, doubled, is sixteen. Undo the first: sixteen plus two, doubled, is thirty-six. Check forwards: thirty-six, spend twenty, leaves sixteen; spend ten, leaves six; spend five, leaves one. Quiz and exercises now.
Your Turn
I think of a number, multiply it by 3 and subtract 4. The answer is 26. Check: 26 + 4 = 30 and 30 ÷ 3 = 10.
Watch Out
Undo the LAST step first. "Spend half, then $2 more" is undone by adding 2 first, then doubling.
📌 Key Points — this lesson in a nutshell
  • Knights and knaves: assume one case (say, A is a knight), follow every statement, and look for a clash. Check every case: the answer is the one that survives.
  • Ordering clues: start with the clue that pins down the most, often "who can be last?" or a fixed gap.
  • Casework: split on one key choice (the first digit, the number of big coins), count each case, then add. Cases must not overlap.
  • Pigeonhole: n + 1 objects in n boxes puts 2 in one box. For "how many to guarantee", build the worst case, then add 1.
  • Working backwards: undo the steps in reverse order with the inverse operation, then check forwards.
Step 1: Introduction
Step 1 of 5
A: “B is a knave.” B: “We are the same type.” caseA’s statementB’s statementresultA is a knighttrue, so B is a knavefalse, and B lies ✓worksA is a knavefalse, so B is a knightfalse, but B must be truthful ✗fails Knights always tell the truth. Knaves always lie.Only one case survives: A is a knight and B is a knave.Method: assume a case, follow every statement, look for a clash.
Four runners: who finished where? Clue 1: Amy was not first or last. Clue 2: Cal finished directly after Ben. Clue 3: Dee finished ahead of Ben. 1last? not Amy, Ben or Dee (clues 1-3)Cal is 4th2Cal is directly after BenBen is 3rd3Amy is not 1stAmy 2nd, Dee 1st 1stDee2ndAmy3rdBen4thCal
3-digit numbers whose digits add to 5 hundreds digittens + units must beways145234323412501 Split on ONE choice: the hundreds digit, which cannot be 0.Tens + units = 4 can be 04, 13, 22, 31, 40: 5 ways.Total 5 + 4 + 3 + 2 + 1 = 15.
A drawer: 5 red, 7 blue, 9 black socks 1sure of a pair: worst case is one of each3 socks2the next sock must match one3 + 1 = 43sure of 2 blue: all red and black first5 + 9 = 144then 2 blue14 + 2 = 16 Pigeonhole: n + 1 objects in n boxes puts 2 in one box.Guarantee questions: build the WORST case, then add.Whatever is the unluckiest draw, your number must still work.
Spend half your money + $2 at each of 3 shops; $1 left forwards (check) $36shop 1$16shop 2$6shop 3$1 backwards: add 2, then double $1+2, ×2$6+2, ×2$16+2, ×2$36 Undo in reverse order with the inverse operation.Spent half + 2, so before = (after + 2) × 2.Start with $36. Quiz and exercises now.
Was this lesson helpful? Rate this Course
Discussion
Loading comments...