Your car's speedometer does not report your average speed for the trip. It reports how fast you are going right now, at this instant. But "right now" is a problem for the formula from the last topic: a rate needs a change in input on the bottom, and at a single instant there is no interval at all — the denominator would be zero. The way around this is beautifully simple. Keep using intervals, but make them smaller and smaller, and watch where the answers are heading.
From secant to tangent
Fix a point on a curve and pick a second point a little to the right. The secant line through them has a slope you can compute. Now slide the second point closer to the first. The secant pivots, and its slope changes — but not wildly. It homes in on one particular value: the slope of the tangent line, the line that just touches the curve at and runs in the same direction the curve is running at that exact spot. That tangent slope is the instantaneous rate of change of at .
The difference quotient
To slide the second point in a controlled way, give the gap a name. Let be the horizontal distance from to the second input, so the second point is . The slope of that secant is the difference quotient: the run is , so the lands neatly in the denominator.
A table of shrinking intervals
| h | a + h | f(a + h) | Difference quotient |
|---|---|---|---|
| 0.1 | 2.1 | 9.261 | 12.61 |
| 0.01 | 2.01 | 8.120601 | 12.0601 |
| 0.001 | 2.001 | 8.012006001 | 12.006001 |
| 0.0001 | 2.0001 | 8.00120006... | 12.00060001 |
The most reliable numerical method is exactly this: choose several values of , each ten times smaller than the last, and compute the difference quotient for each. Here and , so , and the digits are settling — , then , then , then . Each extra decimal place of accuracy costs one more row. The instantaneous rate of change of at is . Keep shrinking until the leading digits of two consecutive rows agree to the precision you need, then report that value.
Two refinements: centred differences and algebra
Using a point on one side only is called a one-sided or forward estimate, and it is usually slightly off because the curve bends. A much better estimate for the same amount of work uses one point on each side of — the centred difference, . The run is now , which is why the denominator doubles. Averaging the behaviour on the left with the behaviour on the right makes the two errors largely cancel.
When you have a formula rather than a table, there is an exact route. Expand , subtract , and you will find that every surviving term in the numerator contains a factor of . Divide it out — legal, because — and you are left with a simple expression in with no fraction. Now let become extremely small: every term still carrying an shrinks toward nothing, and whatever is left over is the exact instantaneous rate of change. This is the only exact method used in this course; there are no shortcut rules for it here.