Secant Method
Summary
The secant method approximates Newton’s step by replacing
Prerequisites
- Continuous
(smoothness helps local analysis) - Optional background: Newton-Raphson Method
Problem Type
Solve
Method Definition
Given
This is the root of the secant line through
Assumptions / Requirements
- Two distinct initial guesses near a simple root
-
at each step - Local theory typically assumes
near the root with
Algorithm
- Choose
and tolerance . - While not stopped:
- If
is extremely small relative to the step scale, abort (ill-conditioned update). A tiny denominator is not the same as having found a root. - Compute
from the formula. - Stop if
or .
- If
Convergence
Local order is the golden ratio
Error / Accuracy
Monitor both the step
Worked Example
Continuing:
|
|
|
|
|---|---|---|
| 0 | 2.000000 | −1.000 |
| 1 | 2.500000 | 5.625 |
| 2 | 2.075472 | −0.211 |
| 3 | 2.090798 | −0.042 |
| 4 | 2.094592 |
|
| 5 | 2.094551 |
|
The root is
Common Failure Modes
- Bad starts far from any root
- Division by nearly zero when
- Cycling or divergence without a bracket safeguard
Connections
References
Burden & Faires, Numerical Analysis, secant method; NIST DLMF Ch. 3, https://dlmf.nist.gov/3 ↩︎