Question 79·Easy·Linear Inequalities in One or Two Variables
A bakery sells cupcakes for $3 each and charges a flat decoration fee of $8 per order. Ella has at most $50 to spend. If she buys only whole cupcakes, what is the greatest number of cupcakes she can order?
(Express the answer as an integer)
For inequality word problems, start by defining a variable and writing a total-cost or total-amount expression. Translate key phrases like "at most" into symbols ("at most" means ) and set up an inequality. Solve it like a regular equation (undo additions/subtractions, then multiplications/divisions), then interpret the result in context: if the quantity must be whole (people, items), pick the largest or smallest integer that satisfies the inequality as the question asks.
Hints
Write an expression for the total cost
Let be the number of cupcakes. Each cupcake is dollars, and there is a flat -dollar decoration fee. How can you write the total cost in terms of ?
Turn the words into an inequality
The phrase "at most $50" tells you something about how the total cost compares to $50. Should you use , , , or ?
Solve for the number of cupcakes
Once you have an inequality with , solve it step by step (undo the , then undo the ). Remember she can only buy whole cupcakes and you want the greatest number that still fits the inequality.
Desmos Guide
Use Desmos to compute the maximum possible cupcakes
In the expression line, type (50 - 8) / 3 and press Enter. This calculates the largest value of that makes equal to 50. Since Ella must buy whole cupcakes and the total cost must be at most $50, take the greatest whole number less than or equal to the value Desmos shows.
Step-by-step Explanation
Define a variable and write the cost expression
Let be the number of cupcakes Ella buys.
Each cupcake costs , so cupcakes cost dollars.
There is also a flat decoration fee of dollars per order, so the total cost is:
Translate "at most $50" into an inequality
"At most $50" means the total cost can be less than or equal to $50.
So we write the inequality:
Solve the inequality for the number of cupcakes
We solve step by step.
First subtract from both sides:
Now divide both sides by :
This tells us that Ella can buy any number of cupcakes less than or equal to , as long as it is a whole number.
Interpret the result in the context of the problem
Cupcakes must be bought as whole numbers, and .
The greatest whole number that satisfies is .
Check the cost:
This is within her budget of at most $50, so the greatest number of cupcakes she can order is 14.