The secant method approximates the Newton step by replacing
the derivative with a finite-difference slope through two
previous iterates. Applied to f(x)=x²-2 from x0=1, x1=2:
after 3 secant steps the root approximation is 1.4146,
with residual |f|≈0.0012 < 0.01.
Example
Use two previous points to approximate the next root estimate.
highlighted = computed this step
Step 1 — Set up
Start secant method from x 0 equals 1 and x 1 equals 2.
f(x)=x2−2x0=1x1=2
Step 2 — Secant iteration 1
Add secant iteration 1 to the table.
n1x1.3333f−0.2222
Step 3 — Secant iteration 2
Add secant iteration 2 to the table.
n12x1.33331.4000f−0.2222−0.0400
Step 4 — Secant iteration 3
Add secant iteration 3 to the table.
n123x1.33331.40001.4146f−0.2222−0.0400+0.0012
Step 5 — Root estimate
After 3 iterations the root is about 1.4146.
x≈1.4146iters=3
secant-method
Given two iterates x_{n-1} and x_n, the next secant iterate is x_{n+1} = x_n - f(x_n)·(x_n-x_{n-1})/(f(x_n)-f(x_{n-1})). No derivative is required. Convergence is superlinear (order ≈1.618) — slower than Newton but faster than bisection.