How many chickens and rabbits are in the yard if you have 18 heads and 58 feet

chickens have 2 feet. Rabbit have 4. They both each have 1 head. Let x be chickens and y be rabbits.

2(x + y = 18)

2x + 4y = 58

The subtract the equations from each other.

2x + 4y = 58
2x + 2y = 36
-------------
2y = 22
y = 11 so x = 7

To find the number of chickens and rabbits, we need to use the information about the total number of heads and feet.

Let's assume that chickens have 1 head and 2 feet, while rabbits have 1 head and 4 feet.

We have 18 heads in total, so the maximum number of animals is 18.

Suppose we have x chickens, then the number of rabbits would be (18 - x).

Each chicken contributes 2 feet, so the total number of chicken feet would be 2x.

Each rabbit contributes 4 feet, so the total number of rabbit feet would be 4(18 - x).

As given, the total number of feet is 58, so we have the equation:

2x + 4(18 - x) = 58

Let's solve this equation step by step:

2x + 72 - 4x = 58

-2x = -14

x = 7

Therefore, you have 7 chickens and (18 - 7) = 11 rabbits in the yard.