What is a derivative, intuitively? Slopes, rates of change and tangent lines
If you've ever looked at a car's speedometer, you've read a derivative. Speed is the rate at which position changes over time, at one particular instant. Calculus makes that idea precise.
Starting with average rate of change
If you drive 120 km in 2 hours, your average speed is 60 km/h. On a graph of distance against time, that's the slope of a straight line (a secant) connecting the start and end points.
Zooming in
But your speed wasn't 60 the whole time. To find your speed at exactly 1:15pm, imagine measuring the average speed over smaller and smaller intervals around that moment: 10 minutes, 1 minute, 1 second... The values settle toward a single number. That limiting value is the derivative.
Geometrically, the secant line becomes the tangent line: the straight line that just touches the curve at that point and matches its direction.
The formal definition, in words
The derivative of f at x is the limit, as h shrinks to zero, of [f(x + h) − f(x)] / h. That's "change in output divided by change in input" over a vanishingly small interval.
A quick example
For f(x) = x², the derivative is 2x. At x = 3, the curve is rising with a slope of 6: increase x a tiny bit, and f increases about six times as much.
Where derivatives show up
- Physics – velocity is the derivative of position; acceleration is the derivative of velocity.
- Economics – marginal cost is the derivative of total cost.
- Optimisation – maxima and minima often occur where the derivative is zero. Machine learning training uses derivatives (gradients) to find which way to adjust.
Discussion: What analogy made derivatives make sense to you? Do you think calculus should be taught with more pictures and fewer rules?
Comments · 4
The programmer's version: a derivative is how fast a value changes between two frames. That's how physics engines move things smoothly.
Zooming in on a curve until it looks like a straight line is the trick. That line's slope is the derivative.
So is acceleration just the derivative of speed, and speed the derivative of position? Chains of derivatives?
Exactly right. Speed is the derivative of position, and acceleration is the derivative of speed.