Browse · MATH
Printjmc
algebra intermediate
Problem
I have a bag with blue marbles and yellow marbles in it. At the moment, the ratio of blue marbles to yellow marbles is 8:5. If I remove 12 blue marbles and add 21 yellow marbles, the ratio will be 1:3. How many blue marbles were in the bag before I removed some?
Solution
Let be the number of blue marbles and the number of yellow marbles before I added more. We are given that the ratio of blue to yellow is 8:5, so . Additionally, after we remove blue marbles and add yellow marbles the total number of blue marbles and yellow marbles will be and respectively. We're given that at this point the ratio will be , so . Cross multiplying the first equation gives and cross multiplying the second gives . Solving two linear equations on two variables is routine; we get the solution , . Since represents the number of blue marbles before some were removed, the answer to the problem is just .
Final answer
24