Pros: Faster than 2-point methods: the bisection and regula-falsi method are linear, secant method (see 5.5) is superlinear. N-R Method has quadratic convergence.
Cons: a) Need
or a good approximation to it (in general
an approximations will produce less than quadratic speed of convergence).
b) Not guaranteed to always converge.
Problem Statement':
Find
such that
Suppose
. Let
an approximation to
such that
and
is``small.'' Then
Algorithm inputs initial guess
, tolerance TOL, maximum iterations
Step 1: Set
Step 2: While
do Steps 3 - 6
Step 3: Set
% to compute
Step 4: If
TOL then
OUTPUT
STOP
Step 5: Set
Step 6: Set
% update
Step 7: Output (`Method failed after
iterates')
STOP
Error Analysis by error
(for simplicity we assume no round-off errors)
Assume
is simple zero and
continuous. Then
Haven't established convergence. Just the rate. By (4),
proof is as follows: if
small and if
is not too large
will be smaller than
.
Define
Select
small enough so that denominator is positive,
and then if necessary, decrease
so that
.
This is possible because as
,
then
converges to
, and
converges to
.
Having fixed
, set
.
Suppose start N-R Method with
satisfying
.
Then
and
by definition of
lies within
distance to
.
Repeating,
Theorem: (Newton) Let
. If
is simple zero (such that
and
a neighborhood of
and constant
such that if
Newton method started in that neighborhood, successive guesses
become closer to
and satisfy
In some situations Newton Method is guaranteed to converge from any arbitrary starting point:
Theorem 2: If
, is increasing, convex, and
is unique and Newton will converge to it
from any starting point.
Exercise
Prove Theorem 2. Hints: Convex means
.
Increasing means:
. You may also use (5).
Example Efficient Method of computing square root of number:
let
and
then
then Newton Raphson formula yields
(credited to Heron,
Greek Engineer circa 100 B.C. - 100 A.D).