Question 17·Medium·Linear Inequalities in One or Two Variables
A gym charges a monthly membership fee of $15 plus $7.50 for each fitness class attended. A member wants to spend no more than $120 in a month.
What is the greatest number of fitness classes the member can attend without exceeding the budget?
(Express the answer as an integer)
For linear cost-and-budget problems, first define a variable for the count you are asked about (here, the number of classes). Translate the situation into an inequality of the form fixed cost + (cost per item) × (number of items) ≤ budget, carefully matching phrases like "no more than" with ≤. Solve the inequality step by step, then interpret the result in context—especially checking whether the answer must be a whole number and choosing the greatest whole number that does not violate the inequality.
Hints
Translate the words into an inequality
Let be the number of fitness classes. Write an expression for the total cost using the dollar fee and the dollars per class, and then use "no more than " to turn it into an inequality.
Solve the inequality step by step
Once you have an inequality, first move the constant term () to the other side, then isolate by dividing by .
Think about what kind of answer makes sense
Your inequality will tell you must be less than or equal to some number. Since you cannot attend a fraction of a class, what is the largest whole number of classes that fits that condition?
Desmos Guide
Use Desmos to find the maximum possible value of c
In a Desmos expression line, type (120-15)/7.5 and press Enter. The output is the maximum number of classes allowed by the budget (as a number, possibly with decimals). Since the number of classes must be a whole number, take the greatest whole number less than or equal to the value that Desmos shows.
Step-by-step Explanation
Define the variable and write the inequality
Let represent the number of fitness classes the member attends in a month.
The total cost is:
- dollars for the monthly membership fee, plus
- dollars for each class, or dollars.
Because the member wants to spend no more than dollars, write the inequality:
This inequality says the total cost must be less than or equal to dollars.
Isolate the term with the variable
Solve the inequality step by step.
First subtract from both sides:
Now divide both sides by to solve for :
This fraction is the maximum allowed number of classes (not yet simplified).
Simplify and interpret the result
Now simplify .
Notice that , so:
So the inequality becomes . Since you cannot attend a fraction of a class, the greatest whole number of classes that does not exceed the budget is 14.