Official text: dlmf.nist.gov/3.8
Relevant locators: §3.8(i), equation 3.8.3 and following definitions of local order of convergence; §3.8(iii), equation 3.8.6 and the Secant Method paragraph, which distinguishes the secant method from bracket-preserving alternatives. The derivations and calculations in the solutions are given independently.
A small difference between successive secant method iterates alone does not certify a small absolute error. Instead use a residual root error bound. On ,
and , so there is a unique root . For an iterate , the mean value theorem gives
Therefore stop when and . This guarantees the desired absolute error in exact arithmetic; the evaluated residual of a root equation should include an allowance for its much smaller roundoff error. A safeguarded implementation can retain the bracket and use bisection if a proposed secant method step leaves it.
Use . Then , , and the secant method gives
Writing , the next step is
Thus the requested approximation is to three significant figures. All intermediate logarithms should be retained at higher precision before this final rounding.
The secant method starts from two approximations . Replace the function near its zero of a function by the secant line through and ; the zero of that line is the next approximation:
Stop immediately if ; otherwise the denominator must be nonzero. Each further step needs one new function evaluation and no derivative. There is no automatic bracketing or global convergence guarantee.[ref]
Secant method 2026-10-25
The secant method approximates a zero of a function by repeatedly taking the zero of a secant line through the two most recent sampled points. The formula follows by setting the line equal to zero. It requires distinct sampled positions and a nonzero difference of sampled values, unless a root has already been found. After initialization it needs one new function evaluation per step. Unlike bisection, it need not retain a bracket. For a sufficiently smooth function near a simple root, its usual local order of convergence is .[ref]