The idea
A derivative is the slope you see when the change in shrinks to an instant. Average change uses two points on a curve; as those points move together, the secant line connecting them approaches the tangent line at a single point. In optimization, the sign of the derivative tells you which direction is uphill.
For nested functions, use the chain rule:
Differentiate the outside while leaving the inside in place, then multiply by the derivative of the inside. For example:
Real-world: reading a car's speedometer
Average speed uses a whole time interval, but a speedometer estimates the car's speed right now — the instantaneous rate at which position is changing. If position is metres, then , so at seconds the car is going m/s: the derivative converts position into instantaneous velocity.
At x=2, the slope of x² is 2x = 4.
Worked example
- Let
- At , use a nearby point
- The change ratio is
- As , the ratio ; therefore
Cheat sheet
- The derivative is the slope of the tangent line at a single point.
- means increasing; means decreasing; flags a candidate max or min.
- For , — the general pattern is .
- Chain rule: for nested functions.
- Velocity is the derivative of position; acceleration is the derivative of velocity.