Roy bought a new battery-gasoline hybrid car. On a trip the car ran exclusively on its battery for the first 40 miles, then ran exclusively on gasoline for the rest of the trip, using gasoline at a rate of 0.02 gallons per mile. On the whole trip he averaged 55 miles per gallon. How long was the trip in miles?
- A)
- B)
- C)
- D)
- E)
Answer
C
Key insight
Miles per gallon for the whole trip is total miles divided by total gallons. Only the miles after the first 40 use any gas.
Solution
"Averaged 55 miles per gallon" means: total miles divided by total gallons of gas equals . So we need both totals.
1. Let the trip be miles long.
2. The first miles use no gas. The rest of the trip is miles, and each of those miles uses gallons. So the total gas is gallons.
3. Set total miles divided by total gallons equal to :
4. Multiply both sides by the bottom: . Since , this is
5. Subtract from both sides: , so and .
Check: the gas part is miles, using gallons. And . ✓
The answer is .
Why this works
Miles per gallon for a whole trip is one big ratio: all the miles over all the gallons. On gas alone the car gets miles per gallon. The free battery miles add distance without using gas, which is why the trip average () is higher than . Once you write both totals correctly, the equation is a simple one.
Alternative approach
Test the answer choices, since each one takes only a moment.
- miles: gas miles use gallons, and . Too high.
- miles: gas miles use gallons, and . ✓
- miles: gas miles use gallons, and . Too low.
Only gives exactly .
The trap
Working out the gasoline used from the whole trip length, instead of only the miles driven after the first 40 battery miles.
Concise solution
Let the trip be miles. The gasoline portion is miles, consuming gallons. The battery portion uses no gasoline.
The trip's average is total miles divided by total gallons:
Multiply out: . So and .
Check: gasoline miles use gallons, and .
The answer is .
Review in the AoPS books
- Introduction to Algebra, Chapter 3: One-Variable Linear Equations (§3.3, §3.4)
- Introduction to Algebra, Chapter 6: Ratios and Percents
- Introduction to Algebra, Chapter 7: Proportion (§7.4)
- Prealgebra, Chapter 13: Data and Statistics (§13.1)
Techniques
Set up the equation/formula and compute; no special trick needed