Old McDonald raises chicken and sheep in his farm. His livestock has total of heads and legs among them (not counting of farmer). How many chickens and how many sheep does he have?
Step 1: Form the equations.
Let the number of chicken and sheep be and respectively.
Since each animal has one head, then the total number of heads of livestock in the farm is .
It is given that, the total number of heads is heads.
We know, that each chicken has legs and there are chickens.
So, total number of legs of chicken is .
Similarly, each sheep has legs and there are sheep.
So, total number of legs of sheep is .
Total number of legs of livestock is .
It is given that there are legs in farm.
Step 2: Solve the equations for .
Multiplying equation by and subtracting it from equation .
Step 3: Solve the equations for .
Putting in equation .
Hence, number of chicken and sheep are and respectively.