Sub topic 3
Average Speed: Total Distance over Total Time
This chapter assumes you can work with fractions and decimals, solve a linear equation in one variable, and rearrange distance = rate × time. Units are assumed consistent, as covered in the first chapter. Round trips with equal-distance legs get their own chapter later. Here we build the general definition of average speed and the habits that keep you from the most common GRE trap.
The Definition
Average speed is a single constant speed that would cover the same total distance in the same total time. That gives one formula:
average speed = total distance ÷ total time
Nothing else counts as average speed. In particular, it is not "the average of the speeds" unless a special condition holds, which we identify below.
The formula comes straight from distance = rate × time. If you traveled at a constant rate r for the whole trip, then D = r × T, so r = D / T. Average speed is the r that makes this true for the whole trip, whatever happened along the way.
Why Averaging the Speeds Fails
Suppose you drive 60 miles at 40 mph and then 60 miles at 60 mph. The tempting answer is (40 + 60) / 2 = 50 mph. It is wrong because you spend more time at the slower speed.
- First leg: 60 / 40 = 1.5 hours.
- Second leg: 60 / 60 = 1 hour.
- Total distance: 120 miles. Total time: 2.5 hours.
- Average speed: 120 / 2.5 = 48 mph.
The result is pulled toward the slower speed because the slower leg lasts longer. Speed is weighted by time, not by the number of legs.
def average_speed(distance_each_way, speed_out, speed_back):
total_distance = 2 * distance_each_way
total_time = distance_each_way / speed_out + distance_each_way / speed_back
return total_distance / total_time
print(average_speed(60, 40, 60)) # 48.0A General Procedure
Use these steps for any average-speed problem.
- List each segment with its distance, speed, and time. Any two of the three determine the third.
- Fill in the missing quantity for every segment using t = d / r or d = r × t.
- Add all distances. Add all times. Include rest stops or waiting time if the problem says the clock runs during them.
- Divide total distance by total time.
- Check that the answer lies between the slowest and fastest speeds (when no stop time is included).
A table keeps the bookkeeping clean. Here is a trip with three segments of different kinds of information.
| Segment | Distance (mi) | Speed (mph) | Time (h) |
|---|---|---|---|
| A | 30 | 60 | 0.5 |
| B | 90 | 45 | 2 |
| C | 40 | 80 | 0.5 |
| Total | 160 | 3 |
Average speed = 160 / 3 ≈ 53.3 mph. Notice that the simple mean of 60, 45, and 80 is about 61.7. It is far off, because segment B is the slowest and takes the most time.
When Is the Simple Mean Correct?
The plain average of speeds is correct in exactly one situation: the time spent at each speed is equal. If you drive 1 hour at 40 mph and 1 hour at 60 mph, you cover 40 + 60 = 100 miles in 2 hours, which is 50 mph.
In general:
- Equal distances at different speeds: average speed is below the simple mean (it is the harmonic mean for two legs).
- Equal times at different speeds: average speed equals the simple mean.
The GRE tests whether you notice which case you are in. Read the problem for the words "for the first 2 hours" (equal-time style) versus "the first 60 miles" (distance style).
Weighted Time: Mixed Cases
Often a problem gives time for one segment and distance for another. Convert everything to the same pair of totals.
Example: A cyclist rides for 2 hours at 15 mph, then rides 20 miles at 10 mph. What is her average speed?
- Segment 1: distance = 15 × 2 = 30 miles, time = 2 hours.
- Segment 2: distance = 20 miles, time = 20 / 10 = 2 hours.
- Total distance = 50 miles. Total time = 4 hours.
- Average speed = 50 / 4 = 12.5 mph.
Here the times happen to be equal, so 12.5 is also the mean of 15 and 10. That coincidence is easy to miss, and it is why you should always compute totals instead of relying on pattern matching.
Working Backward: Finding a Missing Speed
A common GRE variation gives the target average and asks for an unknown segment speed. Set up the average-speed equation and solve for the unknown.
Example: A driver travels the first 100 miles of a 250-mile trip at 50 mph. What speed must she average over the remaining 150 miles to average 60 mph for the whole trip?
- Time allowed for the whole trip: 250 / 60 = 25/6 hours.
- Time used on the first leg: 100 / 50 = 2 hours = 12/6 hours.
- Time left: 25/6 − 12/6 = 13/6 hours.
- Required speed on the remaining 150 miles: 150 ÷ (13/6) = 900/13 ≈ 69.2 mph.
The key move is working in time. Fix the total time that the target average allows, subtract the time already spent, and the leftover time determines the needed speed.
from fractions import Fraction
def required_speed(total_distance, target_avg, done_distance, done_speed):
total_time = Fraction(total_distance) / Fraction(target_avg)
time_used = Fraction(done_distance) / Fraction(done_speed)
time_left = total_time - time_used
if time_left <= 0:
return None # target already unreachable
return (Fraction(total_distance) - Fraction(done_distance)) / time_left
result = required_speed(250, 60, 100, 50)
print(result, float(result)) # 900/13 69.23076923076923Edge Cases and Traps
An impossible target
Suppose a driver covers 60 miles at 30 mph (2 hours) and wants to average 60 mph over a 120-mile trip. The total allowed time is 120 / 60 = 2 hours, and it is already used up. No finite speed on the remaining 60 miles works. The code above returns None for this case. On the GRE, this appears as an answer choice such as "It is not possible," or as a quantity comparison whose answer depends on seeing that no time is left.
print(required_speed(120, 60, 60, 30)) # NoneRest stops and idle time
If a problem says the driver stops for 30 minutes, add 0.5 hours to total time. The stop contributes time and no distance, so it lowers the average. Convert minutes to hours before adding.
Example: 200 miles driven at 50 mph, plus a 1-hour stop. Driving time is 4 hours, total time is 5 hours, and average speed is 200 / 5 = 40 mph.
Average speed of the "trip" versus driving speed
Read whether the question asks for the average speed "while driving" or "for the entire trip." The first excludes stops, the second includes them.
Zero displacement
Average speed uses total distance traveled, not net displacement. A round trip that returns to the start has a displacement of zero, but the average speed is still positive because the distance traveled is not zero. Do not divide net displacement by time. (That quantity is average velocity, which the GRE does not use.)
Unit mismatches
If one leg is given in miles per hour and another in feet per second, convert before adding. Mixing units gives a numerically plausible but wrong total. For instance, 30 minutes must become 0.5 hours when speeds are in mph.
Estimation and Sanity Checks
Before computing, bound the answer.
- With no stops, the average speed lies between the minimum and maximum segment speeds.
- It is closer to the speed of the segment that takes more time.
- For equal distances, it is below the simple mean.
For the cyclist-style problem above, if you computed 17 mph from speeds of 15 and 10, you would know immediately that something went wrong, because 17 is outside the range.
A useful picture is a time-weighted pull. The more time at a speed, the more that speed influences the result.
Quick Reference
| Situation | Method | Result |
|---|---|---|
| General segments | Total distance ÷ total time | Always correct |
| Equal time at each speed | Simple mean of speeds | Correct |
| Equal distance at each speed | Total distance ÷ total time, or 2ab/(a+b) for two legs | Below simple mean |
| Stops included | Add stop time to total time | Lower than driving speed |
| Target average given | Fix total time, subtract time used | Find remaining speed |
Practice
Exercise
A hiker walks 6 miles uphill at 3 mph and then 6 miles downhill at 6 mph. What is her average speed for the whole trip?
Show answer
Uphill time is 6 / 3 = 2 hours. Downhill time is 6 / 6 = 1 hour. Total distance is 12 miles and total time is 3 hours, so the average speed is 12 / 3 = 4 mph. The simple mean of 4.5 is wrong because more time is spent going slowly.
Exercise
A train travels for 2 hours at 80 mph and then for 3 hours at 60 mph. What is its average speed?
Show answer
Distance is 160 + 180 = 340 miles. Time is 5 hours. Average speed is 340 / 5 = 68 mph. This is not the simple mean of 70, because the train spends more time at 60 mph.
Exercise
A driver goes 150 miles at 50 mph, then stops for 30 minutes, then goes 90 miles at 60 mph. What is the average speed for the entire trip, including the stop?
Show answer
Driving times are 150 / 50 = 3 hours and 90 / 60 = 1.5 hours. Adding the 0.5-hour stop gives 5 hours total. Total distance is 240 miles. Average speed is 240 / 5 = 48 mph.
Exercise
A cyclist rides the first 30 miles of a 90-mile trip at 15 mph. What speed must she average over the remaining 60 miles to average 18 mph for the whole trip?
Show answer
Total allowed time is 90 / 18 = 5 hours. The first leg takes 30 / 15 = 2 hours, leaving 3 hours. The required speed is 60 / 3 = 20 mph.
Exercise
A driver covers the first 60 miles of a 120-mile trip at 30 mph. Can she average 60 mph for the whole trip? Explain.
Show answer
No. Averaging 60 mph over 120 miles allows exactly 2 hours. The first 60 miles at 30 mph already take 2 hours, so no time remains for the other 60 miles, and no finite speed would work.