Imagine a cage containing bunnies and birds, with 16 heads and 38 feet in total. How many of each animal are there?
This classic puzzle can be solved with a simple system of equations. Let b represent the number of bunnies and d the number of birds (or doves).
Because each animal has one head:
b + d = 16
Bunnies have four feet and birds have two:
4b + 2d = 38
Solving these equations simultaneously reveals that there are 3 bunnies and 13 birds.
This type of problem illustrates how algebra can model real-world scenarios, using heads to count animals and feet to distinguish between species with different numbers of legs.