Chickens & Rabbits
Count the heads. Count the legs. Who is in the pen?
1 The puzzle
There are 8 animals in a pen. Some are chickens π. Some are rabbits π°. Together they have 22 legs. How many chickens? How many rabbits?
Right now they are all chickens. That is only 16 legs.
Tap a chicken to make it a rabbit. Tap again to change it back.
Can you get to 22 legs?
Heads 8
Legs 16 / 22
16 legs. We need 22.
Did you see it? When a chicken turns into a rabbit, there are still 8 animals. But you get 2 more legs. Remember this. It helps with every puzzle here!
2 Way 1: make a table
Start with no rabbits. Add one rabbit in each row. Watch the legs go up.
| π° Rabbits | π Chickens | Legs |
|---|
Each row has 2 more legs than the last one. A table always works. But it takes a long time with big numbers.
3 Way 2: share out the legs
Now pretend we can't see the animals. We have 8 heads and a pile of 22 legs. Let's give out the legs!
The quick way:
1. Pretend they are all chickens: 8 × 2 = 16 legs.
2. We need 22. That is 22 − 16 = 6 more legs.
3. A rabbit has 2 more legs than a chicken. 6 ÷ 2 = 3 rabbits.
4. The rest are chickens: 8 − 3 = 5 chickens.
Check it: 5 × 2 + 3 × 4 = 10 + 12 = 22 β
1. Pretend they are all chickens: 8 × 2 = 16 legs.
2. We need 22. That is 22 − 16 = 6 more legs.
3. A rabbit has 2 more legs than a chicken. 6 ÷ 2 = 3 rabbits.
4. The rest are chickens: 8 − 3 = 5 chickens.
Check it: 5 × 2 + 3 × 4 = 10 + 12 = 22 β
4 Your turn
5 For grown-ups
- Act it out first. Draw circles for heads and add 2 legs to each. Then add legs two at a time until the total matches. That is the tap pen above.
- Then the table, so they notice that each swap changes the legs by the same amount.
- Then the trick: pretend they are all one kind, find how far off you are, and divide by the difference between the two kinds. The hints in "Your turn" walk through exactly these steps.
- It is not only animals. Any time there are two kinds of thing, you know how many there are in total, and each kind is worth a different amount (legs, wheels, points, dollars), it is the same puzzle.
- Later, algebra: chickens c and rabbits r give c + r = 8 and 2c + 4r = 22. The trick above is exactly how you solve those two equations.
- A little history: this puzzle is about 1,500 years old. It is in an ancient Chinese maths book, the Sunzi Suanjing: 35 heads and 94 legs. In China it is called ιΈ‘ε εη¬Ό, "chickens and rabbits in one cage". You will find it in the Hard level.