Chickens and hares

There were chickens and hares in the yard. Together they had 22 heads and 54 legs. How many hens were there in the yard?

Correct answer:

s =  17
z =  5

Step-by-step explanation:


s+z = 22
2s+4z=54

s+z = 22
2·s+4·z=54

s+z = 22
2s+4z = 54

Pivot: Row 1 ↔ Row 2
2s+4z = 54
s+z = 22

Row 2 - 1/2 · Row 1 → Row 2
2s+4z = 54
-z = -5


z = -5/-1 = 5
s = 54-4z/2 = 54-4 · 5/2 = 17

s = 17
z = 5

Our linear equations calculator calculates it.



Did you find an error or inaccuracy? Feel free to write us. Thank you!







Tips for related online calculators
Do you have a linear equation or system of equations and are looking for its solution? Or do you have a quadratic equation?

You need to know the following knowledge to solve this word math problem:

Related math problems and questions: