Take his home as the origin and the direction towards the market as positive.
Time to reach the market:
t1=5 km h−12.5 km=0.5 h=30 min
Time to walk back home:
t2=7.5 km h−12.5 km=31 h=20 min
So he is at the market at 30 min and back home at 50 min.

(i) 0 to 30 min (21 h): he walks from home to the market without turning.
∣average velocity∣=0.5 h2.5 km=5 km h−1,average speed=0.5 h2.5 km=5 km h−1
(ii) 0 to 50 min (65 h): he is back home, so the displacement is zero, but he has walked 2.5+2.5=5 km.
∣average velocity∣=5/6 h0=0,average speed=5/6 h5 km=6 km h−1
(iii) 0 to 40 min (32 h): in the 10 min after turning back he walks
7.5 km h−1×6010 h=1.25 km
towards home, so he is at x=2.5−1.25=1.25 km. The path length is 2.5+1.25=3.75 km.
∣average velocity∣=2/3 h1.25 km=1.875 km h−1,average speed=2/3 h3.75 km=5.625 km h−1
Summary:
| Interval | (a) Magnitude of average velocity | (b) Average speed |
|---|
| 0 to 30 min | 5 km h−1 | 5 km h−1 |
| 0 to 50 min | 0 | 6 km h−1 |
| 0 to 40 min | 1.875 km h−1 | 5.625 km h−1 |
In (i) the two are equal because he has not turned back; in (ii) and (iii) the average speed is larger because part of the path was retraced. This is why average speed is defined through the total path length: the man who walked 5 km in 50 min clearly had a non-zero average speed.