Defining average and instantaneous rates of change at a point
AP Calculus AB/BC · Advanced Placement
The speedometer problem
A trip of 120 miles in 2 hours is 60 miles per hour on average. But at some instant your speedometer read 45, at another it read 72. That reading is a different kind of speed: how fast you were going *right now*.
Calculus is the tool that turns that second idea into math.
Average rate of change
For a function f between x = a and x = b:
\text{average rate} = \frac{f(b) - f(a)}{b - a}
This is just the slope of the secant line through the two points on the graph.
{{illustration:secant}}
Instantaneous rate of change
Now slide the second point closer and closer to the first. The secant line pivots and settles into the tangent line, and its slope is the instantaneous rate:
f'(a) = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h}
Worked example: f(x) = x^2 at x = 1
1. Write the difference quotient: \dfrac{(1+h)^2 - 1^2}{h}. 2. Expand: \dfrac{1 + 2h + h^2 - 1}{h}. 3. Simplify the top: \dfrac{2h + h^2}{h}. 4. Cancel h: 2 + h. 5. Let h \to 0: the slope is \mathbf{2}.
So at x = 1 the curve is rising 2 units for every 1 unit across. Check against the graph: the secant slopes 4, 3, 2.1, \dots were all squeezing down to 2.
Why you can't just plug in h = 0
You'd get \frac{0}{0}, which is undefined. The limit is the way around that: it asks what the quotient approaches, not what it equals at h = 0.
Watch out
- "Average rate" over an interval and "instantaneous rate" at a point have the same units (like miles per hour) but answer different questions. - Position gives *velocity* when you take its rate of change, and velocity gives *acceleration*.