Root finding: Newton–Raphson, bisection and fixed-point iteration

Database › Mathematics › Applied mathematics › Numerical analysis

NUM-0001MethodUndergraduate

Newton–Raphson iteration replaces a function by its tangent to refine a root, doubling the correct digits each step near a simple root; bisection is slower but always converges, and fixed-point iteration converges if |g′| < 1.

$$x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)},\qquad\epsilon_{n+1}\approx\frac{f''}{2f'}\epsilon_n^2;\qquad x_{n+1}=g(x_n):\ \epsilon_{n+1}\approx g'(x^*)\epsilon_n$$

Explanation

Expanding $f$ about the current estimate and keeping the linear term gives the Newton step; the error then squares each iteration. It can fail far from the root (where $f'\approx0$ or the iterates cycle), and at a multiple root convergence is only linear.

Bisection halves a bracketing interval every step (one binary digit per step) and cannot fail once a sign change is found; robust codes combine it with Newton or secant steps. Rewriting $f(x)=0$ as $x=g(x)$ converges linearly with ratio $|g'(x^*)|$.

Example 1

Apply Newton's method to $x^2-2=0$ from $x_0=1$.

Solution

$x_{n+1}=\frac12\big(x_n+\frac2{x_n}\big)$: 1.5, 1.41667, 1.4142157, 1.41421356 — the correct digits roughly double each step.

Example 2

Solve $x=\cos x$ by iterating $x_{n+1}=\cos x_n$, and find the convergence ratio.

Solution

The iterates converge to $x^*=0.739085$; $|g'|=\sin x^*=0.674$, so each step reduces the error by about one third — far slower than Newton.

Related entries