Distance, speed, acceleration

Three graphs of one motion over 10 seconds. Pick a graph to draw on and the other two follow: going down a graph is taking the slope, going up is adding up the area. Press play to watch it move. Scroll down for how it works.

How the three graphs are linked

The pictures below use the motion above. Pick another preset or draw something and they change with it.

1Distance: where is it?

The top graph says where the object is at each moment, in metres from the start. Read it like a diary: flat means standing still, going up means moving forward, going down means coming back.

Steep means fast. That one word, steep, is where velocity comes from.

Distance over time. The dots are one second apart: far apart means fast.

2Velocity is the slope of distance

Take two moments, a gap h apart. Distance gained divided by time taken is the average speed over that gap: the slope of the red line.

average speed = (s(t + h) − s(t)) / h

Now shrink the gap. The red line swings round until it just touches the curve: the tangent. Its slope is the velocity at that one instant. That limit is the derivative, written v = ds/dt.

The gap h shrinks; the average speed settles on the velocity.

3Acceleration is the slope of velocity

Do the same trick again, this time on the velocity graph. How fast the velocity changes is the acceleration, a = dv/dt, in metres per second, per second.

Positive acceleration means the velocity is going up. Braking while driving forward is negative acceleration. Going round in circles at a steady speed? In two dimensions that's acceleration too, because the direction changes.

And you can keep going: the slope of acceleration is called jerk. It's what you feel when a bus pulls away suddenly.

The velocity graph with its tangent sliding along; its slope is the acceleration below.

4Going back up: the area under the curve

If you know the velocity, how far did you go? Over a short moment, distance = velocity × time: a thin rectangle under the velocity graph. Add up all the thin rectangles.

The thinner they get, the closer the sum comes to the exact area: the integral. Area under velocity is distance travelled; area under acceleration is the change in velocity. Area below the axis counts as negative: going backwards.

Rectangles under the velocity graph, getting thinner.

5Why your drawing needs smoothing

Any hand-drawn line wobbles a little. A wobble is a tiny, steep up-and-down, and the slope only cares about steepness. So velocity turns a small wobble into a big one, and acceleration turns that into chaos.

Area does the opposite: adding things up averages wobbles away. That's why drawing on the acceleration graph gives silky distance curves, while drawing distance needs the smoothing slider. Try it with smoothing at 0.

The same slightly wobbly line (top), its slope (middle) and the slope of that (bottom), without smoothing.

Fun facts

Galileo's ramps

Galileo rolled balls down gentle ramps and found the distance grows with the square of the time: 1, 4, 9, 16. He published it in 1638, long before anyone had calculus to explain why.

Two inventors, one big row

Newton and Leibniz each invented calculus in the late 1600s, independently. They argued for years over who was first. We still write dy/dx, which is Leibniz's notation.

Snap, crackle, pop

After velocity, acceleration and jerk, the next slopes are nicknamed snap, crackle and pop. Engineers really do limit jerk in lifts, trains and roller coasters so rides feel smooth.

The fastest human

Usain Bolt reached about 12.4 m/s (44.7 km/h) during his 2009 world-record 100 m. Above, that would be a distance line rising 12.4 metres every second.

What a fast car feels like

A car that goes from 0 to 100 km/h in 5 seconds accelerates at about 5.6 m/s² on average, a bit more than half of what gravity does to a falling stone (9.81 m/s²).

Pilots and g

Fighter pilots can take about 9 g, nine times the pull of gravity, for a few seconds, with special suits and breathing. Most people pass out somewhere around 4 to 6 g.