How fast is something changing? Over a stretch of time, that’s an average rate of change : total change divided by time. But a car’s speedometer shows how fast you’re going right now , at one instant. Calculus starts exactly here: we use limits to turn average rates into an instantaneous rate of change , which is the big idea behind the derivative.
The average rate of change of f f f on the interval from x = a x = a x = a to x = b x = b x = b is
Δ y Δ x = f ( b ) − f ( a ) b − a \frac{\Delta y}{\Delta x} = \frac{f(b) - f(a)}{b - a} Δ x Δ y = b − a f ( b ) − f ( a )
On a graph, this is the slope of the secant line through the points ( a , f ( a ) ) (a, f(a)) ( a , f ( a )) and ( b , f ( b ) ) (b, f(b)) ( b , f ( b )) .
The units are “output units per input unit”. If f ( t ) f(t) f ( t ) is litres of water and t t t is in minutes, the average rate of change is in litres per minute.
If the second point is a small step h h h away from a a a , then b = a + h b = a + h b = a + h and the average rate of change becomes the difference quotient :
f ( a + h ) − f ( a ) h \frac{f(a + h) - f(a)}{h} h f ( a + h ) − f ( a )
It is still the slope of a secant line, just written with h h h instead of b b b .
Now slide the second point toward the first, so h h h gets closer and closer to 0 0 0 . The secant lines approach the tangent line , and their slopes approach the instantaneous rate of change at x = a x = a x = a :
instantaneous rate at a = lim h → 0 f ( a + h ) − f ( a ) h \text{instantaneous rate at } a = \lim_{h \to 0} \frac{f(a + h) - f(a)}{h} instantaneous rate at a = h → 0 lim h f ( a + h ) − f ( a )
You can’t just substitute h = 0 h = 0 h = 0 , because that gives 0 0 \tfrac{0}{0} 0 0 . Instead, simplify the quotient first (usually the h h h cancels), then take the limit.
The curve y = x squared with secant lines from P(1, 1) to points at x = 3, 2 and 1.5, with slopes 4, 3 and 2.5. As the second point slides toward P, the secants approach the tangent line at P, which has slope 2.
1
2
3
2
4
6
8
P(1, 1)
secant to x = 3: slope 4
secant to x = 2: slope 3
secant to x = 1.5: slope 2.5
tangent at P: slope 2
Secant lines through P ( 1 , 1 ) P(1, 1) P ( 1 , 1 ) on y = x 2 y = x^2 y = x 2 . As the second point moves toward P P P , the slopes 4 , 3 , 2.5 , … 4, 3, 2.5, \dots 4 , 3 , 2.5 , … approach the tangent slope 2 2 2 .
On the next page, this limit gets its official name: the derivative .
Average rate of change Instantaneous rate of change Over an interval [ a , b ] [a, b] [ a , b ] a single point x = a x = a x = a Graph slope of a secant line slope of the tangent line Formula f ( b ) − f ( a ) b − a \dfrac{f(b) - f(a)}{b - a} b − a f ( b ) − f ( a ) lim h → 0 f ( a + h ) − f ( a ) h \displaystyle\lim_{h \to 0} \frac{f(a + h) - f(a)}{h} h → 0 lim h f ( a + h ) − f ( a )
Find the average rate of change of f ( x ) = x 2 − 3 x f(x) = x^2 - 3x f ( x ) = x 2 − 3 x on the interval [ 1 , 4 ] [1, 4] [ 1 , 4 ] .
Solution. Find the outputs at the endpoints:
f ( 4 ) = 16 − 12 = 4 f ( 1 ) = 1 − 3 = − 2 f(4) = 16 - 12 = 4 \qquad f(1) = 1 - 3 = -2 f ( 4 ) = 16 − 12 = 4 f ( 1 ) = 1 − 3 = − 2
f ( 4 ) − f ( 1 ) 4 − 1 = 4 − ( − 2 ) 3 = 6 3 = 2 \frac{f(4) - f(1)}{4 - 1} = \frac{4 - (-2)}{3} = \frac{6}{3} = 2 4 − 1 f ( 4 ) − f ( 1 ) = 3 4 − ( − 2 ) = 3 6 = 2
The secant line from x = 1 x = 1 x = 1 to x = 4 x = 4 x = 4 has slope 2 2 2 .
Water drains from a tank. The volume V ( t ) V(t) V ( t ) , in litres, after t t t minutes is shown below.
t t t (min)0 0 0 2 2 2 5 5 5 9 9 9 V ( t ) V(t) V ( t ) (L)120 120 120 104 104 104 86 86 86 62 62 62
Find the average rate of change of V V V from t = 2 t = 2 t = 2 to t = 9 t = 9 t = 9 , and explain what it means.
Solution.
V ( 9 ) − V ( 2 ) 9 − 2 = 62 − 104 7 = − 42 7 = − 6 L/min \frac{V(9) - V(2)}{9 - 2} = \frac{62 - 104}{7} = \frac{-42}{7} = -6 \text{ L/min} 9 − 2 V ( 9 ) − V ( 2 ) = 7 62 − 104 = 7 − 42 = − 6 L/min
From t = 2 t = 2 t = 2 to t = 9 t = 9 t = 9 minutes, the volume decreases by an average of 6 6 6 litres per minute. The negative sign means the volume is going down.
For f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 , estimate the instantaneous rate of change at x = 1 x = 1 x = 1 using secant slopes, then find it exactly.
Solution. The secant slope from x = 1 x = 1 x = 1 to x = 1 + h x = 1 + h x = 1 + h is ( 1 + h ) 2 − 1 h \dfrac{(1 + h)^2 - 1}{h} h ( 1 + h ) 2 − 1 . Try smaller and smaller h h h , from both sides:
h h h 2 2 2 1 1 1 0.5 0.5 0.5 0.1 0.1 0.1 0.01 0.01 0.01 − 0.01 -0.01 − 0.01 − 0.1 -0.1 − 0.1 secant slope 4 4 4 3 3 3 2.5 2.5 2.5 2.1 2.1 2.1 2.01 2.01 2.01 1.99 1.99 1.99 1.9 1.9 1.9
The slopes are closing in on 2 2 2 . To get the exact value, simplify first and then take the limit:
( 1 + h ) 2 − 1 h = 1 + 2 h + h 2 − 1 h = h ( 2 + h ) h = 2 + h ( h ≠ 0 ) \begin{aligned}
\frac{(1 + h)^2 - 1}{h} &= \frac{1 + 2h + h^2 - 1}{h} \\
&= \frac{h(2 + h)}{h} \\
&= 2 + h && (h \ne 0)
\end{aligned} h ( 1 + h ) 2 − 1 = h 1 + 2 h + h 2 − 1 = h h ( 2 + h ) = 2 + h ( h = 0 )
lim h → 0 ( 2 + h ) = 2 \lim_{h \to 0} (2 + h) = 2 h → 0 lim ( 2 + h ) = 2
The instantaneous rate of change at x = 1 x = 1 x = 1 is exactly 2 2 2 . These are the secant lines in the figure above.
A ball is thrown upward. Its height in metres after t t t seconds is s ( t ) = 20 t − 4.9 t 2 s(t) = 20t - 4.9t^2 s ( t ) = 20 t − 4.9 t 2 . Find its instantaneous velocity at t = 1 t = 1 t = 1 .
Solution. Velocity is the rate of change of height. Start with the difference quotient at t = 1 t = 1 t = 1 . First, s ( 1 ) = 20 − 4.9 = 15.1 s(1) = 20 - 4.9 = 15.1 s ( 1 ) = 20 − 4.9 = 15.1 , and
s ( 1 + h ) = 20 ( 1 + h ) − 4.9 ( 1 + h ) 2 = 20 + 20 h − 4.9 − 9.8 h − 4.9 h 2 = 15.1 + 10.2 h − 4.9 h 2 \begin{aligned}
s(1 + h) &= 20(1 + h) - 4.9(1 + h)^2 \\
&= 20 + 20h - 4.9 - 9.8h - 4.9h^2 \\
&= 15.1 + 10.2h - 4.9h^2
\end{aligned} s ( 1 + h ) = 20 ( 1 + h ) − 4.9 ( 1 + h ) 2 = 20 + 20 h − 4.9 − 9.8 h − 4.9 h 2 = 15.1 + 10.2 h − 4.9 h 2
So
s ( 1 + h ) − s ( 1 ) h = 10.2 h − 4.9 h 2 h = 10.2 − 4.9 h \frac{s(1 + h) - s(1)}{h} = \frac{10.2h - 4.9h^2}{h} = 10.2 - 4.9h h s ( 1 + h ) − s ( 1 ) = h 10.2 h − 4.9 h 2 = 10.2 − 4.9 h
lim h → 0 ( 10.2 − 4.9 h ) = 10.2 \lim_{h \to 0} (10.2 - 4.9h) = 10.2 h → 0 lim ( 10.2 − 4.9 h ) = 10.2
At t = 1 t = 1 t = 1 s, the ball is rising at 10.2 10.2 10.2 m/s.
Subtracting in a different order on the top and bottom. f ( b ) − f ( a ) b − a \dfrac{f(b) - f(a)}{b - a} b − a f ( b ) − f ( a ) is right, and so is f ( a ) − f ( b ) a − b \dfrac{f(a) - f(b)}{a - b} a − b f ( a ) − f ( b ) . Mixing them, like f ( b ) − f ( a ) a − b \dfrac{f(b) - f(a)}{a - b} a − b f ( b ) − f ( a ) , flips the sign.
Substituting h = 0 h = 0 h = 0 too early. That always gives 0 0 \tfrac{0}{0} 0 0 , which tells you nothing. Expand and simplify until the h h h in the denominator cancels, then let h → 0 h \to 0 h → 0 .
Expanding f ( a + h ) f(a + h) f ( a + h ) wrong. ( 1 + h ) 2 (1 + h)^2 ( 1 + h ) 2 is 1 + 2 h + h 2 1 + 2h + h^2 1 + 2 h + h 2 , not 1 + h 2 1 + h^2 1 + h 2 . Put a + h a + h a + h in brackets everywhere x x x appears, then expand carefully.
Leaving out units or meaning. On the AP exam, a rate in context needs units and a sentence: “the volume is decreasing at an average rate of 6 6 6 litres per minute from t = 2 t = 2 t = 2 to t = 9 t = 9 t = 9 ”.
Averaging the outputs instead of finding the rate. The average rate of change is the change in output divided by the change in input. It is not f ( a ) + f ( b ) 2 \tfrac{f(a) + f(b)}{2} 2 f ( a ) + f ( b ) .
1. (Warm-up) Find the average rate of change of g ( x ) = 2 x 2 + 1 g(x) = 2x^2 + 1 g ( x ) = 2 x 2 + 1 on [ 0 , 3 ] [0, 3] [ 0 , 3 ] .
Solution g ( 3 ) = 19 g(3) = 19 g ( 3 ) = 19 and g ( 0 ) = 1 g(0) = 1 g ( 0 ) = 1 , so
g ( 3 ) − g ( 0 ) 3 − 0 = 19 − 1 3 = 6 \frac{g(3) - g(0)}{3 - 0} = \frac{19 - 1}{3} = 6 3 − 0 g ( 3 ) − g ( 0 ) = 3 19 − 1 = 6
2. (Warm-up) The temperature outside was 4 4 4 °C at 6:00 a.m., 10 10 10 °C at 9:00 a.m., and 13 13 13 °C at noon. Find the average rate of change of the temperature from 6:00 a.m. to noon, with units.
Solution From 6:00 a.m. to noon is 6 6 6 hours:
13 − 4 6 = 9 6 = 1.5 °C per hour \frac{13 - 4}{6} = \frac{9}{6} = 1.5 \text{ °C per hour} 6 13 − 4 = 6 9 = 1.5 °C per hour On average, the temperature rose 1.5 1.5 1.5 °C per hour.
3. (Warm-up) Simplify the difference quotient f ( a + h ) − f ( a ) h \dfrac{f(a + h) - f(a)}{h} h f ( a + h ) − f ( a ) for f ( x ) = 5 x − 2 f(x) = 5x - 2 f ( x ) = 5 x − 2 . Why does your answer make sense?
Solution 5 ( a + h ) − 2 − ( 5 a − 2 ) h = 5 a + 5 h − 2 − 5 a + 2 h = 5 h h = 5 \frac{5(a + h) - 2 - (5a - 2)}{h} = \frac{5a + 5h - 2 - 5a + 2}{h} = \frac{5h}{h} = 5 h 5 ( a + h ) − 2 − ( 5 a − 2 ) = h 5 a + 5 h − 2 − 5 a + 2 = h 5 h = 5 The graph is a line with slope 5 5 5 , so every secant line (and the tangent line) has slope 5 5 5 , no matter which points you pick.
4. (Core) For f ( x ) = x 3 f(x) = x^3 f ( x ) = x 3 , find the average rate of change on [ 1 , 1.1 ] [1, 1.1] [ 1 , 1.1 ] and on [ 1 , 1.01 ] [1, 1.01] [ 1 , 1.01 ] . Use your answers to guess the instantaneous rate of change at x = 1 x = 1 x = 1 .
Solution 1.1 3 − 1 0.1 = 1.331 − 1 0.1 = 3.31 \frac{1.1^3 - 1}{0.1} = \frac{1.331 - 1}{0.1} = 3.31 0.1 1. 1 3 − 1 = 0.1 1.331 − 1 = 3.31 1.01 3 − 1 0.01 = 1.030301 − 1 0.01 = 3.0301 \frac{1.01^3 - 1}{0.01} = \frac{1.030301 - 1}{0.01} = 3.0301 0.01 1.0 1 3 − 1 = 0.01 1.030301 − 1 = 3.0301 The slopes are approaching 3 3 3 , so the instantaneous rate at x = 1 x = 1 x = 1 appears to be 3 3 3 .
5. (Core) Use the limit of the difference quotient to find the instantaneous rate of change of f ( x ) = x 2 + 4 x f(x) = x^2 + 4x f ( x ) = x 2 + 4 x at x = 2 x = 2 x = 2 .
Solution f ( 2 ) = 12 f(2) = 12 f ( 2 ) = 12 and f ( 2 + h ) = ( 2 + h ) 2 + 4 ( 2 + h ) = 4 + 4 h + h 2 + 8 + 4 h = 12 + 8 h + h 2 f(2 + h) = (2 + h)^2 + 4(2 + h) = 4 + 4h + h^2 + 8 + 4h = 12 + 8h + h^2 f ( 2 + h ) = ( 2 + h ) 2 + 4 ( 2 + h ) = 4 + 4 h + h 2 + 8 + 4 h = 12 + 8 h + h 2 .
lim h → 0 12 + 8 h + h 2 − 12 h = lim h → 0 h ( 8 + h ) h = lim h → 0 ( 8 + h ) = 8 \lim_{h \to 0} \frac{12 + 8h + h^2 - 12}{h} = \lim_{h \to 0} \frac{h(8 + h)}{h} = \lim_{h \to 0} (8 + h) = 8 h → 0 lim h 12 + 8 h + h 2 − 12 = h → 0 lim h h ( 8 + h ) = h → 0 lim ( 8 + h ) = 8
6. (Core) Find the instantaneous rate of change of f ( x ) = 1 x f(x) = \dfrac{1}{x} f ( x ) = x 1 at x = 2 x = 2 x = 2 .
Solution Combine the fractions in the numerator over a common denominator:
1 2 + h − 1 2 h = 2 − ( 2 + h ) 2 ( 2 + h ) h = − h 2 h ( 2 + h ) = − 1 2 ( 2 + h ) \begin{aligned}
\frac{\frac{1}{2 + h} - \frac{1}{2}}{h} &= \frac{\frac{2 - (2 + h)}{2(2 + h)}}{h} \\
&= \frac{-h}{2h(2 + h)} \\
&= \frac{-1}{2(2 + h)}
\end{aligned} h 2 + h 1 − 2 1 = h 2 ( 2 + h ) 2 − ( 2 + h ) = 2 h ( 2 + h ) − h = 2 ( 2 + h ) − 1 lim h → 0 − 1 2 ( 2 + h ) = − 1 4 \lim_{h \to 0} \frac{-1}{2(2 + h)} = -\frac{1}{4} h → 0 lim 2 ( 2 + h ) − 1 = − 4 1
7. (Core) A bacteria population is modelled by P ( t ) = 200 + 30 t 2 P(t) = 200 + 30t^2 P ( t ) = 200 + 30 t 2 , where t t t is in hours.
(a) Find the average rate of change of P P P from t = 2 t = 2 t = 2 to t = 5 t = 5 t = 5 .
(b) Find the instantaneous rate of change at t = 2 t = 2 t = 2 .
Solution (a) P ( 5 ) = 200 + 750 = 950 P(5) = 200 + 750 = 950 P ( 5 ) = 200 + 750 = 950 and P ( 2 ) = 200 + 120 = 320 P(2) = 200 + 120 = 320 P ( 2 ) = 200 + 120 = 320 :
950 − 320 5 − 2 = 630 3 = 210 bacteria per hour \frac{950 - 320}{5 - 2} = \frac{630}{3} = 210 \text{ bacteria per hour} 5 − 2 950 − 320 = 3 630 = 210 bacteria per hour (b) P ( 2 + h ) − P ( 2 ) = 30 ( 2 + h ) 2 − 30 ( 4 ) = 30 ( 4 h + h 2 ) P(2 + h) - P(2) = 30(2 + h)^2 - 30(4) = 30(4h + h^2) P ( 2 + h ) − P ( 2 ) = 30 ( 2 + h ) 2 − 30 ( 4 ) = 30 ( 4 h + h 2 ) , so
lim h → 0 30 ( 4 h + h 2 ) h = lim h → 0 30 ( 4 + h ) = 120 \lim_{h \to 0} \frac{30(4h + h^2)}{h} = \lim_{h \to 0} 30(4 + h) = 120 h → 0 lim h 30 ( 4 h + h 2 ) = h → 0 lim 30 ( 4 + h ) = 120 At t = 2 t = 2 t = 2 hours, the population is growing at 120 120 120 bacteria per hour.
8. (Challenge) Find the instantaneous rate of change of f ( x ) = x f(x) = \sqrt{x} f ( x ) = x at x = 4 x = 4 x = 4 . (Hint: multiply the top and bottom by the conjugate.)
Solution 4 + h − 2 h = 4 + h − 2 h ⋅ 4 + h + 2 4 + h + 2 = ( 4 + h ) − 4 h ( 4 + h + 2 ) = 1 4 + h + 2 \begin{aligned}
\frac{\sqrt{4 + h} - 2}{h} &= \frac{\sqrt{4 + h} - 2}{h} \cdot \frac{\sqrt{4 + h} + 2}{\sqrt{4 + h} + 2} \\
&= \frac{(4 + h) - 4}{h\left(\sqrt{4 + h} + 2\right)} \\
&= \frac{1}{\sqrt{4 + h} + 2}
\end{aligned} h 4 + h − 2 = h 4 + h − 2 ⋅ 4 + h + 2 4 + h + 2 = h ( 4 + h + 2 ) ( 4 + h ) − 4 = 4 + h + 2 1 lim h → 0 1 4 + h + 2 = 1 2 + 2 = 1 4 \lim_{h \to 0} \frac{1}{\sqrt{4 + h} + 2} = \frac{1}{2 + 2} = \frac{1}{4} h → 0 lim 4 + h + 2 1 = 2 + 2 1 = 4 1
9. (Challenge) Let f ( x ) = x 2 f(x) = x^2 f ( x ) = x 2 .
(a) Show that the average rate of change of f f f on [ a , b ] [a, b] [ a , b ] is a + b a + b a + b .
(b) Find b > 1 b \gt 1 b > 1 so that the average rate of change on [ 1 , b ] [1, b] [ 1 , b ] is 7 7 7 .
Solution (a) Factor the difference of squares:
b 2 − a 2 b − a = ( b − a ) ( b + a ) b − a = a + b \frac{b^2 - a^2}{b - a} = \frac{(b - a)(b + a)}{b - a} = a + b b − a b 2 − a 2 = b − a ( b − a ) ( b + a ) = a + b (b) 1 + b = 7 1 + b = 7 1 + b = 7 , so b = 6 b = 6 b = 6 . Check: 36 − 1 6 − 1 = 35 5 = 7 \dfrac{36 - 1}{6 - 1} = \dfrac{35}{5} = 7 6 − 1 36 − 1 = 5 35 = 7 .