The average rate of change of f between two points is the slope of a secant line. To get the rate of change at a single point, move the second point along the curve toward the first. The limit of the secant slopes is the slope of the tangent line: the derivative.
01 · From secant slope to derivative
The slope of the secant line through (a, f(a)) and (b, f(b)) is the average rate of change Δy/Δx = (f(b) − f(a))/(b − a). Let f be defined on an open interval containing a. The derivative of f at a (the slope of the tangent line) is
f′(a) = limx→a (f(x) − f(a))/(x − a) = limh→0 (f(a + h) − f(a))/h,
provided the limit exists. It is the instantaneous rate of change of f with respect to x at x = a. (Put x = a + h to pass from one form to the other.)
02 · Computing f′(a) from the definition
Write the difference quotient, simplify until the factor (x − a) or h cancels, then take the limit by substitution. For f(x) = x² at a = 3: (x² − 9)/(x − 3) = (x + 3)(x − 3)/(x − 3) = x + 3 → 6, so f′(3) = 6.
03 · The equation of the tangent line
The tangent line passes through (a, f(a)) with slope f′(a). In point-slope form: y − f(a) = f′(a)(x − a). For f(x) = x² at x = 3 the point is (3, 9) and the slope is 6, so y − 9 = 6(x − 3), that is, y = 6x − 9.
04 · The derivative as a rate of change
If y = f(x), then f′(a) is measured in units of y per unit of x. If s(t) is a position in meters at time t seconds, s′(a) is the velocity in meters per second. If C(x) is the cost in dollars of making x items, C′(a) is the rate at which cost grows, in dollars per item.
Guided problems · Defining the Derivative
Original problems on difference quotients, derivatives from the definition, and tangent lines. Open a hint if you need one, check your answers, then try another set.
Check your understanding · Defining the Derivative
Answer each question on paper first, then open the answer to check yourself.
Use the definition to find f′(3) for f(x) = x², and the tangent line at x = 3.
Show answer
f′(3) = limx→3 (x² − 9)/(x − 3) = limx→3 (x + 3) = 6. The point is (3, 9), so y − 9 = 6(x − 3), or y = 6x − 9.
Using limh→0 (eʰ − 1)/h = 1, show that the derivative of f(x) = eˣ is eˣ.
Show answer
f′(x) = limh→0 (ex + h − eˣ)/h = limh→0 eˣ(eʰ − 1)/h = eˣ · limh→0 (eʰ − 1)/h = eˣ · 1 = eˣ.
For f(x) = 1/x, find f′(2) from the definition.
Show answer
(f(2 + h) − f(2))/h = (1/(2 + h) − 1/2)/h = (2 − (2 + h))/(2h(2 + h)) = −1/(2(2 + h)) → −1/4. So f′(2) = −1/4.
