AP Calculus AB · Study guide

Estimating Derivatives of a Function at a Point

AP® Calculus AB · Unit 2 · Differentiation: Definition and Fundamental Properties

Estimating a Derivative

Real data rarely comes with a formula, and some formulas are too messy to differentiate on the spot. This guide shows how to estimate a derivative from a table, from a graph, and with a calculator, and why a centered estimate usually wins.

The idea in one paragraph

A derivative is a limit of average rates over shrinking intervals. When you cannot shrink the interval (a table only has its readings) or do not want to (the formula is messy), use an average rate over a small interval as an estimate: \(f'(a) \approx \dfrac{f(b) - f(c)}{b - c}\) with \(c \lt a \lt b\) as close to \(a\) as the information allows. Centering the interval on \(a\) usually gives a better estimate. Always include units: output units per input unit.

1The idea

An estimate of \(f'(a)\) is the slope of a secant line close to the tangent line at \(a\). The closer the two points and the more evenly they sit around \(a\), the closer the secant slope is to the true slope.

Figure 1. Readings 0.4 apart, wide enough to see the difference. The forward secant (x = 1 to 1.4) is visibly steeper than the tangent. The centered secant (x = 0.6 to 1.4) straddles the point, its errors on the two sides nearly cancel, and it runs almost parallel to the tangent.
Worked Example 1 Which estimate is better?

\(f(x) = 2^x\) at \(x = 1\)

  1. 1
    Forward: \(\dfrac{2^{1.1} - 2^{1}}{0.1} \approx 1.435\).
  2. 2
    Centered: \(\dfrac{2^{1.1} - 2^{0.9}}{0.2} \approx 1.387\).
  3. 3
    The true value is \(2\ln 2 \approx 1.386\). The centered estimate is off by about 0.001; the forward estimate is off by about 0.05.
Answer: The centered (symmetric) estimate is much closer, for the same spacing.

2From a table

Worked Example 2 From a table, point in the table

River depth

The depth \(D(t)\) of a river, in feet, \(t\) hours after midnight:

\(t\) (hr)035812
\(D(t)\) (ft)2.13.44.04.65.8

Estimate \(D'(5)\) and interpret it.

  1. 1
    A derivative needs a tiny interval, but the table only offers the readings it has. Use the two readings closest to \(t = 5\) on either side: \(t = 3\) and \(t = 8\).
  2. 2
    \(D'(5) \approx \dfrac{D(8) - D(3)}{8 - 3} = \dfrac{4.6 - 3.4}{5} = 0.24\).
  3. 3
    One-sided alternatives give \(\frac{4.0 - 3.4}{2} = 0.3\) and \(\frac{4.6 - 4.0}{3} = 0.2\). They are acceptable estimates too, but the interval around 5 balances the two sides.
Answer: \(D'(5) \approx 0.24\) ft/hr: at 5 a.m. the river is rising at about 0.24 feet per hour.
Write it like this

“\(D'(5) \approx \dfrac{D(8) - D(3)}{8 - 3} = 0.24\). At \(t = 5\) hours, the depth of the river is increasing at about 0.24 feet per hour.”

Show the quotient you used, then interpret with units and the time.

Worked Example 3 Point not in the table

Use the neighbors that straddle it

Estimate \(f'(2)\) from this table.

\(x\)11.52.53
\(f(x)\)6.27.09.411.1
  1. 1
    There is no reading at \(x = 2\). The closest readings on each side are \(x = 1.5\) and \(x = 2.5\), centered on 2.
  2. 2
    \(f'(2) \approx \dfrac{9.4 - 7.0}{2.5 - 1.5} = 2.4\).
Answer: \(f'(2) \approx 2.4\)
Common Mistake 1 · Using readings far from the point

\(\frac{D(12) - D(0)}{12}\) is a correct average rate over 12 hours, but it is a poor estimate of the rate at \(t = 5\). Use the closest readings available.

Common Mistake 2 · Forgetting that it is an estimate

Write \(\approx\), not \(=\). The table gives an average rate; the derivative is an instantaneous rate, and the two are only close.

3From a graph

Figure 2. Extend the tangent line across the grid and pick two points on it that are far apart. Here the line drops about 2.2 over a run of 4, so the slope is about −0.55.
Worked Example 4 From a graph

Slope of a drawn tangent line

Use Figure 2 to estimate the derivative of the function at \(x = 1\).

  1. 1
    Draw (or imagine) the tangent line at x = 1: it touches the curve there and runs in the same direction.
  2. 2
    Pick two points on the tangent line that are far apart and easy to read. Far-apart points reduce the effect of small reading errors.
  3. 3
    From about \((0, 3.7)\) to about \((4, 1.5)\): \(\dfrac{1.5 - 3.7}{4 - 0} = \dfrac{-2.2}{4} = -0.55\).
Answer: About \(-0.55\). The function is decreasing at \(x = 1\).
Common Mistake 3 · Reading the slope of the curve’s secant instead of the tangent

Two points on the curve itself give a secant slope. For a derivative at a point, the two points must lie on the tangent line, which touches the curve only at that point.

4With a calculator

Worked Example 5 Calculator

\(f(x) = e^{\sin x}\) at \(x = 1\)

  1. 1
    Use the calculator’s numerical derivative (for example, nDeriv on a TI-84, or the derivative template), in radian mode.
  2. 2
    Enter the function, the variable \(x\), and the point 1: the result is about 1.253.
Answer: \(f'(1) \approx 1.253\)
On the calculator

A calculator’s numerical derivative computes a centered difference quotient with a tiny spacing. It is very accurate for smooth functions, but it can report a number at a corner, where no derivative exists. Use it for values, not to decide whether a derivative exists.

Quick reference

SourceEstimate of f′(a)
Table with a in it\(\frac{f(b) - f(c)}{b - c}\), nearest readings c and b on either side of a
Table without aSame idea: the two readings that straddle a
GraphSlope between two far-apart points on the tangent line
Formula, messyCalculator numerical derivative
AlwaysUse ≈, and give units