Skip to content

Newton's Method

Newton’s method (also known as the Newton-Raphson method) is the workhorse of numerical root-finding. By using the tangent line at the current point to predict where the function crosses zero, it achieves super-linear convergence, meaning λ=0\lambda = 0. In practice this translates to very few iterations, often converging in under 10 steps even for demanding problems.


Derivation

At the current iterate xkx_k, draw the tangent line to f(x)f(x). The tangent has slope f′(xk)f'(x_k) and passes through the point (xk, f(xk))(x_k,\, f(x_k)). The next iterate xk+1x_{k+1} is defined as the x-intercept of this tangent line, that is, where y=0y = 0.

Graph showing a curve and its tangent line at x_k, demonstrating how the tangent's x-intercept forms the next point x_{k+1}.

Looking at the right-angled triangle formed by the points (xk+1,0)(x_{k+1}, 0), (xk,0)(x_k, 0), and (xk,f(xk))(x_k, f(x_k)), the “rise” is f(xk)f(x_k) and the “run” is (xk−xk+1)(x_k - x_{k+1}). Because the slope of this line is f′(xk)f'(x_k), we can write:

f′(xk)=riserun=f(xk)−0xk−xk+1f'(x_k) = \frac{\text{rise}}{\text{run}} = \frac{f(x_k) - 0}{x_k - x_{k+1}}

Rearranging to solve for xk+1x_{k+1}:

xk−xk+1=f(xk)f′(xk)x_k - x_{k+1} = \frac{f(x_k)}{f'(x_k)}

xk+1=xk−f(xk)f′(xk)\boxed{x_{k+1} = x_k - \frac{f(x_k)}{f'(x_k)}}

This is the Newton iteration formula. Each step moves from xkx_k in the direction that the tangent line points toward zero.

Once xk+1x_{k+1} is found, the process repeats. As shown by the green line in the figure, we drop down from the x-axis to the curve to find the new coordinate (xk+1,f(xk+1))(x_{k+1}, f(x_{k+1})). We draw a new tangent line there, which shoots down to the x-axis to find xk+2x_{k+2}. With each cycle, the x-intercept closes in rapidly on the true root.


Proof of Super-Linear Convergence

Newton’s method can be viewed as a fixed-point iteration with:

g(x)=x−f(x)f′(x)g(x) = x - \frac{f(x)}{f'(x)}

The convergence rate is λ=∣g′(x∗)∣\lambda = |g'(x^*)|. Differentiating g(x)g(x) using the quotient rule on the second term:

g′(x)=1−f′(x)⋅f′(x)−f(x)⋅f′′(x)[f′(x)]2=[f′(x)]2−[f′(x)]2+f(x)f′′(x)[f′(x)]2=f(x)f′′(x)[f′(x)]2g'(x) = 1 - \frac{f'(x) \cdot f'(x) - f(x) \cdot f''(x)}{[f'(x)]^2} = \frac{[f'(x)]^2 - [f'(x)]^2 + f(x)f''(x)}{[f'(x)]^2} = \frac{f(x)f''(x)}{[f'(x)]^2}

At the root x∗x^*, by definition f(x∗)=0f(x^*) = 0:

λ=∣g′(x∗)∣=∣f(x∗)f′′(x∗)[f′(x∗)]2∣=∣0⋅f′′(x∗)[f′(x∗)]2∣=0\lambda = |g'(x^*)| = \left|\frac{f(x^*)f''(x^*)}{[f'(x^*)]^2}\right| = \left|\frac{0 \cdot f''(x^*)}{[f'(x^*)]^2}\right| = 0

Since λ=0\lambda = 0, Newton’s method achieves super-linear convergence at every simple root (where f′(x∗)≠0f'(x^*) \ne 0).


Drawbacks

Newton’s method has two important failure modes:

1. Division by zero at a turning point. If f′(xk)=0f'(x_k) = 0 at any iterate, the formula produces a division by zero and the method breaks down entirely. This happens when the iteration lands exactly on a local maximum or minimum of ff.

2. Cycling near a turning point. If x0x_0 is chosen close to a turning point (where f′f' is small), the tangent line is nearly flat, projecting x1x_1 far away from the root. The next iterate may overshoot to the other side, and the sequence can enter an infinite loop bouncing back and forth without converging.


Worked Example

Problem: Find the root of f(x)=1x−0.5f(x) = \dfrac{1}{x} - 0.5 starting from x0=1x_0 = 1 with error bound 10−510^{-5}.

Step 1 — Compute the derivative

f(x)=x−1−0.5  ⟹  f′(x)=−x−2=−1x2f(x) = x^{-1} - 0.5 \implies f'(x) = -x^{-2} = -\frac{1}{x^2}

Step 2 — Set up the iteration

xk+1=xk−f(xk)f′(xk)=xk−1xk−0.5−1xk2x_{k+1} = x_k - \frac{f(x_k)}{f'(x_k)} = x_k - \frac{\frac{1}{x_k} - 0.5}{-\frac{1}{x_k^2}}

Step 3 — Iterate

kkxkx_kf(xk)f(x_k)f′(xk)f'(x_k)
01.000000000.50000000−-1.00000000
11.500000000.16666667−-0.44444444
21.875000000.03333333−-0.28444444
31.992187500.00196078−-0.25196463
41.999969480.00000763−-0.25000763
51.999999990.00000000−-0.25000000
62.000000000.00000000−-0.25000000

Step 4 — Confirm

The iteration converges rapidly to:

x∗=2.00000\boxed{x^* = 2.00000}

The super-linear convergence is evident: after just a few iterations the function value is essentially zero. The true root can be confirmed analytically: 1x=0.5  ⟹  x=2\frac{1}{x} = 0.5 \implies x = 2.