Two cyclists each cover a distance of km. The first rides km/h faster than the second and spends hours less on the trip. Find the speed of each cyclist.
Set up a table with one unknown. Let be the second cyclist's speed in km/h; then the first rides at . Time is distance over speed:
| cyclist | speed (km/h) | distance (km) | time (h) |
|---|---|---|---|
| second | |||
| first |
Physically , and the slower rider's time is the larger one.
Turn the time gap into an equation. The first cyclist takes hours less, so subtract the smaller time from the larger:
Clear the denominators. Multiply both sides by , which is nonzero for :
The left side collapses because the terms cancel:
Reduce to standard quadratic form. Divide by and move everything to one side:
Solve and discard the extraneous root. The discriminant is with , so
A negative speed is meaningless here, so and the first cyclist rides at km/h.
Check against the original wording. Times are h and h. The speed gap is km/h ✓ and the time gap is h ✓.
Need to solve a different problem like this? Open the solver →