Write a system of equations to describe the situation below, solve using an augmented matrix, and fill in the blanks.Two friends visited a taffy shop. Colin bought 4 kilograms of strawberry taffy and 1 kilogram of banana taffy for $25. Next, Keenan bought 1 kilogram of banana taffy for $5. How much does the candy cost?A kilogram of strawberry taffy costs $_____, and a kilogram of banana taffy costs $_____.
Q. Write a system of equations to describe the situation below, solve using an augmented matrix, and fill in the blanks.Two friends visited a taffy shop. Colin bought 4 kilograms of strawberry taffy and 1 kilogram of banana taffy for $25. Next, Keenan bought 1 kilogram of banana taffy for $5. How much does the candy cost?A kilogram of strawberry taffy costs $_____, and a kilogram of banana taffy costs $_____.
Define Variables: Let's call the price of strawberry taffy per kilogram s and the price of banana taffy per kilogram b. Colin's purchase gives us the equation 4s+b=25. Keenan's purchase gives us the equation b=5.
Write Augmented Matrix: We can write the system of equations as an augmented matrix. The first row represents Colin's purchase, and the second row represents Keenan's purchase. So we have:[40amp;1amp;1amp;∣amp;∣amp;25amp;5]
Eliminate Variable: Since the second row already has a leading 1 in the second column, we can use it to eliminate the b variable from the first row. We'll multiply the second row by −1 and add it to the first row.
Correct Mistake: After the row operation, the new matrix is:[40amp;0amp;1amp;∣amp;∣amp;20amp;5]Oops, I made a mistake. I should have multiplied the second row by −1 and then multiplied it by 4 before adding it to the first row to eliminate b.
More problems from Solve a system of equations using substitution: word problems