Newton's method is an algorithm for finding root of a function f(x)f(x) numerically. If ff is differentially at a point xx, then we can use this local information at xx to approximate ff:

fˉ(y)=f(x)+f′(x)(y−x) \bar f(y) = f(x) + f'(x) (y - x)

This is the tangent line at xx. We use its intersection with the xx-axis as the guess of root:

fˉ(y)=0=f(x)+f′(x)(y−x) \bar f(y) = 0 = f(x) + f'(x) (y - x)

If f′(x)≠0f'(x) \neq 0, then y=x−f(x)f′(x)y = x - \frac{f(x)}{f'(x)}. Intuitively, f(x)f(x) is the height and f′(x)f'(x) is the slope, hence f(x)f′(x)=x−y\frac{f(x)}{f'(x)} = x - y gives the distance between xx and yy. Note that if f′(x)=0f'(x) = 0, the tangent line does not intersect with xx-axis.

With a starting point x1x_1, the Newton's Method updates its value iteratively:

xn+1=xn−f(xn)f′(xn) x_{n + 1} = x_n - \frac{f(x_n) }{ f'(x_n) }

Let zz be the root of ff (f(z)=0f(z) = 0). Then under proper condition, xnx_n converges to zz quadratically, that is, ∣xn−z∣≤O(2−n)|x_n - z| \le O(2^{-n}).

Theorem.

Let f∈C2f \in C^2 in some interval [z±c][z \pm c] and f′(x)≠0f'(x) \neq 0, f′′(x)f''(x) is bounded for x∈[z±c]x \in [z \pm c]. If x0∈[z±c]x_0 \in [z \pm c], then Newton's Method achieves quadratic convergence.

Proof: By Taylor expansion, ∀x∈[z±c]\forall x \in [z \pm c], ∃y\exists y that lies between xx and zz, such that

0=f(z)=f(x)+f′(x)(x−z)+f′′(y)2(z−x)2 0 = f(z) = f(x) + f'(x) (x - z) + \frac{f''(y)}{2} (z - x)^2

Hence

x−f(x)f′(x)−z=f′′(y)2f′(x)(z−x)2 x - \frac{f(x)}{f'(x)} - z = \frac{f''(y)}{2 f'(x)} (z - x)^2

Define ϵn=(z−xn)\epsilon_n = (z - x_n), and replacing xx with xnx_n, we have

∣ϵn+1∣=∣xn+1−z∣=∣xn−f(xn)f′(xn)−z∣=∣f′′(y)2f′(xn)∣(z−xn)2=∣f′′(y)2f′(xn)∣ϵn2 |\epsilon_{n + 1}| = |x_{n + 1} - z| = |x_n - \frac{f(x_n)}{f'(x_n)} - z| = |\frac{f''(y)}{2 f'(x_n)}| (z - x_n)^2 = |\frac{f''(y)}{2 f'(x_n)}| \epsilon_n^2

Since ff's second derivative is continuous, f′′(y)f''(y) is bounded on the closed interval [z±c][z \pm c]. Further, as f′(x)≠0f'(x) \neq 0, then min⁡x[z±c]f′(x)>0\min_{x [z \pm c]} f'(x) > 0 as f′(x)f'(x) is continuous on the closed interval [z±c][z \pm c]. Therefore,

C≐max⁡∣f′′(y)2f′(xn)∣ C \doteq \max |\frac{f''(y)}{2 f'(x_n)}|

is bounded. Now

∣ϵn+1∣≤∣C∣ϵn2 |\epsilon_{n + 1}| \le |C| \epsilon_n^2

If for some nn such that ϵn<1\epsilon_n < 1, then the number of precise digits doubles for ϵn+1\epsilon_{n + 1}.