Newton's method

Newton's method (the Newton-Raphson method) is a very powerful numerical method for solving nonlinear equations. 



Suppose we'd like to solve a non-linear equation f(x)=0, where f(x) is a (twice) differentiable non-linear function. Newton's method generates a sequence of numbers c1,c2,c3, that converges to a solution of the equation. That is, if α is a solution (i.e., f(α)=0) then, 

limncn=α,

and this sequence {cn} is generated by a series of linear approximations of the function f(x).

Theorem (Newton's method)

Let f(x) be a function that is twice differentiable on an open interval I that contains the closed interval [a,b] (i.e., [a,b]I) and satisfy the following conditions:

  1. f(a)<0 and f(b)>0;
  2. For all x[a,b], f(x)>0 and f(x)>0.
Let us define the sequence {cn} by
c1=b,(eq:newton)cn+1=cnf(cn)f(cn).
Then,
limncn=α
where α is the unique solution of f(α)=0.
Proof. Since f(x) is (twice) differentiable, it is continuous on [a,b]. Since f(a)<0 and f(b)>0, clearly f(a)f(b). Therefore, by the Intermediate Value Theorem, there exists an α[a,b] such that f(α)=0. Moreover, since f(x)>0, f(x) is strictly monotone increasing on [a,b], this α is unique (i.e., there is only one such α that satisfies f(α)=0).
[See also: Continuity of a function for the Intermediate Value Theorem.] 
Let us pick any c[a,b] and find the tangent line at x=c, which is given by
y=f(c)(xc)+f(c).
The x-intercept x=c of this line is obtained by
0=f(c)(cc)+f(c),
and hence
c=cf(c)f(c).
Therefore if c=cn, we have c=cn+1.
Moreover, since y=f(x) is convex (because f(x)>0), the tangent line is always resides below y=f(x) on [a,b] so we have c>α. Since f(x)>0 and f(x)>0 (when x>α), we have
cn+1=cnf(cn)f(cn)<cn.
Thus, {cn} is a strictly monotone decreasing sequence bounded below. By the Monotone Convergence Theorem, {cn} converges to a certain value. [See also: Monotone sequences and Cauchy sequences for the Monotone Convergence Theorem.] 
Let β=limncn, then αβ<b. If we take the limit n on both sides of Eq. (eq:newton), we have
β=βf(β)f(β),
from which we conclude
f(β)=0.
However, α is the only solution to f(x)=0. Hence β=α. ■

Example. Let d be any positive real number. Using Newton's method, let us find an approximation of d. First, let us define f(x)=x2d. Then the solution to f(x)=0 is x=d (provided x0). f(0)=d<0, and f(x)=2x>0 for x>0, and f(0)=2>0. By choosing sufficiently small a and sufficiently large b, f(x) can satisfy the conditions required for Newton's method. If we define the sequence {cn} by
c1=b,cn+1=cncn2d2cn=12(cn+dcn),
we have limncn=d. □

Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic