Calculus4 8
Calculus4 8
8 Newton’s method
We wish to find an approximate solution to f (x) = 0.
r: the root that we are trying to find
x1 : an initial guess (a first approximation)
f (x2 )
x3 = x2 − if f ′ (x2 ) ̸= 0
f ′ (x2 )
In this way, we generate a sequence of successive approximations determined by
f (xn )
xn+1 = xn − , if f ′ (xn ) ̸= 0, n = 1, 2, · · ·
f ′ (xn )
This procedure is called the Newton’s method.
2
Example
Starting with x1 = 2, find the third approximation x3 to the root of the
equation x3 − 2x − 5 = 0.
4
Example
√
6
Use Newton’s method to approximate 2.
x6n − 2
xn+1 = xn −
6x5n
If we choose x1 = 1 (as the initial approximation), then
x2 ≈ 1.16666667
x3 ≈ 1.12644368
x4 ≈ 1.12249707
x5 ≈ 1.12246205
x6 ≈ 1.12246205
Therefore √
6
2 ≈ 1.12246205.