AP Calculus AB and BC glossary

Estimating a Derivative From a Table

Also called: Approximating a derivative from data, Symmetric difference quotient

Estimating a derivative from a table means approximating f prime at a point with a difference quotient built from the nearest table values. Divide the change in the output by the change in the input over the tightest interval that brackets the point, taking a row from each side when the table offers one.

f(c)f(b)f(a)ba(a<c<b)f'(c) \approx \frac{f(b) - f(a)}{b - a} \quad (a < c < b)

A table hands you finitely many points, so no limit is available and the best you can do is a secant slope over the tightest interval that brackets the point. Suppose the table gives f(2)=3f(2) = 3, f(4)=8f(4) = 8, f(5)=11f(5) = 11, f(6)=15f(6) = 15 and f(8)=20f(8) = 20. The rows either side of x=5x = 5 give f(5)15864=3.5f'(5) \approx \frac{15 - 8}{6 - 4} = 3.5.

Straddling the point usually beats leaning to one side of it. The tightest one-sided estimates here are 11854=3\frac{11 - 8}{5 - 4} = 3 and 151165=4\frac{15 - 11}{6 - 5} = 4, and each describes an average rate over an interval lying entirely on one side of x=5x = 5. The centred quotient is the length weighted average of those two, so it always lands between them. When the rows sit at equal distance hh either side of the point, as they do here with h=1h = 1, that quotient takes the symmetric form.

f(a)f(a+h)f(ah)2h(equally spaced rows only)f'(a) \approx \frac{f(a+h) - f(a-h)}{2h} \qquad \text{(equally spaced rows only)}

Usually is the honest word. For a smooth ff with equally spaced rows the centred estimate carries error of order h2h^2 while a one-sided estimate carries error of order hh, which is why the centred one is the standard choice; neither is exact, and a one-sided value can land closer. Take f(x)=x4f(x) = x^4 near a=1a = 1 with h=1h = 1: the centred quotient gives 1602=8\frac{16 - 0}{2} = 8 and the backward one gives 101=1\frac{1 - 0}{1} = 1, against the true f(1)=4f'(1) = 4.

The mistake

Reaching for the first and last rows out of habit. Here that gives 20382=176\frac{20 - 3}{8 - 2} = \frac{17}{6}, about 2.832.83, against 3.53.5 from the rows either side of x=5x = 5, and any behaviour near the point is averaged away. Write the result with an approximation sign and the correct units, since a secant slope is standing in for a tangent slope.

Appears in: Unit 2: Defining the Derivative