14.2k views
19 votes
A farmer has a total of 23 pigs and chickens. The 23 animals have a total

of 60 legs. How many pigs and how many chickens does the farmer have?

1 Answer

8 votes

Answer:

7 pigs, 16 chickens

Explanation:

p= pigs, c= chickens, legs= 60, number of pigs & chickens= 23

System of Equations:

  • Equation 1:
    p+c=23 would be
    23-p=c
  • Equation 2:
    4p+2c=60 for the legs

Then, use substitution & solve:


  • 4p+2(23-p)=54\\4p+46-2p=54\\4p-2p=8\\2p=8\\p=7

Now, plug
p=7 back into
23-p=c to get c


  • 23-p=c\\23-7=c\\c=16

Answer: 7 pigs, 16 chickens or
p=7 and
c=16

  • To check your work, plug those solutions back into the system.

------

(I hope that helps & good luck! <3)

User Ngo
by
4.7k points