Bisection and the secant method are compared on f(x)=x²-2
over [1,2] with starting points x0=1, x1=2. After 3 steps
bisection reaches |f|=0.1094 while the secant method reaches
|f|=0.0012 — demonstrating the secant method's faster
superlinear convergence versus bisection's linear convergence.
Example
Compare residual tables and convergence rates. Bisection is guaranteed to converge for a valid bracket, but the secant method can diverge from poor starting points.
highlighted = computed this step
Step 1 — Set up
Compare residuals for bisection and secant.
f(x)=x2−2
Step 2 — Bisection residuals
Bisection has linear convergence.
n123x1.50001.25001.3750abs f0.25000.43750.1094
Step 3 — Secant residuals
Secant has superlinear convergence.
n123x1.33331.40001.4146abs f0.22220.04000.0012
Step 4 — Compare rates
Secant is superlinear while bisection is linear.
secant superlinearbisection linear
convergence-comparison
Bisection halves the error each step (linear convergence, rate 1/2). The secant method has superlinear convergence (order ≈1.618). For the same number of function evaluations the secant method typically achieves much lower residuals, at the cost of needing two starting points rather than a bracket.