Plotting a distance–time graph
A distance–time graph shows how the distance covered by a moving body changes as time passes. Time is the independent quantity, so it goes along the x-axis. Distance depends on time, so it goes up the y-axis.
To draw one on graph paper:
- Label both axes with the quantity and its unit, for example "t (s)" and "S (m)".
- Pick a scale so that your largest readings fill most of the paper, and number the axis lines in equal steps.
- Plot every pair of readings as a small, clear point.
- Join the points with a ruler if they lie on a straight line, or with one smooth curve if they do not.
Four shapes to recognise
Your learning outcomes expect you to look at the shape of a distance–time graph and say what the body is doing. The steepness of the line tells you how much distance is being added each second.
| Shape of the graph | What the body is doing | Everyday example |
|---|---|---|
| Horizontal line, parallel to the time axis | At rest: the distance is not changing | A rickshaw waiting at a red light |
| Straight line sloping upwards | Moving with constant (uniform) speed | A train cruising on a straight track |
| Curve that becomes steeper | Accelerating: the speed is increasing | A car joining the motorway from a slip road |
| Curve that becomes less steep and flattens out | Decelerating: the speed is decreasing | A bus slowing down as it reaches a stop |
A steeper straight line means a greater speed. If two cyclists are plotted on the same axes, the one with the steeper line is the faster of the two.
The gradient is the speed
The gradient (slope) of a line is its rise divided by its run. Choose two points on a straight distance–time line, at times and , where the distances are and :
Here is the distance covered in the time . Distance divided by time is speed, so the gradient of a distance–time graph equals the speed of the body. For a straight line the gradient is the same everywhere, which is why a straight line means uniform speed. On a curved graph, the gradient of the straight line joining two points gives the average speed between those two times.
Worked numerical
A motorcyclist rides along Canal Road. The distance–time graph is made of three straight sections:
- O to A: from 0 s to 60 s, the distance rises from 0 m to 900 m
- A to B: from 60 s to 100 s, the distance stays at 900 m
- B to C: from 100 s to 160 s, the distance rises from 900 m to 1500 m
Find the speed in each section and the average speed for the whole ride.
Formula:
O to A:
A to B: the line is horizontal, so the gradient is zero. The rider is at rest, perhaps at a signal, and .
B to C:
Average speed:
Section OA is steeper than BC, which agrees with its larger speed. The average speed is lower than both moving speeds because the 40 s stop counts in the total time.
See the shapes in the simulation
In the simulation above, the distance–time graph uses your textbook's axes: in seconds across and in metres upwards. Choose Steady and a straight line grows from the origin. Drag across the graph to draw a tangent. Its gradient reads 8 m/s (the same unit as ), matching the velocity readout.
Next choose Speeding up and watch the line curve upwards while the tangent gets steeper. Finally choose Braking. The curve bends over and becomes a flat line once the car stops at 5 s, with fixed at 50 m. Between them, these three runs draw all four shapes from the table.