AP Calculus AB · Topic 2.3 · Reading guide, about 5 min

Approximating a derivative from data or graphs

Estimate a derivative from a table with nearby difference quotients, from a drawn tangent, or with a calculator, with units.

In one minute

Real data rarely comes with a formula. You may have a table of readings, a graph from a sensor, or a function too messy to differentiate by hand. In each case you can still estimate the derivative at a point, because a derivative is just a slope you can measure.

This topic teaches three estimation tools: a difference quotient from nearby table entries, a slope read from a tangent line on a graph, and a calculator's numerical derivative. It also teaches the habit of attaching units, which turns a number into a statement about the world.

Key terms

Estimate of f'(a)
An approximation of the derivative at aa, built from nearby values of ff rather than from a formula for f′f'.
One-sided difference
A slope f(b)−f(a)b−a\frac{f(b)-f(a)}{b-a} using a data point on only one side of aa. Simple, but biased if the function curves.
Symmetric difference
A slope f(a+h)−f(a−h)2h\frac{f(a+h)-f(a-h)}{2h} using points equally far on both sides of aa. Usually closer to f′(a)f'(a) than a one-sided slope.
Nearest data points
The table entries closest to aa on each side. Closer points give a better estimate of the instantaneous rate.
Numerical derivative
A graphing calculator command that estimates f′(a)f'(a) by computing a very small symmetric difference, without a formula for f′f'.
Tangent line from a graph
A line drawn to touch the curve at one point. Its slope, read from two clear points on the line, estimates f′(a)f'(a).
Units of the estimate
Output units per input unit, for example degrees per minute. Include them and say whether the quantity is increasing or decreasing.

Estimating from a table

When a table lists values of ff at several inputs, choose the entries nearest to aa and compute the slope of the secant between them. Because the true derivative is a limit of secant slopes, the narrower the interval, the better the estimate.

If the table has entries on both sides of aa, you have a choice. A slope from aa to a neighbor on one side is a one-sided difference. When the neighbors are equally far away, the symmetric difference f(a+h)−f(a−h)2h\frac{f(a+h)-f(a-h)}{2h} is the usual best choice, and it equals the average of the two one-sided slopes. If the data points are unevenly spaced, use the nearest point on each side and compute the change in output over the change in input between those two points.

Distance d(t) in miles of a cyclist, with t in hours
t (hours)1.01.52.02.53.0
d(t) (miles)12.017.021.024.026.0
Slope to the next entry10864none

A fully worked example

Use the table to estimate the cyclist's speed at t=2t=2, that is d′(2)d'(2), and state what it means.

The entries nearest to t=2.0t=2.0 are at 1.5 and 2.5, equally far away. Step 1, the left slope is 21.0−17.02.0−1.5=40.5=8\frac{21.0-17.0}{2.0-1.5}=\frac{4}{0.5}=8 miles per hour. Step 2, the right slope is 24.0−21.02.5−2.0=30.5=6\frac{24.0-21.0}{2.5-2.0}=\frac{3}{0.5}=6 miles per hour.

Step 3, the symmetric difference uses both neighbors: d(2.5)−d(1.5)2.5−1.5=24.0−17.01.0=7\frac{d(2.5)-d(1.5)}{2.5-1.5}=\frac{24.0-17.0}{1.0}=7. This is also the average of 8 and 6, which is 7. So d′(2)≈7d'(2)\approx 7 miles per hour. Step 4, the meaning: at 2 hours the cyclist is moving away at about 7 miles per hour, and the speed is dropping, since the slopes in the table steadily shrink from 10 to 4.

The one-sided estimates 8 and 6 are each a little off in opposite directions, which is why their average is more trustworthy.

Estimating from a graph, and with a calculator

From a graph, lay a straightedge so it touches the curve at the point and follows its direction. Pick two points on that line far apart whose coordinates are easy to read, say (1,2)(1, 2) and (3,6)(3, 6), and compute the rise over run, 6−23−1=2\frac{6-2}{3-1}=2. Use points on the tangent line, not points on the curve, and do not use the point of tangency alone, since one point gives no slope.

A graphing calculator is expected for some problems, particularly when the function is hard to differentiate. Its numerical derivative command returns an approximation of f′(a)f'(a) for a function you enter. Trust it for smooth functions, but know its limits: at a corner, such as ∣x∣|x| at 0, it can report a number even though the derivative does not exist. Always sketch or think about the graph before trusting the output.

How it connects

  • Back to 1.4: using tables to approach a limit is the same habit, now applied to a difference quotient.
  • Back to 2.1: the symmetric slope is a secant slope over a narrow interval centered at the point.
  • Forward to 4.1: the units and sign of an estimated derivative are what you interpret in context.
  • Forward to 5.1: the Mean Value Theorem links an average rate from a table to an exact derivative somewhere.

Common mistakes

  • Using entries far from the point. A secant over a wide interval estimates the average rate, not the rate at aa. Use the nearest neighbors.
  • Dividing by the wrong gap. With uneven spacing, divide by the actual difference of the inputs, not by the number of steps between them.
  • Leaving out units or direction. Say "7 miles per hour" and what it describes, such as speed increasing or quantity decreasing.
  • Using points on the curve when reading a tangent. The two points must lie on the drawn tangent line itself.

How it shows up on the exam

  • A table with unevenly spaced inputs, asking you to approximate a derivative at an interior entry and interpret it with units.
  • A graph with a tangent line drawn and two labeled points, asking for an approximation of f′(a)f'(a).
  • A function too awkward to differentiate, where a graphing calculator's numerical derivative is the intended tool.

Check yourself

  1. Why is a symmetric difference usually more accurate than a one-sided slope?
  2. If a table gives f(1)=4f(1)=4, f(3)=10f(3)=10 and f(4)=11f(4)=11, which entries would you use to estimate f′(3)f'(3) and what would you compute?
  3. What would a negative estimate for the rate of change of temperature in degrees per minute tell you?
  4. Why should you glance at the graph even when a calculator gives you a derivative value?

Practice this topic. AP Practice questions on exactly what this lesson covers, with an explanation for every answer.