Question 92·Medium·Linear Functions
A taxi company charges a flat fee plus a constant rate per mile. A 5-mile ride costs $19, and an 11-mile ride costs $31. According to this pricing model, what is the cost, in dollars, of an 8-mile ride?
For taxi or phone-plan style questions, immediately model the situation with a linear equation of the form , where is the rate per unit and is the flat fee. Use the two given data points to form two equations, subtract them to find the rate quickly, then plug back in to get the flat fee. Once you have the full equation, substitute the requested input (here, 8 miles) and compute carefully, watching for small arithmetic errors when solving for and evaluating the final expression.
Hints
Identify the type of relationship
The problem says there is a flat fee plus a constant rate per mile. What kind of algebraic expression uses a constant starting value and a constant rate of change?
Use the two rides to form equations
Let be the rate per mile and be the flat fee. Use the information from the 5-mile ride and the 11-mile ride to write two equations involving and .
Eliminate one variable
Once you have the two equations, try subtracting one from the other to eliminate and solve for the rate .
Find the 8-mile cost
After you find and , plug them into your cost formula, then substitute to find the cost of an 8-mile ride.
Desmos Guide
Compute the rate per mile
In Desmos, type (31-19)/(11-5) on a new line. The value that appears is the constant rate per mile.
Compute the flat fee
On the next line, type 19 - 5*(previous_answer) or explicitly 19 - 5*( (31-19)/(11-5) ). The result is the flat fee (the starting cost before any miles are added).
Find the cost for 8 miles
Finally, type 8*( (31-19)/(11-5) ) + ( 19 - 5*( (31-19)/(11-5) ) ). The value Desmos shows is the cost of an 8-mile ride; match this value to the closest answer choice.
Step-by-step Explanation
Translate the situation into equations
Let be the number of miles and be the total cost. Because the taxi company charges a flat fee plus a constant rate per mile, we can write
where is the rate per mile and is the flat fee. Using the two rides:
- For 5 miles:
- For 11 miles:
Find the rate per mile
We have the system:
Subtract the first equation from the second to eliminate :
So the rate per mile is
Find the flat fee
Now plug into one of the original equations, for example :
Subtract 10 from both sides:
So the flat fee is $9.
Write the cost formula and evaluate it at 8 miles
Now we know the cost equation is
For an 8-mile ride, substitute :
So the cost of an 8-mile ride is $25, which corresponds to choice B.