今有鸡、兔共居一笼,已知鸡头和兔头共35个,鸡脚和兔脚共94只。问鸡、兔各有多少只
- User
今有鸡、兔共居一笼,已知鸡头和兔头共35个,鸡脚和兔脚共94只。问鸡、兔各有多少只
- Assistant
To solve this problem, we can set up a system of equations based on the given information.
Let:
- ( x ) = number of chickens
- ( y ) = number of rabbits
From the problem, we have two pieces of information:
-
The total number of heads (since each animal has one head): [ x + y = 35 ]
-
The total number of feet (chickens have 2 feet, rabbits have 4 feet): [ 2x + 4y = 94 ]
We can simplify the second equation by dividing both sides by 2: [ x + 2y = 47 ]
Now we have the system: [ \begin{cases} x + y = 35 \ x + 2y = 47 \end{cases} ]
Subtract the first equation from the second: [ (x + 2y) - (x + y) = 47 - 35 \ x + 2y - x - y = 12 \ y = 12 ]
Now substitute ( y = 12 ) back into the first equation: [ x + 12 = 35 \ x = 23 ]
Answer: There are 23 chickens and 12 rabbits.