Two Trains, Different Speeds: Solve This Classic Rate Problem
Skills This Problem Builds
- Setting up time equations using the distance-rate-time relationship
- Working with rational expressions where the variable appears in denominators
- Converting time units consistently (minutes to hours) before solving
- Solving quadratic equations that arise from clearing fractions
- Interpreting solutions in context and rejecting physically impossible answers
Solution: The Time Difference Approach
This is a classic distance-rate-time problem where we're comparing two journeys. The key insight is that we know the distance is the same for both trains, but their speeds and travel times differ in a specific way.
Step 1 — Define the variables
Let v be the speed of the slower train in km/h. Then the faster train has speed v + 5 km/h, since it travels 5 km/h faster.
Step 2 — Express the travel times
Using the relationship time = distance ÷ speed:
Time for faster train = 330/(v + 5) hours
Step 3 — Convert the time difference to hours
The problem states the faster train takes 30 minutes less time. Since our speed is in km/h, we need time in hours: 30 minutes = 0.5 hours.
Step 4 — Set up the time difference equation
The difference between the travel times equals 0.5 hours:
Step 5 — Clear the fractions
Multiply every term by v(v + 5) to eliminate the denominators:
330v + 1650 - 330v = 0.5v² + 2.5v
1650 = 0.5v² + 2.5v
Step 6 — Rearrange into standard quadratic form
Multiply by 2 to clear the decimal coefficients:
v² + 5v - 3300 = 0
Step 7 — Solve using the quadratic formula
With a = 1, b = 5, and c = -3300:
v = (-5 ± √13225)/2
v = (-5 ± 115)/2
This gives us v = 55 or v = -60. Since speed must be positive, v = 55 km/h.
Step 8 — Find both speeds
Faster train: 55 + 5 = 60 km/h
Solution: Method 2 — The Distance Comparison Method
Here's an alternative approach that focuses on how much farther the faster train would travel in the same amount of time.
Step 1 — Set up using the slower train's time
Let t be the time (in hours) that the slower train takes to complete the 330 km journey. Then the faster train takes t - 0.5 hours.
Step 2 — Express speeds in terms of time
Speed of faster train = 330/(t - 0.5) km/h
Step 3 — Use the 5 km/h speed difference
The faster train is exactly 5 km/h faster:
Step 4 — Solve for t
Multiply by t(t - 0.5):
330t - 330t + 165 = 5t² - 2.5t
165 = 5t² - 2.5t
5t² - 2.5t - 165 = 0
Dividing by 5: t² - 0.5t - 33 = 0
Using the quadratic formula: t = (0.5 ± √(0.25 + 132))/2 = (0.5 ± 11.5)/2
So t = 6 hours (taking the positive solution).
Step 5 — Calculate the speeds
Faster train: 330/5.5 = 60 km/h
Verification
Let's confirm our answer by checking both the speed difference and the time difference:
Speed difference: 60 - 55 = 5 km/h ✓
Travel times:
Faster train: 330 ÷ 60 = 5.5 hours
Time difference: 6 - 5.5 = 0.5 hours = 30 minutes ✓
Both conditions are satisfied, so our solution is correct.
Watch Out For These
Setting up the equation as 330/v - 330/(v+5) = 30 using minutes instead of converting to hours first. This leads to a completely different quadratic equation with wrong answers. Always convert to matching units before writing equations.
Getting v = -60 from the quadratic formula and not realizing this represents an impossible physical situation. Speed cannot be negative in this context, so this solution must be rejected.
Writing 330/v + 330/(v+5) = 0.5 instead of subtracting the times. This would represent the sum of the travel times equaling 30 minutes, which makes no physical sense given the problem description.
The Math Beneath the Surface
This problem exemplifies a fundamental pattern in rate problems: when you have a fixed distance and two different rates, comparing their times leads to a rational equation that becomes quadratic when you clear denominators.
The general form for this type of problem is:
where D is the distance, v₁ and v₂ are the speeds, and Δt is the time difference.
If the speeds are related by v₂ = v₁ + k (where k is a constant difference), then substituting gives:
This will always produce a quadratic equation in v₁. One solution will typically be positive (the physical answer), while the other will be negative and must be discarded.
The key insight is recognizing that the "30 minutes less" translates to a subtraction of times, not speeds or distances. This temporal relationship is what creates the rational equation structure.
How to Spot This Problem Type
- "travels X faster" or "X km/h faster" — indicates a speed relationship
- "takes Y minutes/hours less" — signals a time difference comparison
- "same distance" or "both travel Z km" — means you can use distance-rate-time for both journeys
- "find the speeds" — confirms this is asking for the rates, not times or distances
The combination of equal distances, different speeds, and a time comparison is the signature of this problem type. You'll see similar setups with planes, cars, runners, or any moving objects where speed differences create time differences over the same route.
Real Applications
- Transportation logistics: Companies need to calculate delivery times when vehicles have different speeds due to load capacity, fuel efficiency, or route conditions.
- Race analysis: Understanding how pace differences translate to finish time gaps in marathons, cycling, or other endurance events.
- Network performance: Comparing data transfer rates between different connection types over the same file size to predict download time differences.
Try These Variations
Let v = speed of slower train, then v + 8 = speed of faster train.
Time for slower train: 480/v hours, Time for faster train: 480/(v + 8) hours
480/v - 480/(v + 8) = 1
Multiply by v(v + 8): 480(v + 8) - 480v = v(v + 8)3840 = v² + 8vv² + 8v - 3840 = 0
v = (-8 ± √(64 + 15360))/2 = (-8 ± √15424)/2 = (-8 ± 124.2)/2
Taking the positive solution: v = 58.1 ≈ 58 km/h
Slower train: 58 km/h, Faster train: 66 km/h
Let D = distance. Slower train takes 5.5 hours, so its speed is D/5.5 km/h.
Faster train takes 5.5 - 0.75 = 4.75 hours (45 min = 0.75 h)
Faster train's speed: D/4.75 km/h
Speed difference is 10 km/h: D/4.75 - D/5.5 = 10
D(1/4.75 - 1/5.5) = 10D(5.5 - 4.75)/(4.75 × 5.5) = 10D(0.75)/26.125 = 10D = 10 × 26.125/0.75 = 348.33 km
Slower train: 348.33/5.5 = 63.3 km/h
Faster train: 348.33/4.75 = 73.3 km/h
Difference: 73.3 - 63.3 = 10 km/h ✓
Distance = 348 km
Let v = speed of train A. Then:
Speed of B = v + 10
Speed of C = v + 20
Time for A: 300/v
Time for C: 300/(v + 20)
A takes 1.5 hours longer than C:300/v - 300/(v + 20) = 1.5
Multiply by v(v + 20):300(v + 20) - 300v = 1.5v(v + 20)6000 = 1.5v² + 30vv² + 20v - 4000 = 0
v = (-20 ± √(400 + 16000))/2 = (-20 ± √16400)/2v = (-20 ± 128.06)/2
Taking positive: v = 54.03 ≈ 54 km/h
Train B's speed = 54 + 10 = 64 km/h
The faster train gains on the slower train at a rate of 60 - 55 = 5 km/h.
For the faster train to lap the slower one, it must gain exactly one full lap (330 km) on the slower train.
Time = Distance gained ÷ Relative speed
Time = 330 km ÷ 5 km/h = 66 hours
After 66 hours:
Slower train position: 55 × 66 = 3630 km = 11 complete laps
Faster train position: 60 × 66 = 3960 km = 12 complete laps
Difference: exactly 1 lap ✓
The faster train will lap the slower train after 66 hours
Frequently Asked Questions
2026-05-24