Question 126·Hard·Linear Equations in One Variable
At a bake sale, muffins were sold either individually for $1.25 each or in boxes of 4 for $4.40. A total of 120 muffins were sold for $134.40.
If is the number of muffins that were sold individually, how many muffins were sold individually?
(Express the answer as an integer)
For word problems that mix counts and money, first define clear variables and write one equation for the total number of items and another for the total cost. Turn the words into algebra: translate “each,” “total,” and “per” into multiplication and addition, then solve the resulting system using substitution or elimination. To save time and reduce errors, clear decimals by multiplying every term by a power of 10, solve for one variable, and be sure your final value matches what the question actually asks for (in this case, the individually sold muffins, not the number of boxes).
Hints
Introduce a second variable
You already have as the number of muffins sold individually. Define another variable for the number of boxes sold. How many muffins does each box represent?
Use the total number of muffins
Write an equation that represents the total of 120 muffins using the individually sold muffins and the muffins that came from boxes.
Use the total amount of money
Write a second equation that represents the total money, $134.40, using $1.25 for each individual muffin and $4.40 for each box.
Solve the system step by step
Solve your two equations together (using substitution or elimination) to find the number of boxes, then go back to the muffin-count equation to find , the number of muffins sold individually.
Desmos Guide
Enter the system of equations
In Desmos, type the two equations:
-
x + 4y = 120 -
1.25x + 4.4y = 134.4
Here, think of as the number of individually sold muffins and as the number of boxes.
Find the intersection point
Look for the point where the two lines intersect on the graph. Click that intersection point; the coordinates will appear as . The -coordinate of this point is the number of muffins sold individually.
Step-by-step Explanation
Define variables and write the muffin-count equation
Let be the number of muffins sold individually, and let be the number of boxes of 4 muffins.
Each box has 4 muffins, so the total number of muffins is given by
This equation represents the total of 120 muffins sold.
Write the money equation and clear decimals
Muffins sold individually cost $1.25 each, so they bring in $1.25x dollars.
Each box costs $4.40, so boxes bring in $4.40b dollars.
The total money is $134.40, so the money equation is
To avoid decimals, multiply every term by 100:
Now you have a system:
Use substitution to find the number of boxes
From the first equation,
Substitute this into the second equation:
Distribute :
Combine like terms:
Subtract from both sides:
Divide both sides by to solve for :
So 26 boxes of 4 muffins were sold.
Find the number of individually sold muffins
Use the muffin-count equation and plug in :
Compute :
Subtract from both sides:
So, muffins were sold individually.