To set up the system of equations we need to define variables for Tacos and Burritos
Let x= tacos
Let y = burritos
Now if 3 tacos and 2 burritos cost $7.40 set up the equation as 3x + 2y = 7.40
If 4 tacos and 1 burritos costs $6.45 set up this equation as 4x + y = 6.45
So we now have the system:
3x + 2y = 7.40
4x + y = 6.45
so we will use elimination to solve this system. We need to eliminate one of the variables, either the x or the y. In this case I'll eliminate the y by multiplying the second equation by -2
3x + 2y = 7.40
-2(4x + y = 6.45)
after multiplying the second equation by -2 we will get the following:
3x + 2y = 7.40
-8x - 2y = -12.90
Now I notice that if I add the two equations together the y's will cancel out. (because 2y + (-2y) = 0)
3x + 2y = 7.40
plus
-8x - 2y = -12.90
gives me
-5x = -5.50
divide both sides of the equation by -5 to isolate the variable (to get x by itself)
x = 1.10
now remember x represent Tacos so it cost $1.10 for every Taco.
Now lets solve for y to find out how much a burrito cost.
Go back to the original system of equations and choose either the first equation or the second equation to substitute $1.10 for the x value in order to solve for the y value.
I'll use the 2nd equation because it seems easier to evaluate (you could use either equation, whichever seems easier to use TO YOU is the equation you use. To me the 2nd equation seemed easier so I will use that one)
4x + y = 6.45
substitute (replace) x with the value we got for x which was 1.10 and solve for y
4x + y = 6.45
4(1.10) + y = 6.45
4.40 + y = 6.45
subtract 4.40 from both sides
y = 2.05 so it costs $2.05 for every burrito
so x = 1.10 and y = 2.05 but you're not done yet. You now MUST CHECK to see if your solutions for x and y satisfy both equations. so substitute your values for x and y into both equations and see if they equal 7.40 for the 1st equation and 6.45 for the 2nd equation.
here is the original system
3x + 2y = 7.40
4x + y = 6.45
substitute x and y into both equations in the system
3(1.10) + 2(2.05) = 7.40
4(1.10) + 2.05 = 6.45
after evaluating 3(1.10) + 2(2.05) you will get 7.40 so your solution for x and y satisfy this equation.
after evaluating 4(1.10) + 2.05 you will get 6.45 so your solution for x and y satisfy the second equation as well.
So a single Taco costs $1.10 and a single burrito costs $2.05
Steve S.
01/30/14