From a Secant Slope to a Derivative Estimate
A derivative at a point gives the slope of the tangent line there. A secant line, by contrast, passes through two points on the graph. Its slope is an average rate of change over the interval between those points. If one point is fixed and the other moves closer to it, the secant slope can estimate the tangent slope.
For a polynomial, earlier differentiation rules let us calculate the derivative directly. Secant slopes provide a second way to assess the expected value: compute slopes over progressively smaller intervals and observe whether they approach the derivative.
When \(h\) is positive, the second input lies to the right of \(a\); when \(h\) is negative, it lies to the left. In either case, making \(|h|\) smaller brings the second point closer to the fixed point. A single secant slope is an average rate over a nonzero interval, not the instantaneous rate at \(a\).
How to Build an Estimate
For a polynomial \(f\), first identify the point \(a\) and choose a nonzero increment \(h\). Evaluate the polynomial at both inputs, subtract the function values in the same order as the inputs, and divide by \(h\). Repeat with smaller increments. If the resulting slopes settle toward a value, that value is a numerical estimate of the derivative at \(a\).
Choose the input \(a\) at which the derivative is being estimated.
Use nonzero increments \(h\) whose absolute values decrease, such as \(0.5\), \(0.1\), and \(0.01\).
For each increment, evaluate \([f(a+h)-f(a)]/h\).
Compare the slopes with one another and, when available, with the derivative found using polynomial differentiation rules.
Smaller increments often give closer estimates, but a decimal table alone is not a proof that the values converge. For the polynomial examples below, algebra shows exactly how the secant slopes differ from the derivative. This also explains why shrinking the interval is informative.
Worked Examples
Worked Example: Estimating the Derivative of a Quadratic
Estimate the derivative of \(f(x)=x^2+2x\) at \(a=1\) using forward increments \(h=1\), \(h=0.5\), and \(h=0.1\). Then compare with the derivative from the polynomial rules.
First, evaluate the fixed function value:
For \(h=1\), the nearby input is \(1+1=2\), and
For \(h=0.5\), the nearby input is \(1+0.5=1.5\), and
For \(h=0.1\), the nearby input is \(1+0.1=1.1\), and
The estimates are \(5\), \(4.5\), and \(4.1\). By the power, constant-multiple, and sum rules, \(f'(x)=2x+2\), so \(f'(1)=2(1)+2=4\). The estimates move toward \(4\) as the increment shrinks. The comparison checks the numerical trend against the derivative value.
Worked Example: A Cubic with a Larger Initial Error
Estimate the derivative of \(g(x)=x^3-2x\) at \(a=2\) using \(h=0.5\), \(h=0.1\), and \(h=0.01\).
The fixed function value is
For \(h=0.5\), the nearby input is \(2.5\):
For \(h=0.1\), the nearby input is \(2.1\):
For \(h=0.01\), the nearby input is \(2.01\):
The polynomial rules give \(g'(x)=3x^2-2\), and hence \(g'(2)=3(2)^2-2=12-2=10\). The three secant estimates approach \(10\); the closest of these is \(10.0601\). As a check on the estimates, expansion at \(2+h\) gives \(g(2+h)=4+10h+6h^2+h^3\). Subtracting \(g(2)=4\) and dividing by \(h\) gives \(10+6h+h^2\), which yields \(13.25\), \(10.61\), and \(10.0601\) for the stated increments.
Worked Example: Estimating at a Negative Input
Estimate the derivative of \(p(x)=2x^3-x^2+3\) at \(a=-1\), using forward increments \(h=0.2\) and \(h=0.1\).
At the fixed input,
For \(h=0.2\), the nearby input is \(-1+0.2=-0.8\):
For \(h=0.1\), the nearby input is \(-1+0.1=-0.9\):
Using the polynomial rules, \(p'(x)=6x^2-2x\), so \(p'(-1)=6(-1)^2-2(-1)=6+2=8\). The estimates \(6.68\) and \(7.32\) move toward \(8\) as \(h\) decreases. Their direction is also reasonable here: both forward secants are below the derivative value.
Why the Secant Slopes Approach the Derivative
The approach can be justified directly for any polynomial. Write \(p(x)=\sum_{k=0}^{n}c_kx^k\), where \(n\) is a nonnegative integer and the \(c_k\) are constants. The binomial theorem expands each power at \(a+h\). Subtracting \(p(a)\) removes the terms that do not contain \(h\); division by \(h\) then leaves the derivative value plus terms that contain positive powers of \(h\).
The first sum is \(p'(a)\), by the power and sum rules. Every term in the second sum contains \(h^{j-1}\) with \(j-1\geq 1\). It is a finite sum, so it tends to zero as \(h\) tends to zero. Therefore the secant slopes approach \(p'(a)\). This explains the estimates: for a polynomial, their difference from the derivative is made up of terms that vanish with the increment.
A Common Denominator Error
The denominator is the change in input, not the nearby input itself. For example, take \(f(x)=x^2\), \(a=2\), and \(h=0.5\). The nearby input is \(2.5\), so the change in input is \(2.5-2=0.5\). The correct calculation is
A wrong calculation would divide by \(2.5\), the endpoint:
This is not the secant slope between inputs \(2\) and \(2.5\), because its denominator is not their difference. As a check, the derivative is \(f'(x)=2x\), so \(f'(2)=4\); the correct secant slope \(4.5\) is near \(4\), while \(0.9\) is not a plausible nearby estimate.
Using Estimates Carefully
When using secant slopes to assess an expected derivative, keep the inputs and calculations visible. State the fixed point, list each increment, and show the corresponding slope. A table can make a trend easier to see, but it should not hide the computations or imply more precision than the function values support.
Also distinguish “closer to the point” from “closer to the derivative value.” For the polynomial examples, shrinking the increment makes the secant slopes approach the derivative, as the algebraic justification shows. But estimates can approach from above or below, and an early estimate may be noticeably inaccurate. A sequence of numerical results is evidence of a trend, not a substitute for the definition or a proof.
Check Your Understanding
Use the definition of a secant slope and the polynomial rules where useful.
- For \(f(x)=x^2+1\) at \(a=2\), calculate the forward secant slope for \(h=0.5\).
- For \(g(x)=x^3\) at \(a=1\), calculate the secant slopes for \(h=0.1\) and \(h=0.01\). What derivative value do they suggest?
- In \([f(a+h)-f(a)]/h\), what quantity does the denominator represent?
- For a polynomial, why do the terms beyond \(p'(a)\) in the secant-slope expression vanish as \(h\) shrinks?
- Is one computed secant slope enough to establish the exact derivative at a point? Explain briefly.