Sub topic 10
Distance, Rate, Time, and Work Problems
This chapter assumes you can define a variable with units, translate phrases into expressions, and solve linear equations with variables on both sides, including equations with fractions. Rate problems add one new idea: a relationship between three quantities. Once you know which relationship applies, the setup follows the same steps as before.
The core relationship
Distance, rate, and time are linked by one formula:
distance = rate × time
Rewritten, rate = distance ÷ time and time = distance ÷ rate. The formula only works if the units agree. If the rate is in miles per hour, time must be in hours and distance in miles. Convert before you write the equation, not after.
Work problems use the same shape with different names:
work done = rate of work × time
The "distance" is the amount of the job finished. A whole job counts as 1.
| Problem type | Quantity | Rate means | Typical unit |
|---|---|---|---|
| Motion | distance | speed | miles per hour |
| Work | fraction of job | jobs per unit of time | jobs per hour |
| Filling a tank | volume | volume per unit of time | liters per minute |
A table makes the setup reliable
For any rate problem, list each moving object or worker in a row and fill in rate, time, and amount. Two of the three columns usually come from the problem. The third is an expression in your variable. The equation then comes from a relationship between rows, such as "the distances are equal" or "the amounts add to 1."
Catch-up problems: equal distances
When one traveler starts later and overtakes another, both have covered the same distance at the moment of meeting. The key is expressing the times correctly.
Problem. Car A leaves at 60 mph. One hour later, Car B leaves the same place at 80 mph on the same road. How long after Car A leaves does Car B catch up?
Let t = hours Car A has travelled when B catches up. Car B has been moving for t − 1 hours.
| Car | Rate (mph) | Time (h) | Distance (mi) |
|---|---|---|---|
| A | 60 | t | 60t |
| B | 80 | t − 1 | 80(t − 1) |
At the catch-up moment the distances are equal: 60t = 80(t − 1). Distribute: 60t = 80t − 80. Subtract 80t from both sides: −20t = −80, so t = 4.
# Car A leaves at 60 mph. Car B leaves 1 hour later at 80 mph.
# Let t = hours Car A has travelled when B catches up.
# 60t = 80(t - 1) -> 20t = 80
t = 80 / 20
print(t) # 4.0
print(60 * t == 80 * (t - 1)) # TrueCar A has travelled 4 hours, so B catches up 4 hours after A leaves, which is 3 hours after B leaves. The distance is 60 × 4 = 240 miles. Both cars have covered 240 miles, so the check passes.
Toward or away from each other: distances add
When two objects move toward each other, they close a gap together, so their distances add up to the gap. When they move apart, their distances add up to the separation.
Problem. Two cyclists start 90 miles apart and ride toward each other. One rides at 12 mph and the other at 18 mph. When do they meet?
Let t = hours until they meet. Both ride for the same time.
12t + 18t = 90, so 30t = 90, and t = 3 hours.
The shortcut is that the closing speed is the sum of the rates, 12 + 18 = 30 mph. Gap ÷ closing speed gives 90 ÷ 30 = 3.
For two objects moving in the same direction with the faster one behind, the gap closes at the difference of the rates. A runner at 9 mph who is 0.5 mile behind a walker at 4 mph closes the gap at 5 mph, so it takes 0.5 ÷ 5 = 0.1 hour, or 6 minutes.
Round trips and changing conditions
A round trip covers the same distance twice, so the distance is equal in both directions even when the rates differ.
Problem. A boat travels 24 miles upstream and returns downstream in total 5 hours. The boat's speed in still water is 10 mph more than the current's speed... Actually, to keep one unknown, suppose the current is 2 mph and the boat goes 10 mph in still water. Is the trip possible in 5 hours?
Upstream speed is 10 − 2 = 8 mph. Downstream speed is 10 + 2 = 12 mph. Time upstream is 24 ÷ 8 = 3 hours. Time downstream is 24 ÷ 12 = 2 hours. The total is 5 hours, so the trip fits exactly.
Now reverse the question. If the still-water speed is r and the current is 2 mph, the total time of 5 hours gives:
24/(r − 2) + 24/(r + 2) = 5
Multiply both sides by (r − 2)(r + 2) to clear the fractions: 24(r + 2) + 24(r − 2) = 5(r² − 4). This simplifies to 48r = 5r² − 20, which is a quadratic, not linear. Solving it is beyond this chapter. Notice the lesson: when the unknown is a rate and the problem gives total time, the equation usually becomes non-linear. When the unknown is a time, as in the catch-up problem, it stays linear.
A related trick avoids this. If you choose a time as the variable, the equation stays linear. Let t = hours upstream. Then the downstream time is 5 − t, and the distances are equal only if the rates are known, which gives the check above.
Work problems: rates add
A worker who finishes a job in h hours completes 1/h of the job per hour. That is the worker's rate. When people work together, their rates add, as long as they do not slow each other down.
Problem. Ana can paint a room in 6 hours. Ben can paint it in 3 hours. How long does it take them together?
Let t = hours working together. Ana's rate is 1/6 job per hour and Ben's is 1/3 job per hour. Together they finish one whole job:
(1/6)t + (1/3)t = 1
Multiply every term by 6 to clear fractions: t + 2t = 6, so 3t = 6, and t = 2 hours.
from fractions import Fraction
# Ana: 1/6 job per hour. Ben: 1/3 job per hour. Together they do 1 job.
# (1/6)t + (1/3)t = 1
combined_rate = Fraction(1, 6) + Fraction(1, 3)
t = 1 / combined_rate
print(t) # 2
print(Fraction(1, 6) * t + Fraction(1, 3) * t == 1) # TrueThe result of 2 hours is less than either person's solo time. That is a useful reasonableness test: working together must always be faster than the faster worker alone. If your answer is 4 hours, you made an error.
Workers who start at different times
Problem. Ana starts painting alone. After 2 hours Ben joins her. How long after Ben joins do they finish?
Let t = hours Ben works. Ana works t + 2 hours.
(1/6)(t + 2) + (1/3)t = 1
Multiply by 6: (t + 2) + 2t = 6, so 3t + 2 = 6, and 3t = 4, so t = 4/3 hours, which is 1 hour 20 minutes.
Check: Ana works 4/3 + 2 = 10/3 hours and does (1/6)(10/3) = 10/18 = 5/9 of the job. Ben does (1/3)(4/3) = 4/9. Then 5/9 + 4/9 = 1.
Work with one worker undoing another
If a drain empties a tank while a pipe fills it, the drain's contribution is negative. A pipe fills a tank in 4 hours and a drain empties it in 12 hours. With both open:
t/4 − t/12 = 1
Multiply by 12: 3t − t = 12, so t = 6 hours.
Checking against the words
As with every problem in this tutorial, check against the original wording, not only the equation.
- For motion, recompute each distance from the rate and the time you found, and confirm the stated relationship (equal, sum, or difference).
- For work, compute each person's share and confirm that the shares add to 1.
- Confirm that every time is positive. If t − 1 comes out negative, the faster car has not yet started, and the setup is wrong.
- Confirm the units match the question. If the problem asks for minutes and you solved in hours, convert.
Common errors summarized
| Error | Why it fails | Fix |
|---|---|---|
| Mixing minutes and hours | Rate and time units must match | Convert first, for example 30 min = 0.5 h |
| Adding times in a work problem | Times do not add; rates do | Use 1/h for each worker |
| Giving the later starter a longer time | The later starter travels for less time | Subtract the delay: t − delay |
| Using speed instead of closing speed | Objects approaching share the gap | Add rates for opposite directions, subtract for same direction |
| Forgetting the "1" in work equations | The total job is one whole | Set the sum of work amounts equal to 1 |
Exercise
Dana can mow a lawn in 4 hours. Eli can mow the same lawn in 12 hours. Dana works alone for 1 hour, then Eli joins her. How many hours does Eli work before the lawn is finished?
Show answer
Let t = hours Eli works. Dana works t + 1 hours. Dana's rate is 1/4 and Eli's rate is 1/12. The equation is (1/4)(t + 1) + (1/12)t = 1. Multiply by 12: 3(t + 1) + t = 12, so 4t + 3 = 12, so t = 9/4 hours, which is 2 hours 15 minutes. Check: Dana works 13/4 hours and does 13/16 of the job. Eli does (1/12)(9/4) = 3/16. Then 13/16 + 3/16 = 1.
Exercise
A train leaves a station at 50 mph. A second train leaves the same station 2 hours later on a parallel track at 70 mph. How many hours after the second train leaves does it overtake the first?
Show answer
Let t = hours the second train travels. The first train travels t + 2 hours. Equal distances give 50(t + 2) = 70t, so 50t + 100 = 70t, so 20t = 100 and t = 5 hours. Check: the first train goes 50 × 7 = 350 miles and the second goes 70 × 5 = 350 miles.