1.3: Newton's Method: MA385 - Numerical Analysis September 2019
1.3: Newton's Method: MA385 - Numerical Analysis September 2019
where the function φ is chosen so that xk+1 is the root of the
secant line joining the points xk−1 , f (xk−1 ) and xk , f (xk ) .
A closely related idea leads to Newton’s Method: set
xk+1 = xk − f (xk )λ(xk ), where we choose λ so that xk+1 is the
zero of the tangent to f at (xk , f (xk )).
Motivation (33/65)
(x0, f(x0))
2
0
x1 x0
−1
−2 f(x)= x2 −2
tangent line
x−axis
−3
0.8 1 1.2 1.4 1.6 1.8 2 2.2
√
Figure: Estimating 2 by solving x 2 − 2 = 0 using Newton’s Method
Motivation (33/65)
1
2
f(x)= x −2
0.8 secant line
x−axis
0.6
−0.2 x2 x1
−0.4
−0.6
−0.8
−1
1.2 1.3 1.4 1.5 1.6 1.7
√
Figure: Estimating 2 by solving x 2 − 2 = 0 using Newton’s Method
Motivation (34/65)
Newton’s Method
1. Choose any x0 in [a, b],
2. For k = 0, 1, . . . , set
f (xk )
xk+1 = xk − . (5)
f 0 (xk )
Motivation (35/65)
Example 1.8
Use bisection, secant, and Newton’s Method to solve x 2 − 2 = 0 in
[0, 2].
f (xk ) xk2 − 2
xk+1 = xk − = x k − ,
f 0 (xk ) 2xk
which simplifies as
1 1
xk+1 = xk + .
2 xk
(x − xk )2 00
f (x ) = f (xk ) + (x − xk )f 0 (xk ) + f (xk ) + . . .
2!
(x − xk )n (n) (x − xk )n+1 (n+1)
+ f (xk ) + f (ηk )
n! (n + 1)!
(τ − xk )2 f 00 (ηk )
τ − xk+1 = − , (6)
2 f 0 (xk )
Applying the Newton Error Formula (40/65)
|f 00 (x )|
≤A for all x , y ∈ Iδ .
|f 0 (y )|
Exercise 1.9
(i) Is it possible to construct a problem for which the bisection method
will work, but Newton’s method will fail? If so, give an example.
(ii) Is it possible to construct a problem for which Newton’s method will
work, but bisection will fail? If so, give an example.
Exercises (44/65)
Exercise 1.10 (? Homework problem)
(τ − xk ) f 00 (ηk )
τ − xk+1 = ,
2 f 00 (µk )