There are multiple chickens and rabbits in a cage.
There are heads and feet inside the cage.
How many chickens and rabbits are in there?
Step -1: Model the given situation as a pair of linear equations:
Let there be chickens and rabbits in the cage.
Since each chicken has one head, chickens have heads.
Similarly, since each rabbit has one head, rabbits have heads.
Thus the total number of heads in the cage will be .
It is given that the number of heads in the cage is .
Thus, .
Since each chicken has feet, chickens have feet.
Similarly, since each rabbit has feet, rabbits have feet.
Thus the total number of feet in the cage will be .
It is given that the number of feet in the cage is .
Thus, .
Step- 2: Prepare to solve the pair of linear equations:
The equations , and form a pair of linear equations in two variables.
Solve these by simultaneously using the substitution method.
Isolate from the equation :
Step 3. Determine the number of chickens:
Substitute in and then solve for :
Thus, the number of chickens in the cage is .
Step- 4: Determine the number of rabbits.
Substitute, in the equation and solve for :
Thus, the number of rabbits in the cage is .
Hence, there are chickens and rabbits in the cage.