2. An ammonia and water mixture fills a 5 gallon container. 80% of the mixture is ammonia but some of the mixture will be drained and replaced with pure water. If a 5 gallon mixture of fifty percent ammonia is desired, how many quarts of the mixture need to be drained before the water is added? (A quart is one-fourth of a gallon.) Express your answer as a decimal to the nearest tenth.
5 gallons = 20 qts ....and 80% ammonia = 20% water
Let x be the number of quarts of mixture that we need to drain
So...when this is done we have [20 -x] qts of 20% water
[20 (.20) - x(.20)] =
[20 - x] .20
To this, we obviously need to add back "x" quarts of pure water to get 20 qts of 50% water [ = 50% ammonia ]
So we have
[20 - x ] .20 + x (1) = 20(.50) simplify
4 - .2x + x = 10
.8x + 4 = 10 subtract 4 from each side
.8x + 6 dibide both sides by .8
6 / [8/10] = x
60/ 8 = x
x = 7.5
So...we need to drain 7.5 qts of the 20%water soluiton...and then add back this many qts of pure water to get a 20 qt solution of 50% water