What a derivative is
A derivative tells us how fast something changes. To see what that means, let us follow a car that sets off from a standstill and speeds up. Say that after t seconds it has driven t squared metres. After 1 second it has gone 1 metre, after 3 seconds 9 metres, and after 5 seconds 25 metres. We call the distance after t seconds f(t), so here f(t) is t squared.
Average speed
Between t equals 3 and t equals 5, the car goes from 9 metres to 25 metres, so it covers 16 metres in 2 seconds. Its average speed is
metres per second. On the graph of the distance, that is the slope of the line through the two points: it rises 16 for every 2 it goes across.
But the car speeds up all the time, so at t equals 3 its speedometer shows less than 8. How can we find the speed at exactly that moment?
Shorter and shorter times
We can take the average speed over a shorter time instead. Between t equals 3 and t equals 4, the car covers 16 minus 9 equals 7 metres in 1 second, so 7 metres per second. Between 3 and 3.5 seconds, it is 6.5 metres per second. The shorter the time, the closer we get to the speed at t equals 3 itself.
Let us call the length of the time Δt ("delta t"). From t equals 3 to t equals 3 plus Δt, the car covers the quantity 3 plus Δt, squared minus 9 metres in Δt seconds. So its average speed is
Multiplying out the square, the 9s cancel:
and dividing every term on top by Δt gives
Now we can let Δt get as small as we like. As it goes towards 0, the average speed goes towards 6. We write that as a limit:
So at t equals 3, the car's speed is exactly 6 metres per second. On the graph, the lines through two points close in on a line that just touches the curve at t equals 3: the tangent. Its slope, 6, is the slope of the graph at that point.
The speed at one moment is the limit of the average speed, as the time gets shorter and shorter.
The derivative
We can do the same at any moment t, not just at 3. The average speed from t to t plus Δt is
and as Δt goes towards 0, that goes towards 2 t. So after t seconds the speed is 2 t metres per second: 6 after 3 seconds, 10 after 5 seconds.
This new function, which gives the slope of the graph at every point, is the derivative. It is written f′(t), read "f prime of t", or with a d/dt in front of what we differentiate:
The letter t was handy for time, but the letter itself doesn't matter. In exercises it is nearly always x, so the same result is usually written
The derivative by its definition shows how to find derivatives this way, from the limit, and the topic Limits has exercises for it. The rules in the next articles are shortcuts for the same thing.
The mountain
A derivative doesn't have to be about time. Say f(x) is how high we are on a mountain path after walking x metres across. Then f′(x) is how steep the path is:
- On the way up, the path rises, and f′(x) is positive. A steepness of 0.2 means it rises 0.2 metres for every metre across.
- At the very top, the path is level for a moment, and f′(x) is 0.
- On the way down, it falls, and f′(x) is negative.
The derivative is the slope of a graph at each point: how fast the function changes there.