SOLUTION: Hi appreciated tutors, I have been studying linear systems and have a good understanding of solving them but this word problem is driving me crazy. Here is the problem verbatim;

Algebra ->  Coordinate Systems and Linear Equations -> SOLUTION: Hi appreciated tutors, I have been studying linear systems and have a good understanding of solving them but this word problem is driving me crazy. Here is the problem verbatim;       Log On


   



Question 968792: Hi appreciated tutors,
I have been studying linear systems and have a good understanding of solving them but this word problem is driving me crazy. Here is the problem verbatim;
The total cost of 10 gallons of regular gasoline and 15 gallons of premium gasoline is $32.75. Premium costs $.20 more per gallon than regular. What is the cost per gallon of each type of gasoline?
I tried to set up the problem like this:
x+y=25
10x+15y=32.75
I figured the .20 would be added to the final "y" value.
The way it comes out when I work the equations by trying to use substitution is a negative number. This is one indication I am working it incorrectly. Please show me a verbal model and work the equations and explain how to include the".20". THANKS very much!

Found 2 solutions by Alan3354, MathLover1:
Answer by Alan3354(69443) About Me  (Show Source):
You can put this solution on YOUR website!
The total cost of 10 gallons of regular gasoline and 15 gallons of premium gasoline is $32.75. Premium costs $.20 more per gallon than regular. What is the cost per gallon of each type of gasoline?
=================
10R + 15P = 3275
P = R + 20
----------------
Sub for P
10R + 15*(R+20) = 3275
25R + 300 = 3275
R = 119
P = 139

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

let the cost of regular gasoline be p, the cost of premium gasoline be p%5B1%5D
if the total cost of 10 gallons of regular gasoline and 15 gallons of premium gasoline is $32.75, then
10p%2B15p%5B1%5D=32.75..........eq.1
if premium costs $.20 more per gallon than regular, then p%5B1%5D=p%2B0.20
The total cost is:
10p%2B15%28p%2B0.20%29=32.75.....eq.2....solve for p
10p%2B15p%2B3=32.75
25p=32.75-3
p=29.75%2F25
p=1.19...=>the cost per gallon of regular gasoline

now find the price of premium

p%5B1%5D=p%2B0.20
p%5B1%5D=1.19%2B0.20
p%5B1%5D=1.39...=>the cost per gallon of premium gasoline

check:
the total cost of 10 gallons of regular gasoline is $10%2A1.19=11.9
and 15 gallons of premium gasoline is 15%2A1.39=20.85
then $32.75=11.9%2B20.85=> $32.75=32.75