Newton's method is an algorithm for finding root of a function f(x) numerically. If f is differentially at a point x, then we can use this local information at x to approximate f:
fˉ(y)=f(x)+f′(x)(y−x)
This is the tangent line at x. We use its intersection with the x-axis as the guess of root:
fˉ(y)=0=f(x)+f′(x)(y−x)
If f′(x)=0, then y=x−f′(x)f(x). Intuitively, f(x) is the height and f′(x) is the slope, hence f′(x)f(x)=x−y gives the distance between x and y. Note that if f′(x)=0, the tangent line does not intersect with x-axis.
With a starting point x1, the Newton's Method updates its value iteratively:
xn+1=xn−f′(xn)f(xn)
Let z be the root of f (f(z)=0). Then under proper condition, xn converges to z quadratically, that is, ∣xn−z∣≤O(2−n).
Theorem.
Let f∈C2 in some interval [z±c] and f′(x)=0, f′′(x) is bounded for x∈[z±c]. If x0∈[z±c], then Newton's Method achieves quadratic convergence.
Proof: By Taylor expansion, ∀x∈[z±c], ∃y that lies between x and z, such that
0=f(z)=f(x)+f′(x)(x−z)+2f′′(y)(z−x)2
Hence
x−f′(x)f(x)−z=2f′(x)f′′(y)(z−x)2
Define ϵn=(z−xn), and replacing x with xn, we have
Since f's second derivative is continuous, f′′(y) is bounded on the closed interval [z±c]. Further, as f′(x)=0, then minx[z±c]f′(x)>0 as f′(x) is continuous on the closed interval [z±c]. Therefore,
C≐max∣2f′(xn)f′′(y)∣
is bounded. Now
∣ϵn+1∣≤∣C∣ϵn2
If for some n such that ϵn<1, then the number of precise digits doubles for ϵn+1.