Sub topic 3
Distance Travelled Versus Displacement
This chapter assumes you can locate an object on a coordinate axis with a chosen origin. It also assumes you can compute displacement as final position minus initial position, and that you can do basic algebra with SI units. Here you will separate two quantities that both have units of metres but answer different questions.
Two questions about the same trip
Suppose you walk along a straight corridor. Someone can ask two different things about your trip:
- How much ground did you cover in total?
- Where did you end up relative to where you started?
The first question is answered by distance travelled. It is the total length of the path, counted along the way regardless of direction. The second is answered by displacement. It is the change in position, Δx = x_final − x_initial, and it depends only on the two endpoints.
In one dimension a displacement is a signed number. Its sign gives the direction along your axis and its magnitude gives how far apart the endpoints are. Distance carries no direction and is never negative.
A worked example
A walker starts at x = 2 m, walks to x = 8 m, turns around, and stops at x = −1 m.
Split the trip into legs, where each leg moves in one direction only.
- Leg 1:
Δx₁ = 8 − 2 = +6 m. This leg covers 6 m of ground. - Leg 2:
Δx₂ = −1 − 8 = −9 m. This leg covers 9 m of ground.
Distance adds the magnitudes of the legs: 6 + 9 = 15 m.
Displacement adds the signed legs: +6 + (−9) = −3 m. The endpoints give the same answer directly: −1 − 2 = −3 m.
The walker travelled 15 m but ended up 3 m from the start, on the negative side of it.
The same calculation in code:
positions = [2.0, 8.0, -1.0] # start, turning point, end, in m
legs = [b - a for a, b in zip(positions, positions[1:])]
displacement = sum(legs) # signed sum of legs
distance = sum(abs(leg) for leg in legs) # sum of magnitudes
print(legs) # [6.0, -9.0]
print(displacement) # -3.0 (m)
print(distance) # 15.0 (m)
print(displacement == positions[-1] - positions[0]) # TrueThe last line shows that the legs' signed sum equals final minus initial. The intermediate positions cancel in pairs, so only the endpoints matter. That is why displacement is independent of the path.
Properties side by side
| Property | Distance travelled | Displacement |
|---|---|---|
| Question it answers | How much path was covered? | How far, and which way, did the position change? |
| Depends on the path | Yes | No, only on endpoints |
| Possible values | Zero or positive | Positive, negative, or zero |
| Combining legs | Add magnitudes | Add signed values |
| Can it decrease over time? | Never | Yes, if the object moves back toward the start |
| Round trip | Positive | Zero |
The relationship between them
For any motion in one dimension:
distance ≥ |displacement|
Equality holds when the object never reverses direction. In that case every leg has the same sign, so adding magnitudes gives the same number as taking the magnitude of the signed sum.
If the object reverses even once, the distance is strictly greater than the size of the displacement. The more it doubles back, the larger the gap. A round trip is the extreme case: the displacement is exactly zero and the distance is twice the one-way length.
# Round trip: out 50 m along +x, then back to the start
positions = [0.0, 50.0, 0.0]
legs = [b - a for a, b in zip(positions, positions[1:])]
print(sum(legs)) # 0.0 (displacement)
print(sum(abs(l) for l in legs)) # 100.0 (distance)A car's odometer measures distance. It adds up path length and never runs backward, even when you drive home. Displacement is what you would get by subtracting your start position from your end position on a map.
Why you must split at turning points
Distance can only be computed by adding the legs between reversals. If you compute |x_final − x_initial| for a trip that reverses, you get the size of the displacement, not the distance.
This matters when you work from data. A table of positions at sampled times gives correct distance only if the object does not reverse between samples. Consider a ball thrown straight up from y = 0, with position y(t) = 20t − 5t² in metres (using g ≈ 10 m/s² to keep the numbers clean). It rises, stops momentarily at t = 2 s, and returns to y = 0 at t = 4 s.
def y(t):
return 20 * t - 5 * t**2 # position in m, t in s
def distance_from_samples(times):
ys = [y(t) for t in times]
return sum(abs(b - a) for a, b in zip(ys, ys[1:]))
coarse = [0, 4] # misses the turning point
with_turn = [0, 2, 4] # includes the turning point at t = 2 s
print(y(4) - y(0)) # 0 (displacement, m)
print(distance_from_samples(coarse)) # 0 (wrong: the reversal is hidden)
print(distance_from_samples(with_turn)) # 40 (correct, m)The displacement is zero in both cases, because it never depended on the path. The distance changes from 0 to 40 m once the sampling includes the turning point. Sampling more finely approaches the true distance from below, because each added sample can only reveal more path, never less.
A turning point is the moment the velocity changes sign, passing through zero. Later chapters on velocity and graphs return to this. For now, treat it as a point where you must start a new leg.
Reading problem wording
Certain phrases signal which quantity to compute.
- "How far did it travel", "total path length", "what does the odometer read": distance.
- "How far is it from the start", "change in position", "net movement": the magnitude of the displacement.
- "Where does it end up relative to the start, and in which direction": the signed displacement.
- "Returns to its starting point": displacement is zero, whatever the distance.
When the problem says "how far from the start" and gives a direction, report the signed value. For example, "3 m in the negative direction" or −3 m. State the axis direction you used, since the sign has meaning only relative to that choice.
Common errors
- Reporting the distance as the displacement, or the reverse. Check what the question asks for and compare your answer against both quantities.
- Dropping the sign of displacement. A displacement of
−3 mis different from+3 m. If you only need a size, say "magnitude". - Adding signed legs to get distance. This gives the displacement. Distance requires absolute values of each leg.
- Taking the absolute value of the whole trip for distance.
|x_final − x_initial|is the magnitude of the displacement. It equals the distance only when there is no reversal. - Ignoring a hidden reversal. If an object moves out and back between two readings, those two readings alone cannot tell you the distance.
- Letting the origin affect the answer. Moving the origin changes every position value, but not any leg length or any displacement. If your displacement changes when you shift the origin, there is an arithmetic slip somewhere.
Looking ahead
Because displacement only depends on endpoints, it is the right quantity for building velocity: average velocity is displacement divided by elapsed time. Distance divided by elapsed time defines average speed instead. The next chapters develop both and show why they can differ for the same trip. Later, with velocity-time graphs, you will see that displacement corresponds to the signed area under the curve, while distance corresponds to the total area counted as positive.
Exercises
Exercise
A cyclist starts at x = −5 m on a straight track, rides to x = 15 m, then rides back to x = 3 m. Find the total distance travelled and the displacement.
Show answer
Leg 1: 15 − (−5) = +20 m. Leg 2: 3 − 15 = −12 m. Distance = 20 + 12 = 32 m. Displacement = +20 + (−12) = +8 m, which also equals 3 − (−5) = +8 m. The cyclist ends 8 m in the positive direction from the start.
Exercise
The positions of an object are recorded at successive times as 0 m, 6 m, 10 m, 4 m, 4 m, −2 m. Using these readings, compute the distance and the displacement. Then explain what extra information you would need to be sure your distance is right.
Show answer
Legs: +6, +4, −6, 0, −6 m. Distance = 6 + 4 + 6 + 0 + 6 = 22 m. Displacement = −2 − 0 = −2 m (the signed legs also sum to −2 m). The distance is only a lower bound on the true path length unless the object moved in one direction between each pair of readings. You would need finer sampling, or knowledge of its velocity, to rule out hidden reversals between readings.
Exercise
Can the distance travelled ever be smaller than the magnitude of the displacement? Can the displacement be zero while the distance is not?
Show answer
No to the first: distance ≥ |displacement| always, with equality only when the object never reverses direction. Yes to the second: any round trip returns to the starting position, so the displacement is zero while the distance is positive.