Question 2·Medium·Linear Inequalities in One or Two Variables
A taxi company charges a flat fee of $3.50 when a passenger enters the cab and $2.40 for each mile traveled. If a passenger has at most $25 to spend on the ride, what is the greatest whole number of miles the passenger can travel without exceeding this budget?
(Express the answer as an integer)
For word problems with a linear cost and a maximum budget, first define a variable (like for miles), then write a cost expression combining any flat fee and per-unit rate. Use "at most" or "no more than" to set up a inequality with the budget on the other side, solve for the variable, and finally adjust your answer based on context—here, by choosing the greatest whole number that satisfies the inequality and does not exceed the budget.
Hints
Set up the cost expression
Write an expression for the total cost: it should include the flat fee and the cost per mile multiplied by the number of miles .
Use the phrase "at most" correctly
"At most $25" means the total cost can be less than or equal to $25. What inequality symbol does that suggest when you write the equation for cost versus budget?
Solve and then think about whole numbers
After you solve the inequality for , ask: what does the solution tell you about the range of possible values, and which whole number at the upper end of that range is still allowed?
Check that you do not exceed the budget
Try plugging in a candidate whole number of miles back into the cost formula to see if it stays within $25, and make sure any larger whole number would go over the budget.
Desmos Guide
Enter the cost function
In Desmos, type C(m) = 3.5 + 2.4m to represent the cost in dollars as a function of miles .
Use an equation to find the boundary point
In a new line, type 3.5 + 2.4m = 25 and look at the point where this line intersects the horizontal line (or just read the solution for that Desmos gives). This value of is the maximum distance where the cost exactly equals the budget.
Interpret the result as a whole number
From the -value you see, determine the largest whole number that is less than or equal to that value. That whole number of miles is the greatest distance the passenger can travel without going over the budget.
Step-by-step Explanation
Translate the situation into an inequality
Let be the number of miles traveled.
The taxi cost is made of:
- A flat fee of $3.50, and
- $2.40 per mile, so .
So the total cost is . Because the passenger can spend at most $25, we write the inequality:
Solve the inequality for m
Now solve .
Subtract from both sides:
Now divide both sides by :
So must be less than or equal to the value of .
Approximate or compare the quotient
We need to understand .
Multiply top and bottom by to clear decimals:
Now compare to multiples of :
So is between and (because it is just a bit less than ).
Interpret the result as a whole number of miles
The inequality tells us must be less than or equal to a number between and .
The passenger can only travel a whole number of miles without exceeding the budget, so the largest whole number less than or equal to this upper limit is 8.
Answer: 8.