Newton - S Method
Newton - S Method
Suppose you had a really complicated function of one variable and you were trying to find a root or
zero. You cannot solve it algebraically, but most calculators or computer programs can, most using
Newton’s Method. Newton’s Method uses linear approximations to find a root to a complicated
function.
𝑓(𝑥)
y
(𝑥1 , 𝑓(𝑥1 )
𝑟 𝑥3 𝑥2 𝑥
We want to solve 𝑓(𝑥) = 0, so the roots correspond to the 𝑥 −intercepts of the graph; r labelled in
the above graph. We start with using linear approximation at 𝑥1 , we find the 𝑥 −intercept of the
tangent line, 𝑥2 . In other words, we use a tangent line at (𝑥1 , 𝑓(𝑥1 )) to find 𝒙𝟐 , where the tangent
line intercepts the x-axis: 𝑦 − 𝑓(𝑥1 ) = 𝑓′(𝑥1 )(𝑥 − 𝑥1 )
Now, at 𝑥2 , 𝑦 = 0. ∴ −𝑓(𝑥1 ) = 𝑓′(𝑥1 )(𝑥2 − 𝑥1 )
𝑓(𝑥 )
Re-arranging 𝑥2 = 𝑥1 − 𝑓′(𝑥1 )
1
Now we use a second approximation to get 𝑥3 , and further linear approximations will get you closer
and closer to the root. Therefore, the nth approximation, we obtain
𝑓(𝑥 )
𝑥𝑛+1 = 𝑥𝑛 − 𝑓′(𝑥𝑛 )
𝑛
A note of caution is sometimes the sequence does not converge. For example when an
approximation lies near a turning point.
y 𝑓(𝑥)
(𝑥1 , 𝑓(𝑥1 )
𝑟 𝑥2 𝑥
Example 1
10
Find √100 using Newton’s method.
Solution
10
Let 𝑥 = √100. Then
𝑥 10 = 100 and
𝑥 10 − 100 = 0 Then 𝑓(𝑥) = 𝑥 10 − 100 and 𝑓 ′ (𝑥) = 10𝑥 9
𝑓(𝑥𝑛 ) (𝑥𝑛 )10 − 100
𝑥𝑛+1 = 𝑥𝑛 − = 𝑥𝑛 −
𝑓 ′ (𝑥𝑛 ) 10(𝑥𝑛 )9
How should we choose our first approximation? Well, 110 = 1 and 210 = 1024. So x should lie
between 1 and 2. Choosing 𝑥1 = 1.5
(1.5)10 −100
Then 𝑥2 = 1.5 − 10(1.5)9
= 1.610122949
𝑥3 = 1.586599872
𝑥4 = 1.58490143
𝑥5 = 1.58489319 = 𝑥6 Therefore, the root is 1.58489 correct to 5dpl.
Example 2
Show that the equation 𝑥 5 = 5 − 𝑥 has only one root. Now, using Newton’s Method, find that
root correct to 3dpl.
Solution
We can use Intermediate Value Theorem (IVT) to show there is one root. But a 𝑥5
rough sketch can help us show approximately where it would be. It lies between 5
Choosing 𝑥1 = 1.2
(1.2)5 +1.2−5
Then 𝑥2 = 1.2 −
5(1.2)4 +1
= 1.315383533
𝑥3 = 1.2995236552
𝑥4 = 1.29915.. Therefore, the root is 1.299 correct to 3dpl.