Tutorials › AP Calculus › Estimating a Derivative from Nearby Secants

Derivative as a Limit · Tutorial 96 of 999

Estimating a Derivative from Nearby Secants

Use nearby secant slopes to estimate a derivative, compare estimates as intervals shrink, and judge how much confidence the available data supports.

Beginner 9 min read

What You'll Learn

  • Calculate secant slopes from pairs of plotted points or tabulated values.
  • Compare left- and right-hand secant estimates near a chosen input.
  • Use progressively smaller intervals to judge the likely derivative.
  • Calculate centered secant slopes and understand when they can help.
  • Distinguish an estimate from an exact derivative value.
  • Recognize how rounding and graph-reading precision affect estimates.

From Nearby Points to a Derivative Estimate

A derivative describes the slope of a curve at one input. A table or graph, however, usually gives only a limited number of points. The practical question is how to use those nearby points to estimate the slope at the input of interest.

The basic method is to calculate secant slopes using points closer and closer to the input. A secant slope measures the average change in the function over an interval. If the function has a derivative at the input, these slopes approach that derivative as the interval shrinks toward the input.

Finite data do not usually determine an exact derivative by themselves. They provide estimates. Comparing estimates from both sides, and from more than one interval size, helps reveal whether the values are settling toward a plausible result.

