Evaluating Three Methods of Solving Equations.

Authors Avatar
Maths C3 Coursework

Introduction

I'm going to look at 3 methods used to find the roots of an equation. First the decimal search or the sign change method; second, the Newton-Raphson method and third the fixed point iteration method, also called the x=g(x) method. I will then critically compare the three methods to find their advantages and disadvantages and will finally talk about how the current technology improves the efficiency of these methods.

Change of sign method: Decimal search

This is the first method. In this method we first determine two nearest values of x within which the function changes sign from +ve to -ve or vice versa. This is done with the help of the function graph. Roots of the equation will obviously lie within these two values of x. We then calculate f(x) within this range by splitting the values of x as necessary. Again we note down two adjacent values of x, within this smaller range, between which the function changes sign again and repeat the same exercise again and again till we reach as close to the root as we wish to.

Let me illustrate the point by solving an equation as an example. My equation for this method is:

f(x)=x3-7x2-8x-4

To get my initial values of x, I used a graph:

From the graph it is clear that the roots of this equation lie between the values of x=8 and x= 9. So I set my initial values of x between 8 and 9. Values of the function for different values of x are then tabulated as below.

I have italicised, emboldened and bordered the values of x within which roots of the equation will lie.

This method works because at the root of equation graph the curve must pass through the x-axis and therefore one side of it would be positive and the other negative:

As can be seen, before the curve line passes through the x-axis, f(x) > 0, and then after it passes through the x-axis f(x) < 0, this can be vice-versa if the curve is coming from below the x-axis.

This method does not work all the time. For example, if two roots are very close together, then the decimal search would say there are no roots because the curve goes through the x-axis and then comes up again within the search field, unless of course the initial search field itself is narrowed considerably which may be difficult to ascertain. An example of such an equation is:
Join now!


y=x3+0.12075x2-14.1508x+19.9297

As you can see, if we were searching for any roots between x-values 2 and 3, or even between 2.12 and 2.14, none would show up because on both sides we'd find a positive value suggesting there are no roots, but in fact the curve line does cross the x-axis.

Newton-Raphson method

The next method I'm going to look at is the Newton-Raphson method. As in the previous method, at first, a value of x is selected near the root of the equation with the help of a graph. Then, at the point on ...

This is a preview of the whole essay