Skip to content
Tutorials Center
My learning

Topics

Lesson 10 of 39 ยท Motion in One Dimension

Position, Distance and Displacement

Describe where an object is with a coordinate axis and learn the difference between distance traveled and displacement, with worked examples and code.

To describe motion you first need to say where something is. That sounds obvious, but "where" always means "relative to something". This lesson sets up the coordinate system you will use throughout kinematics and separates two ideas that everyday language blurs: how far you traveled and how far you ended up from where you started.

Position and the coordinate axis

In one dimension, motion happens along a line. Choose:

  1. an origin (the point where x = 0),
  2. a positive direction (for example, to the right or upward),
  3. a unit (meters).

The position x of an object is its signed distance from the origin. A cart at x = +3.0 m is 3 m on the positive side; at x = โˆ’2.0 m it is 2 m on the negative side. The choice of origin is free. Pick whatever makes the problem easiest, often the starting point.

Displacement

Displacement is the change in position:

ฮ”x = x_final โˆ’ x_initial

The Greek letter ฮ” (delta) means "change in". Displacement is a vector: in one dimension its sign gives the direction. If a cart moves from x = 2 m to x = 7 m, then ฮ”x = +5 m. If it moves from x = 7 m to x = 2 m, then ฮ”x = โˆ’5 m.

Distance traveled

Distance is the total length of the path, always a positive scalar. A runner who goes 100 m east and then 100 m back west has traveled 200 m but has a displacement of 0 m.

Quantity Type Can be negative? Round trip of 100 m out and back
Distance scalar No 200 m
Displacement vector Yes 0 m

Distance vs displacement

Distance total path length
Displacement start to end, with direction
1 / 2

Worked example

A delivery robot starts at x = 0. It drives to x = +12 m, then reverses to x = +5 m, then continues to x = โˆ’3 m.

  • Distances of each leg: 12 m, 7 m and 8 m, so the distance traveled is 27 m.
  • Overall displacement: ฮ”x = โˆ’3 โˆ’ 0 = โˆ’3 m.

The robot ended 3 m on the negative side of the origin, even though it covered 27 m of path.

Python Distance and displacement from waypoints

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Plotting the path

A position-time graph shows x on the vertical axis against t on the horizontal axis. Here is the robot's trip, assuming a steady pace within each leg.

Python Robot position-time graph

Press Run (or Ctrl + Enter) to see the result here.

Program input ยท what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The times in this plot are made up for illustration. Notice how the line goes up when the robot moves in the positive direction and down when it reverses.

Choosing the origin wisely

If a ball is thrown upward from a roof, you might choose the roof as x = 0, or the ground. Either is allowed as long as you stay consistent. Displacement, ฮ”x, does not depend on this choice, but position x does. Positions are "where"; displacements are "how far and which way".

Writing the coordinate system on your sketch (origin, positive arrow) before starting is the best way to avoid sign mistakes.

Common mistakes

  • Reporting a displacement without a sign (or direction) in one dimension.
  • Adding distances when the problem asks for displacement.
  • Mixing up x (position) with ฮ”x (change in position).

Check your understanding

Quick check ยท 4 questions

of 4 answered You scored / 4 ยท perfect!

  1. 1. A cart moves from x = 8 m to x = 3 m. What is its displacement?

    ฮ”x = 3 โˆ’ 8 = โˆ’5 m, so 5 m in the negative direction.
  2. 2. A student runs one full lap of a 400 m track and stops at the start. Displacement?

    Start and end are the same point, so displacement is zero even though the distance is 400 m.
  3. 3. Which statement about distance is true?

    Distance is path length, a non-negative scalar.
  4. 4. Choosing a different origin changes

    Positions are measured from the origin, but differences between positions do not change.

Summary

  • Position is the signed location on an axis; the origin and positive direction are chosen by you.
  • Displacement ฮ”x = x_final โˆ’ x_initial is a vector; distance is total path length.
  • A round trip has zero displacement but non-zero distance.
  • Always show the coordinate system on your sketch.

Next: Speed and Velocity