Key idea: To estimate \(f'(a)\), calculate slopes between \((a,f(a))\) and nearby points, or between nearby points on opposite sides of \(a\). Compare the results as the interval narrows. A stable pattern supports an estimate, but a finite list of slopes is not itself proof of the exact derivative.

Secant Slopes Near the Input

For two points \((x_1,f(x_1))\) and \((x_2,f(x_2))\), where \(x_1\ne x_2\), the secant slope is the change in output divided by the change in input:

$$ m_{\text{sec}} = \frac{f(x_2)-f(x_1)}{x_2-x_1}. $$

To estimate the derivative at \(x=a\), one useful choice is the secant through \((a,f(a))\) and \((a+h,f(a+h))\). Its slope is

$$ \frac{f(a+h)-f(a)}{h}, \qquad h\ne 0. $$

Positive \(h\) uses a point to the right of \(a\); negative \(h\) uses a point to the left. As the point approaches \(a\), the interval gets smaller. The derivative is the limit of these slopes when that limit exists.

Definition: If the limit exists as \(h\) approaches \(0\), the derivative of \(f\) at \(a\) is $$ f'(a)=\lim_{h\to 0}\frac{f(a+h)-f(a)}{h}. $$ For estimation from data, calculate the quotient for several nonzero values of \(h\) near \(0\), then examine the pattern.

Worked Example: Estimating from a Plotted Curve

Worked Example: Estimating from a Plotted Curve

A graph shows a smooth curve near \(x=2\), with approximate read-offs \(f(2)=4\), \(f(1.8)\approx 3.24\), \(f(2.2)\approx 4.84\), \(f(1.9)\approx 3.61\), and \(f(2.1)\approx 4.41\). Estimate the derivative at \(x=2\).

First use the wider interval to the left, from \(1.8\) to \(2\):

$$ \frac{f(2)-f(1.8)}{2-1.8} \approx \frac{4-3.24}{0.2} = \frac{0.76}{0.2} = 3.8. $$

On the wider interval to the right, from \(2\) to \(2.2\):

$$ \frac{f(2.2)-f(2)}{2.2-2} \approx \frac{4.84-4}{0.2} = \frac{0.84}{0.2} = 4.2. $$

Now use points closer to \(2\). The left secant slope is

$$ \frac{f(2)-f(1.9)}{2-1.9} \approx \frac{4-3.61}{0.1} = \frac{0.39}{0.1} = 3.9. $$

The right secant slope is

$$ \frac{f(2.1)-f(2)}{2.1-2} \approx \frac{4.41-4}{0.1} = \frac{0.41}{0.1} = 4.1. $$

The estimates move closer together as the intervals narrow: the wider slopes are \(3.8\) and \(4.2\), while the closer slopes are \(3.9\) and \(4.1\). A reasonable estimate from these read-offs is \(f'(2)\approx 4\). As a check, multiplying each calculated slope by its interval width reproduces the corresponding change in output: \(3.9(0.1)=0.39\) on the left and \(4.1(0.1)=0.41\) on the right. Since the values came from a graph, their precision is limited; the estimate should not be reported as an exact result.

Comparing Left and Right Estimates

When data are available on both sides of \(a\), it is helpful to calculate left and right secant slopes separately. If both sets of slopes approach the same number as their intervals shrink, that number is a well-supported estimate of the derivative. If the slopes differ noticeably, check whether the intervals are still too wide, whether the data are rounded, or whether the slopes are not approaching a common value.

A centered secant uses one point on each side of \(a\). With \(h>0\), its slope is

$$ \frac{f(a+h)-f(a-h)}{2h}. $$

This single calculation can be a useful summary, but it combines information from both sides. If left and right behavior differs, the centered slope may conceal that difference. When possible, calculate the one-sided slopes as well.

Useful practice: Keep the interval endpoints visible in your work. Record the left estimate, the right estimate, and, if useful, the centered estimate. This makes it easier to spot a sign error or a misleading average.

Worked Example: Using a Table for a Cubic Function

Worked Example: Using a Table for a Cubic Function

Suppose \(f(x)=x^3\), and use the table values near \(x=2\) to estimate \(f'(2)\).

\(x\)\(f(x)=x^3\)
1.96.859
1.997.880599
28
2.018.120601
2.19.261

For the left point \(x=1.9\), the slope from \(x=1.9\) to \(x=2\) is

$$ \frac{8-6.859}{2-1.9} = \frac{1.141}{0.1} = 11.41. $$

Using the closer left point \(x=1.99\) gives

$$ \frac{8-7.880599}{2-1.99} = \frac{0.119401}{0.01} = 11.9401. $$

On the right, the slope from \(2\) to \(2.1\) is

$$ \frac{9.261-8}{2.1-2} = \frac{1.261}{0.1} = 12.61. $$

The closer right point \(x=2.01\) gives

$$ \frac{8.120601-8}{2.01-2} = \frac{0.120601}{0.01} = 12.0601. $$

The two closer slopes, \(11.9401\) and \(12.0601\), suggest an estimate near \(12\). To check that this pattern is consistent with the derivative definition, write the difference quotient for this function:

$$ \frac{(2+h)^3-2^3}{h} = \frac{8+12h+6h^2+h^3-8}{h} = 12+6h+h^2, \qquad h\ne 0. $$

As \(h\) approaches \(0\), the terms \(6h\) and \(h^2\) approach \(0\), so the quotient approaches \(12\). Thus \(f'(2)=12\), agreeing with the estimates. For a direct arithmetic check of the closest table slopes, \(11.9401(0.01)=0.119401\) and \(12.0601(0.01)=0.120601\), exactly the output changes used above.

Why the Estimates Approach the Derivative

The connection between shrinking secants and the derivative follows directly from the derivative definition. The one-sided slopes are not a separate approximation rule: they are the difference quotients whose limit defines the derivative.

1
Choose a nearby point.
For a point \(a+h\), the secant through \((a,f(a))\) and \((a+h,f(a+h))\) has slope \(\dfrac{f(a+h)-f(a)}{h}\), with \(h\ne 0\).
2
Move the point toward \(a\).
Making \(|h|\) smaller brings the second point closer to the point where the derivative is wanted.
3
Take the limit, if it exists.
If the difference quotients approach one finite number from both sides, their limit is \(f'(a)\) by definition.

There is also a useful justification for centered secants. Suppose \(f'(a)\) exists. Rewrite the centered slope as the average of a right-hand and a left-hand difference quotient:

$$ \frac{f(a+h)-f(a-h)}{2h} = \frac{1}{2} \left( \frac{f(a+h)-f(a)}{h} + \frac{f(a)-f(a-h)}{h} \right). $$

As \(h\) approaches \(0\), the first quotient approaches \(f'(a)\). The second does too: it is the difference quotient from the left, written with a positive denominator \(h\). Therefore their average approaches the average of \(f'(a)\) and \(f'(a)\), which is \(f'(a)\). This shows why centered slopes can estimate the derivative when it exists. It does not guarantee that a centered estimate will reveal what is happening on each side separately.

Worked Example: Centered Slopes from a Table

Worked Example: Centered Slopes from a Table

A table gives approximate values of a function near \(x=0\). Estimate the derivative at \(0\) using centered secants.

\(x\)Approximate \(f(x)\)
\(-0.1\)0.9048
\(0.1\)1.1052
\(-0.01\)0.99005
\(0.01\)1.01005

For the interval from \(-0.1\) to \(0.1\), the input change is \(0.1-(-0.1)=0.2\). The centered slope is

$$ \frac{1.1052-0.9048}{0.2} = \frac{0.2004}{0.2} = 1.002. $$

For the narrower interval from \(-0.01\) to \(0.01\), the input change is \(0.01-(-0.01)=0.02\). Its slope is

$$ \frac{1.01005-0.99005}{0.02} = \frac{0.02000}{0.02} = 1. $$

These centered estimates are \(1.002\) and \(1\), so the data suggest \(f'(0)\approx 1\). Check the computations by multiplying each slope by its interval width: \(1.002(0.2)=0.2004\) and \(1(0.02)=0.02000\). Each product matches the table’s output change. Because the entries are approximate, the table supports an estimate, not a claim that the exact derivative must equal \(1\).

Common Mistakes and Limits of the Method

A secant slope requires dividing the change in output by the change in input. Forgetting the denominator produces a change in function values, not a slope.

Common mistake: From the cubic table, the change in output between \(x=2\) and \(x=2.01\) is \(8.120601-8=0.120601\). Calling \(0.120601\) the slope is incorrect because the input changed by only \(0.01\). The correct calculation is $$ \frac{0.120601}{0.01}=12.0601. $$ As a check, \(12.0601(0.01)=0.120601\), the original output change.

It is also a mistake to treat one secant slope as the derivative without considering the interval. A wider interval gives an average change over more of the curve, and that average may differ from the slope right at the input. Comparing smaller intervals helps assess the estimate.

Smaller intervals are not automatically more reliable when the data are rounded or noisy. If two recorded outputs differ only slightly, rounding can have a large effect after the output change is divided by a very small input change. Use the precision actually supplied, avoid reporting unsupported digits, and compare more than one interval when possible.

Most importantly, a finite set of data cannot establish by itself that the derivative exists or that the estimates will keep approaching the same number. It can motivate and support an estimate. The derivative, when it exists, is defined by the limiting behavior of secant slopes, not by any single pair of recorded points.

Check Your Understanding

Use the derivative-estimation ideas from this tutorial to answer the following questions.

  1. For \(f(3)=7\) and \(f(3.1)=7.42\), calculate the secant slope and state which side of \(x=3\) the nearby point is on.
  2. What would it suggest if left and right secant slopes get closer to the same value as their intervals shrink?
  3. For data at \(a-h\) and \(a+h\), write the centered secant slope and identify its input-interval width.
  4. Why can a very small interval make a slope estimate less dependable when table values are rounded?
  5. Can a finite list of nearby secant slopes prove that the derivative exists? Explain briefly.

Test yourself: AP Calculus practice exams

Ready to check what you know? Work an AP-style practice exam, then open the full solutions.

Want all 1,114 practice problems?

This tutorial covers one topic. Calc Pass covers all of AP Calculus AB & BC: full review, every practice question, and step-by-step solutions to each one.

QR code to download the Calc Pass app

Get the Calc Pass App

Scan to download and practice on the go, with instant scoring.

Calc Pass Volume 1: 1,114 Practice Questions book cover

Vol. 1: 1,114 Questions

The complete practice question bank, organized by AB & BC topic.

View on Amazon
Calc Pass Volume 2: Solutions Manual book cover

Vol. 2: Solutions Manual

Fully worked solutions to every question in Volume 1.

View on Amazon
Clinical Biostats