2 Finding roots of the equation
A first investigation into the roots of might be graphical. Such an analysis will supply information as to the approximate location of the roots.
Task!
Sketch the function
and estimate the value of the root.
A simple root is located near 1.5
One method of obtaining a better approximation is to halve the interval into and and test the sign of the function at the end-points of these new regions. We find
so a root must lie between and because the sign of changes between these values and is a continuous curve. We can repeat this procedure and divide the interval into the two new intervals and and test again. This time we find
so a root lies in the interval . It is obvious that proceeding in this way will give a smaller and smaller interval in which the root must lie. But can we do better than this rather laborious bisection procedure? In fact there are many ways to improve this numerical search for the root. In this Section we examine one of the best methods: the Newton-Raphson method.
To derive the method we examine the general characteristics of a curve in the neighbourhood of a simple root. Consider Figure 24 showing a function with a simple root at whose value is required. Initial analysis has indicated that the root is approximately located at . The aim is to provide a better estimate to the location of the root.
Figure 24
The basic premise of the Newton-Raphson method is the assumption that the curve in the close neighbourhood of the simple root at is approximately a straight line. Hence if we draw the tangent to the curve at , this tangent will intersect the -axis at a point closer to than is : see Figure 25.
Figure 25
From the geometry of this diagram we see that
But from the right-angled triangle we have
and so
If has a simple root near then a closer estimate to the root is where
This formula can be used iteratively to get closer and closer to the root, as summarised in Key Point 5:
Key Point 5
Newton-Raphson Method
If has a simple root near then a closer estimate to the root is where
This is the Newton-Raphson iterative formula . The iteration is begun with an initial estimate of the root, , and continued to find until a suitably accurate estimate of the position of the root is obtained. This is judged by the convergence of to a fixed value.
Example 4
has a root near . Use the Newton-Raphson method to obtain a better estimate.
Solution
Here
Hence using the formula:
The Newton-Raphson formula can be used again: this time beginning with 1.5567 as our estimate:
This is in fact the correct value of the root to 4 d.p., which calculating would confirm.
Task!
The function has a simple root near . Use one iteration of the Newton-Raphson method to find a more accurate value for the root.
First find :
Now use the formula with to obtain :
.
As the value of has changed little from we can expect the root to be 4.49 to 3 d.p.
Task!
Sketch the function and confirm that there is a simple root between and . Use as an initial estimate to obtain the value to 2 d.p.
First sketch and identify a root:
Clearly a simple root lies between and .
Now use one iteration of Newton-Raphson to improve the estimate of the root using :
Now repeat this process for a second iteration using :
Repeat for a third iteration and state the root to 2 d.p.:
We conclude the value of the simple root is correct to 2 d.p.