Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Explorations › Feel the change › lesson 1 of 6

Speed from a graph

A distance–time graph hides the speed in its steepness. Drive a car and watch the slope tell you how fast it is going.

Calculus is the maths of change. Before any symbols, it starts with something you already feel in a car: how fast you are going is how quickly the distance changes.

Drive the car below. As it moves, the graph behind it draws distance against time.

Steep means fast

Pick Steady. The car covers 10 metres every second, so the graph is a straight line that climbs 10 for every 1 across. That climb per step across is the slope:

speed=change in distancechange in time=80 m8 s=10 m/s\text{speed} = \frac{\text{change in distance}}{\text{change in time}} = \frac{80\ \text{m}}{8\ \text{s}} = 10\ \text{m/s}speed=change in timechange in distance​=8 s80 m​=10 m/s

Now pick Speeding up. The graph starts flat and gets steeper and steeper. There is no single slope any more: the speed is different at every moment.

Speed right now

The blue line touches the curve at the yellow point and leans exactly as steeply as the curve does there. It is called the tangent, and its slope is the speed at that instant. Scrub the time slider and watch it tilt.

Compare it with the average so far: total distance ÷ total time. When the car is speeding up, the speed now is always bigger than the average, because the slow start drags the average down.

Think of it like this

A speedometer shows the slope of your distance graph, live. A trip computer's "average speed" shows the slope of a line from the start to now.

Flat means stopped

Pick Stop and go. Between 3 and 5 seconds the line goes flat: time passes, distance does not change, the slope is 0. Then it climbs again, more steeply than before.

Worked example

A cyclist rides 30 m in 3 s, waits 2 s at a light, then rides 50 m in 3 s. Speeds: 30÷3=1030 ÷ 3 = 1030÷3=10 m/s, then 0, then 50÷3≈16.750 ÷ 3 ≈ 16.750÷3≈16.7 m/s. Average for the whole trip: 80÷8=1080 ÷ 8 = 1080÷8=10 m/s.

What to remember

  • Speed is the slope of a distance–time graph: change in distance ÷ change in time.
  • A straight line means a steady speed; a curve means the speed is changing.
  • The tangent at a point gives the speed at that instant.
  • A flat stretch means the object is not moving.
Next