We can describe the motion of a body in words, with formulas, with a table – or with a graph. A graph is often the quickest way to see how a body moves: whether it is standing still, moving at a constant velocity, speeding up or braking. On this page you will meet three graphs: position against time (s–t), velocity against time (v–t) and acceleration against time (a–t), for uniform motion and for uniformly accelerated motion in a straight line.
Choose a ready-made motion or set the starting position s0, the initial velocity v0 and the acceleration a yourself, then click Start. The car moves along a 100 m road and the graphs are drawn live. Click New challenge and try to match the target motion.
Arrows above the car: green – velocity, red – acceleration. A negative velocity means that the car is moving backwards (to the left).
To describe motion we choose a reference point and measure the position of the body from it – here it is the 0 m mark at the start of the road. Speed tells us how far the body travels in a unit of time:
v = s / t (unit: m/s; 1 m/s = 3.6 km/h)
The body moves in a straight line and travels equal distances in equal time intervals – the velocity is constant. If the body started at position s0:
s = s₀ + v · t
Example: a cyclist rides at a constant speed of 5 m/s. In 10 s the cyclist travels s = 5 · 10 = 50 m.
| t (s) | 0 | 2 | 4 | 6 | 8 | 10 |
|---|---|---|---|---|---|---|
| s (m) | 0 | 10 | 20 | 30 | 40 | 50 |
On the v–t graph the distance travelled is the area under the graph: a rectangle 5 m/s high and 10 s wide has an area of 50 m.
In uniformly accelerated motion the velocity changes by the same amount in equal time intervals. Acceleration tells us how much the velocity changes in one second:
a = Δv / Δt (unit: m/s²) v = v₀ + a · t s = s₀ + v₀ · t + a · t² / 2
Example: a car starts from rest with an acceleration of 2 m/s². After 5 s its velocity is v = 2 · 5 = 10 m/s, and the distance travelled is s = 2 · 5² / 2 = 25 m.
| t (s) | 0 | 1 | 2 | 3 | 4 | 5 |
|---|---|---|---|---|---|---|
| v (m/s) | 0 | 2 | 4 | 6 | 8 | 10 |
| s (m) | 0 | 1 | 4 | 9 | 16 | 25 |
Notice: the velocity grows evenly, while the distance grows as the square of the time (1, 4, 9, 16, 25). The area under the v–t graph is a triangle: ½ · 5 s · 10 m/s = 25 m – the same as from the formula.
| motion | s–t | v–t | a–t |
|---|---|---|---|
| at rest | horizontal line | on the axis (v = 0) | on the axis (a = 0) |
| uniform | sloping line | horizontal line | on the axis (a = 0) |
| uniformly accelerated | parabola, getting steeper | line sloping upwards | line above the axis |
| braking (slowing down) | parabola, getting flatter | line sloping downwards | line below the axis |
A common mistake: a graph is not a picture of the path the body takes. The car in the simulation drives along a straight road, but its s–t graph can be a curve.
Solve the problem, then check the solution. You can also check the motions in the simulation.
t = 20 min = 1200 s; s = v · t = 1.5 · 1200 = 1800 m = 1.8 km.
The graph is a sloping straight line, so the motion is uniform: v = 60 m / 12 s = 5 m/s.
It stops when v = 0: 0 = 20 − 4 · t, so t = 5 s. Distance: s = 20 · 5 − 4 · 5² / 2 = 100 − 50 = 50 m (or the area of the triangle under the v–t graph: ½ · 5 · 20 = 50 m).
a = (10 − 4) / 3 = 2 m/s². The distance is the area of the trapezium under the graph: (4 + 10) / 2 · 3 = 21 m.
The body is at rest at position 30 m – its position does not change, so its velocity is zero. In the simulation: s0 = 30 m, v0 = 0, a = 0.
1. The s–t graph of a body is a sloping straight line. How does the body move?
2. What does the slope (steepness) of an s–t graph show?
3. What is the area under a v–t graph?
4. A body starts from rest with an acceleration of 2 m/s². What is its velocity after 3 s?
5. A v–t graph is a sloping line that goes down to zero. What is the body doing?
Next: free fall – uniformly accelerated motion caused by gravity. How to make animations like this in JavaScript: introduction to p5.js.
🛠 Build this kind of simulation yourself: Introduction to p5.js – physics animations in JavaScript
Motion graphs – for teachers – lesson plan
Level: Age 11–12 (uniform motion); age 12–13 (uniformly accelerated motion); first year of secondary school
Students work in pairs on “challenges”: one clicks “New challenge”, the other reads the starting position, velocity and acceleration from the graph, sets them and checks with the “Check” button. Before that, for each ready-made motion they sketch all three graphs in their notebooks and compare them with the simulation.