Sub topic 2
Displacement: the change in position
What this chapter covers and what it assumes
This chapter defines displacement, the change in an object's position along a straight line. It assumes you can do basic algebra, use SI units (metres and seconds), and read a simple graph. It also assumes you know the position, origin, and axis ideas from the previous chapter. In short, position is a signed number measured from an origin along an axis. Here we use that idea to describe how position changes.
By the end you should be able to:
- Compute displacement from an initial and a final position.
- Read the sign of a displacement as a direction.
- Explain why displacement does not depend on the path taken.
- Avoid the most common sign and bookkeeping errors.
The definition
Displacement is the change in position of an object. For motion along the x axis, write the initial position as x₁ (or xᵢ) and the final position as x₂ (or x_f). Then:
Δx = xfinal − xinitial
The symbol Δ (delta) means "final value minus initial value". It always has that order. Δx is one number, not a product of Δ and x.
Displacement is a vector quantity. In one dimension, a vector has only two possible directions, so a signed number carries all the information:
- The magnitude (absolute value) tells you how far the final position is from the initial position.
- The sign tells you the direction along the axis. A positive sign means toward increasing x. A negative sign means toward decreasing x.
The unit of displacement is the unit of length, so metres in SI.
A worked example
An object starts at x = 2.0 m at t = 1.0 s. At t = 4.0 s it is at x = −4.0 m.
- Displacement: Δx = (−4.0) − (2.0) = −6.0 m.
- Elapsed time: Δt = 4.0 − 1.0 = 3.0 s.
- Average velocity: Δx / Δt = −6.0 / 3.0 = −2.0 m/s.
The negative sign says the object moved toward decreasing x. It does not say the object ended up at a negative position, although here it did. Those are two separate facts, as the next section shows.
The following code does the same calculation:
x_initial = 2.0 # position in m
x_final = -4.0 # position in m
t_initial = 1.0 # time in s
t_final = 4.0 # time in s
displacement = x_final - x_initial
average_velocity = displacement / (t_final - t_initial)
print(displacement) # -6.0 (m)
print(average_velocity) # -2.0 (m/s)The last line previews the next topic. Dividing displacement by elapsed time gives average velocity, and the sign carries over unchanged.
Position and displacement are different things
Position is where the object is, measured from the origin. Displacement is how its position changed. Beginners often mix them up, so compare three cases:
| Initial position (m) | Final position (m) | Displacement (m) | Meaning |
|---|---|---|---|
| 2.0 | 7.0 | +5.0 | Moved 5.0 m toward increasing x |
| 7.0 | 2.0 | −5.0 | Moved 5.0 m toward decreasing x |
| −3.0 | 2.0 | +5.0 | Moved 5.0 m toward increasing x, crossing the origin |
The first and third rows have the same displacement but different positions. Displacement does not depend on where the origin is placed. If you shift the origin, every position changes by the same amount, and the subtraction cancels that shift. This is why you can choose the origin for convenience, for example at the starting point, and still get the correct displacement.
Displacement ignores the path
Displacement compares only two points: where the object started and where it ended. What happened in between has no effect on it. Consider a runner who goes from x = 0 to x = 100 m, turns, and returns to x = 0. The total displacement is 0 m, even though the runner covered 200 m of ground. The distance travelled is a separate quantity, and the next chapter treats it.
This path independence has a useful consequence. Displacements over consecutive intervals add up:
Δx_total = Δx₁ + Δx₂ + … + Δxₙ
This works because the intermediate positions cancel. For three legs with positions x₀, x₁, x₂, x₃:
(x₁ − x₀) + (x₂ − x₁) + (x₃ − x₂) = x₃ − x₀
Each middle position appears once with a plus sign and once with a minus sign. This lets you break a complicated trip into legs, compute each displacement with its sign, and sum them.
Example: a trip in three legs
A cart starts at x = 0. It moves +8 m, then −3 m, then +2 m.
Δx_total = 8 + (−3) + 2 = +7 m
The final position is x = 7 m. The cart's displacement is +7 m even though it moved back during the second leg. The legs themselves are displacements, so their signs must be kept when you add them.
Displacement from sampled data
Real measurements often arrive as a list of positions at regular times. The displacement over each interval is the difference between neighbouring entries. The code below applies that idea to positions sampled from x(t) = t².
positions = [0, 1, 4, 9, 16] # x(t) = t**2 in m, sampled at t = 0, 1, 2, 3, 4 s
dt = 1.0 # s
velocities = [(b - a) / dt for a, b in zip(positions, positions[1:])]
accelerations = [(b - a) / dt for a, b in zip(velocities, velocities[1:])]
print(velocities) # [1.0, 3.0, 5.0, 7.0]
print(accelerations) # [2.0, 2.0, 2.0]The expression b - a inside the first list comprehension is the displacement over one interval, and dividing it by dt converts it to an average velocity. Here the interval displacements are 1, 3, 5, and 7 m. They sum to 16 m, which equals the final position minus the initial position (16 − 0). That is the "intermediate positions cancel" rule at work. You can verify it:
positions = [0, 1, 4, 9, 16]
steps = [b - a for a, b in zip(positions, positions[1:])]
print(steps) # [1, 3, 5, 7]
print(sum(steps)) # 16
print(sum(steps) == positions[-1] - positions[0]) # TrueThe second and third lines of output show the sum of the interval displacements matching the overall displacement.
Displacement on a position-time graph
On a graph of position against time, displacement over an interval is a vertical change. Pick the two times, read the positions, and subtract. The sign shows whether the curve ended higher or lower than it began.
The curve's shape between the two times does not matter for displacement. A curve that wiggles up and down can still have the same displacement as a straight line joining the same endpoints.
Common errors
- Subtracting in the wrong order. Δx is final minus initial. Computing initial minus final flips the sign and reverses the direction you report. Check your answer against the picture: if the object ended at a smaller x, the displacement must be negative.
- Dropping signs when adding legs. Adding 8 + 3 + 2 for the trip above gives 13 m, which is the total distance, not the displacement. The backward leg must enter as −3.
- Treating a negative displacement as "less than nothing". A negative sign is a direction, not a smaller amount. A displacement of −6 m is larger in magnitude than +2 m.
- Confusing final position with displacement. They are equal only when the initial position is zero. In the worked example, the final position is −4 m but the displacement is −6 m.
- Mixing units. If positions come in centimetres and kilometres, convert them to a single unit before subtracting.
- Changing the axis direction midway. Choose which way is positive once, at the start of the problem, and keep it. Switching in the middle makes signs inconsistent.
Edge cases
- Zero displacement: Δx = 0 when xfinal = xinitial. This can happen after any amount of motion, as long as the object returns to its start.
- Crossing the origin: The sign of the position changes, but the displacement formula is unchanged. Do not split the calculation at the origin unless you need the distance travelled.
- Very small intervals: As the time interval shrinks, Δx shrinks too. The ratio Δx/Δt can still approach a definite value, which is how instantaneous velocity is defined later in the tutorial.
- Non-straight motion: In two or three dimensions, displacement is still the straight-line vector from start to end, but it needs components. This tutorial stays on a single line, where a sign is enough.
Summary of the key ideas
- Displacement is Δx = xfinal − xinitial, a signed length.
- The sign gives direction along the chosen axis. The magnitude gives the straight-line separation between start and end.
- Displacement does not depend on the path or on the origin's location, but it does depend on which direction you call positive.
- Displacements over consecutive intervals add, with signs, to the total displacement.
Exercise
A bead slides along a wire. It starts at x = −1.5 m, moves to x = +4.0 m, then moves back to x = +1.0 m. (a) What are the displacements of the two legs? (b) What is the total displacement, and how can you check it without using the legs? (c) If the whole trip takes 5.0 s, what is the average velocity?
Show answer
(a) Leg 1: 4.0 − (−1.5) = +5.5 m. Leg 2: 1.0 − 4.0 = −3.0 m. (b) The total is 5.5 + (−3.0) = +2.5 m. Check by using only the endpoints: 1.0 − (−1.5) = +2.5 m, which matches. (c) Average velocity = +2.5 m / 5.0 s = +0.50 m/s, in the direction of increasing x.
Exercise
A student computes the displacement of a ball that moves from x = 6.0 m to x = 2.0 m as "+4.0 m" because "the distance is 4.0 m". What is wrong, and what is the correct answer?
Show answer
The student gave the magnitude and ignored direction. The ball ended at a smaller x, so it moved toward decreasing x. The displacement is Δx = 2.0 − 6.0 = −4.0 m.