SOLUTION: I have to spend $100 to buy 100 animal dog cost $10 cat cost $3 mice cost $.50 I have to use at least one of each. How much animal of each I will need to equal $100

Algebra ->  Coordinate Systems and Linear Equations  -> Linear Equations and Systems Word Problems -> SOLUTION: I have to spend $100 to buy 100 animal dog cost $10 cat cost $3 mice cost $.50 I have to use at least one of each. How much animal of each I will need to equal $100      Log On


   



Question 1109307: I have to spend $100 to buy 100 animal dog cost $10 cat cost $3 mice cost $.50 I have to use at least one of each. How much animal of each I will need to equal $100
Found 2 solutions by josmiceli, greenestamps:
Answer by josmiceli(19441) About Me  (Show Source):
You can put this solution on YOUR website!
Let+a+ = number of dogs
Let +b+ = number of cats
Let +c+ = number of mice
-----------------------------
+a+%2B+b+%2B+c+=+100+
+10a+%2B+3b+%2B+.5c+=+100+
-----------------------------
options:
a = 9
b = 3
c = 2
----------
a = 9
b = 1
c = 14
----------
a = 8
b = 6
c = 4
----------
a = 8
b = 1
c = 34
-----------
a = 7
b = 9
c = 6
-----------
a = 7
b = 1
c = 54
-----------
a = 6
b = 13
c = 2
-----------
a = 6
b = 1
c = 74
------------
a = 5
b = 1
c = 94
------------
By trial and error, it looks like this is the answer
5 dogs
1 cat
94 mice
---------------
Their may be other answers, also.
I couldn't use equations to solve because there
are 3 unknowns and only 2 equations

Answer by greenestamps(13200) About Me  (Show Source):
You can put this solution on YOUR website!


(1) a%2Bb%2Bc+=+100 the total number of dogs, cats, and mice is 100
(2) 10a%2B3b%2B.5c+=+100 the total cost of the dogs ($10 each), cats ($3 each), and mice ($.50 each) is $100

How to solve a problem like this:
.. eliminate one variable to give you one equation in two variables.
.. solve that equation for either variable in terms of the other.
.. use the fact that the variables must have whole number values to find the solution(s)

The way this problem is stated, there should only be one answer. In similar problems, there might be several solutions.

Multiply equation (2) by 2 and subtract equation (1) from the result, eliminating variable c:
(2) 20a%2B6b%2Bc+=+200
(1) a%2Bb%2Bc+=+100
(3) 19a%2B5b+=+100

A little logical analysis at this point can find the answer. So let's do that; but then I will show you the formal algebraic way to finish the problem -- so you can apply the method the next time you see a problem like this.

In equation 3, "5b" is a multiple of 5, because b is a whole number; and 100 is also a multiple of 5. That means "19a" must be a multiple of 5, with a being a whole number. Since 19 is a prime number, that means a must be a multiple of 5. And with the two equations we started with, it is clear that a must be 5.

So a=5; equation (3) then tells us that b is 1; and then equation (1) tells us c is 94.

Answer: 5 dogs, 1 cat, 94 mice.

And here is the formal algebraic method for finishing the problem, starting with equation (3).

19a%2B5b+=+100
5b+=+100-19a
5b+=+%28100-20a%29%2Ba [do this so that (100-20a) is evenly divisible by 5]
b+=+%2820-4a%29%2B%28a%2F5%29

In this form of the equation, b and a are whole numbers, so (20-4a) is a whole number; that means (a/5) must be a whole number.

So, as with the logical reasoning we used above, we see that a must be a multiple of 5. And, as before, the conditions of the problem only allow one choice for the value of a: a=5.

And once again (of course), the solution is 5 dogs, 1 cat, and 94 mice.