Unit 2 · Topic 2.3

Estimate a derivative

Builds on the derivative as a limit of average rates of change. 12 minutes.

  1. Example 1Estimate a derivative from nearby data
  2. Example 2Choose a left, right, or centered estimate
  3. Example 3Read a tangent slope from a graph
  4. Example 4Recognize the limits of an estimate

The derivative of a function \(f\) at an input \(a\) is the limit of average rates of change (topic 2.1):

\[f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}\]

The limit needs values of \(f\) at inputs as close to \(a\) as you like. Often \(f\) is known only through readings, which are inputs with their outputs, from a table or a graph. This topic estimates \(f'(a)\) from readings and finds what the readings cannot show.

Estimates from nearby readings

A rising curve that levels off, drawn through five chalk dots at equally spaced inputs. The middle dot is an orange point at the input a, with an orange tangent line. The inputs a − h, a and a + h are marked under the axis, with faint dashed lines up to their readings. A chalk secant line joins the orange point to the dot at a + h, above a dashed run and a green rise. Buttons show instead the secant line from the dot at a − h to the orange point, or the secant line from the dot at a − h to the dot at a + h, whose run is 2h. A toggle changes the curve between the dots, so that it falls at the orange point while every dot stays in place, and a faint copy of the old curve remains.

Figure 1The chalk curve is the graph of \(f\), and the dots on it are readings. The orange point is the reading at \(a\), with the orange tangent line, and faint dashed lines mark the inputs. The chalk secant line has a dashed run and a green rise, because each reading is higher than the one before it. After the curve changes, the faint curve shows it as it was.

In Figure 1, the readings lie at inputs \(h\) apart, and the slope of the orange tangent line is \(\cy{f'(a)}\).

The average rate of change from \(a\) to the input \(b\) of another reading is the quotient in the definition with the step \(b-a\). When \(f'(a)\) exists, this quotient is as close to it as you like for \(b\) close enough to \(a\), by the definition of a limit. The readings come no closer to \(a\) than the nearest ones, so the estimate uses a nearest reading:

\[f'(a)\approx\frac{f(b)-f(a)}{b-a}\]

The quotient is the slope of the secant line through the two readings, in units of \(f\) per unit of input. Its denominator \(b-a\) is the actual change in input, which in a table need not be 1.

With \(b=a+h\), the quotient is the right estimate \(\frac{f(a+h)-f(a)}{h}\). In Figure 1 it is the slope of the chalk secant line, whose dashed run is \(h\) and whose green rise is \(f(a+h)-f(a)\). With \(b=a-h\), the top and the bottom both change sign, which gives the left estimate \(\frac{f(a)-f(a-h)}{h}\).

The centered estimate \(\frac{f(a+h)-f(a-h)}{2h}\) uses the readings on both sides of \(a\), and some books call it the symmetric difference quotient. Its run is \(2h\), and it does not use \(f(a)\). The buttons under Figure 1 draw the secant line of each estimate.

The rise of the centered secant line is the sum of the other two rises, and its run is the sum of their equal runs. The centered estimate is therefore the average of the left and right estimates. If \(f'(a)\) exists, both approach it as \(h\) approaches 0, because they are the quotient in the definition with the steps \(h\) and \(-h\). By the limit laws (topic 1.5), their average approaches \(f'(a)\) too.

Under Figure 1, the left estimate exceeds \(f'(a)\) and the right estimate is smaller, because the curve is steeper before \(a\) than after it. The centered estimate is the closest, and a quadratic \(f(x)=px^2+qx+r\) shows why. Expanding gives \(f(a+h)-f(a)=2pah+ph^2+qh\) and \(f(a)-f(a-h)=2pah-ph^2+qh\). For \(h\neq 0\), divide by \(h\):

\[\begin{aligned}\frac{f(a+h)-f(a)}{h}&=2pa+q+ph\\\frac{f(a)-f(a-h)}{h}&=2pa+q-ph\end{aligned}\]

As \(h\) approaches 0, both approach \(2pa+q\), which is therefore \(f'(a)\). The errors \(ph\) and \(-ph\) cancel in the average, so the centered estimate is exact for every \(h\). For other functions the errors need not cancel, but for close readings the centered estimate is usually the most accurate.

Use the side that a question names. At the first reading of a table only the right estimate exists, and at the last only the left. Otherwise, with readings at equal distances on both sides, use the centered estimate. It does not use \(f(a)\), so it also estimates the derivative midway between two readings.

Slopes read from a graph

If a graph shows the tangent line at \((a,f(a))\), its slope is \(f'(a)\). A line has the same slope between any two of its points. Choose two that are far apart and lie where grid lines cross. Their coordinates \((x_1,y_1)\) and \((x_2,y_2)\) are then easy to read, and small errors in reading them change the slope little. A drawing shows coordinates only approximately, so the rise divided by the run, \(\frac{y_2-y_1}{x_2-x_1}\), estimates \(f'(a)\).

The two axes usually have different scales, so measure the rise and the run in their units, not in grid squares. Two points of the graph itself give a secant line instead. If no tangent line is drawn, lay a straightedge along the graph so that it follows the direction of the graph at the point.

What readings cannot show

The left, right and centered estimates use only the readings. Use the button under Figure 1 to change the curve between them. The new curve passes through every dot, so the three estimates stay the same. Near the orange point it falls, so its tangent line slopes down, and the slope under the figure is negative.

Both curves fit the readings, but their derivatives at \(a\) differ, even in sign, so the readings alone cannot determine \(f'(a)\). As for limits in topic 1.4, more readings do not decide it. A curve can pass through any finite set of readings and have any slope at \(a\), and Example 4 builds such curves. The readings cannot even show that \(f'(a)\) exists, because a curve with a corner at \(a\), where it turns sharply, can pass through them too.

An estimate therefore rests on an assumption that the readings cannot check, such as that the slope of \(f\) changes little between them. Write an estimate with \(\approx\) and with units. An exact value of \(f'(a)\) needs more than readings, such as a formula for \(f\) and the limit (topic 2.2).

Example 1

Estimate a derivative from nearby data

A weather balloon rises from the ground. The table gives its altitude \(A(t)\), in meters, at selected times \(t\), in minutes. Use the data in the table to estimate \(A'(8)\), and indicate units of measure. \[\begin{array}{c|ccccc} t & 0 & 3 & 6 & 10 & 15\\ \hline A(t) & 0 & 160 & 340 & 580 & 900\end{array}\]

Solution

The table has no reading at \(t=8\), which lies midway between the readings at \(t=6\) and \(t=10\). These give the centered estimate at 8, and its run is the actual time between them, \(10-6=4\) minutes:

\[\begin{aligned}A'(8)&\approx\frac{A(10)-A(6)}{10-6}\\&=\frac{580-340}{4}=60\end{aligned}\]

At \(t=8\), the balloon is rising at about 60 meters per minute.

Example 2

Choose a left, right, or centered estimate

The number of cars in a parking garage is modeled by a differentiable function \(N\), where \(N(t)\) is the number of cars \(t\) hours after midnight. The table gives selected values of \(N(t)\). Use the data in the table to estimate \(N'(11)\) and \(N'(15)\). Indicate units of measure. \[\begin{array}{c|cccc} t & 9 & 11 & 13 & 15\\ \hline N(t) & 340 & 520 & 610 & 560\end{array}\]

Solution

At \(t=11\), the table has readings 2 hours before and 2 hours after, so use the centered estimate. Its run is the 4 hours from \(t=9\) to \(t=13\):

\[\begin{aligned}N'(11)&\approx\frac{N(13)-N(9)}{13-9}\\&=\frac{610-340}{4}=67.5\end{aligned}\]

As a check, the left and right estimates at 11 are 90 and 45, whose average is 67.5. The reading at \(t=15\) is the last one, so only the left estimate exists there:

\[\begin{aligned}N'(15)&\approx\frac{N(15)-N(13)}{15-13}\\&=\frac{560-610}{2}=-25\end{aligned}\]

At 11 a.m., the number of cars is increasing at about 67.5 cars per hour. At 3 p.m., it is decreasing at about 25 cars per hour.

Example 3

Read a tangent slope from a graph

A bamboo shoot is \(L(t)\) centimeters tall \(t\) days after it breaks through the ground. Figure 2 shows the graph of \(L\) for \(0\le t\le 10\) and the line tangent to the graph at \(t=4\). Estimate \(L'(4)\). Using correct units, explain the meaning of your estimate in the context of the problem.

The graph of the height of a bamboo shoot in centimeters against the time in days, for t from 0 to 10, on a grid with lines every day and every 60 centimeters. The graph rises from 0, bends over, and reaches 300 centimeters at 10 days. An orange line touches it at an orange point at t = 4, at 192 centimeters. Two chalk dots on the orange line mark the grid points (2, 120) and (7, 300).

Figure 2The orange tangent line touches the graph at the orange point, and the chalk dots mark two of its points where grid lines cross. The grid lines are 1 day and 60 centimeters apart.

Solution

The derivative \(L'(4)\) is the slope of the tangent line at \(t=4\). The chalk dots mark two points of that line where grid lines cross, \((2,120)\) and \((7,300)\), which are far apart. From the first to the second, the line rises 180 centimeters in 5 days:

\[L'(4)\approx\frac{300-120}{7-2}=\frac{180}{5}=36\]

Four days after it breaks through the ground, the bamboo shoot is growing at about 36 centimeters per day.

Example 4

Recognize the limits of an estimate

A student estimates \(g'(4)\) from the table with the readings at \(x=1\) and \(x=7\). Because the values fit \(x^2+10\), the student concludes that \(g'(4)\) equals the estimate exactly. Does the table support this conclusion? \[\begin{array}{c|ccc} x & 1 & 4 & 7\\ \hline g(x) & 11 & 26 & 59\end{array}\]

Solution

The readings at 1 and 7 lie 3 on each side of 4, so they give the centered estimate:

\[\begin{aligned}g'(4)&\approx\frac{g(7)-g(1)}{7-1}\\&=\frac{59-11}{6}=8\end{aligned}\]

The centered estimate of a quadratic is exact, so the conclusion holds if \(g(x)=x^2+10\). The table does not show that. The function

\[\begin{aligned}k(x)&=x^2+10\\&\quad+(x-1)(x-4)(x-7)\end{aligned}\]

has the same three values, because the product is 0 at 1, 4 and 7. For \(h\neq 0\), \((4+h)^2+10-26=8h+h^2\), and the product at \(4+h\) is \((3+h)\,h\,(h-3)\), so

\[\begin{aligned}&\frac{k(4+h)-k(4)}{h}\\&=8+h+(3+h)(h-3)\end{aligned}\]

As \(h\) approaches 0, this approaches \(8+(3)(-3)=-1\), so \(k'(4)=-1\). A function that fits the table can decrease at 4. The table supports only \(g'(4)\approx 8\), on the assumption that the slope of \(g\) changes little between the readings.

Each example is one of the four skills of topic 2.3 in Which & Why: AP Calculus.