SOLUTION: you have 20 dollars. you have to buy roosters, hens and chicks. roosters cost $3.00 a piece, $1.00 for hens, and $0.50 for chicks. you must buy 20 heads. how many for each? i ha

Algebra.Com
Question 253759: you have 20 dollars. you have to buy roosters, hens and chicks. roosters cost $3.00 a piece, $1.00 for hens, and $0.50 for chicks. you must buy 20 heads. how many for each?
i have 3 unknowns in here but i only can think of 2 equations:
20 = x+y+z
20 = 3x+y+0.5z
please help me solve this problem
thanks
adrian

Answer by Edwin McCravy(20056)   (Show Source): You can put this solution on YOUR website!



This is called an "over-determined system,
so there are likely more than one solution.

Eliminate y and get

4x = z

Eliminate x and get



4y = 80-5z

4y = 80-(4+1)z

4y = 80-4z-z

Divide through by 4



Isolate the fraction:



The right side is an integer, so the right side is too

Let that intger be A

then  and 20-z-y = A

z = 4A

Substitute in

4y = 80-5z

4y = 80-5(4A)

4y = 80-20A

y = 20-5A
 
Substitute that and z = 4A in

20 = x+y+z

20 = x+(20-5A)+4A
20 = x+20-5A+4A
20 = x+20-A
-x = -A
 x = A

So we have



All must be > 0

so



Solving the first and third give A > 0

Solving the second one:

20-5A > 0
  -5A > -20

Divide both sides by -5 reverses the inequality

    A < 4

0 < A < 4
  
So A is in the set {1, 2, 3}



with A=1 becomes



with A=2 



with A=3



The problem has 3 solutions.

Edwin

RELATED QUESTIONS

Brando bought 20 chicken for P200.00. The cocks cost P30.00 each, hens P15.00 each, and... (answered by josgarithmetic)
I am having a problem setting up this word problem. Can someone please help me structure... (answered by ilana)
Heres the question: A farmer wants to buy 100 animals for $100.00 (must buy at least one (answered by Earlsdon,Soxxie95,ikleyn)
It costs $5 for a cock,$3 for a hen and $1 for three chickens.By using $100 to buy 100... (answered by ankor@dixie-net.com)
Horatio, a local farmer and part time magician, wants to create a rectangular compound... (answered by ankor@dixie-net.com)
If you have 23 heads and 72 total legs, How many cows and roosters do you have? I have... (answered by josgarithmetic,ikleyn)
In a barnyard, 12% of the chickens are roosters, and 41% of the hens are black. If one... (answered by macston)
A farmer buys 100 animals at a cost a total of $100. He buys hens for $0.50, pigs for... (answered by khwang)
Direction: Solve the following problems using inverse function. Show your solution. 1. (answered by ikleyn)