Solving Equations Numerically

Authors Avatar

Josh Wakeford 12B1

05/04/03

Pure 2 Coursework: Solving Equations Numerically

Many cubic equations can be solved algebraically; however, many cannot, which means we have to give approximate answers.  Graphs, like the one seen below, cannot be solved algebraically and have to be solved some other way.

So, how can we solve these graphs to any degree of accuracy, and in the most efficient way possible?  This problem comes up a lot in real life, as many equations in real life will not be able to be solved algebraically, and so other methods have to be used.

There are a number of methods that can be used here, and in this coursework, I am going to describe a trio of good methods that all have their advantages and disadvantages.


Interval Estimation – Change of Sign Method

Now, as are looking for the values of x when the graph crosses the x-axis, we know that when there is a root, f(x) will change sign, so assuming that the graph does not have any asymptotes or other breaks in it, we know that once we have located a interval with a root in it, f(x) will change sign.

For example, in the diagram to the left, we know that there is a root between 1 and 2.

Decimal Search

There are three good ways of getting as close to the root as possible, but I will focus on the method known as decimal search.  When using this method, you should start by taking increments in x of size 0.1 for the equation that we are using, assuming that by looking at the graph, you can see the two integers that a root is in between.

For example:

We then know that the root lies between 1.1 and 1.2 and we can say that the root is equal to 1.15 with a max error of ±0.05.  You could also say that the root is 0.1 to one decimal place.

We can carry on using this method to get to many decimal places, but it is very slow work and can lead to severe depression and boredom.  You can see on the next page that I have produced tables to find a root to 6 decimal places.


These tables are found using the equation x

Join now!

So, using these tables we can say that the root is 1.17740965 with maximum error bounds of ±0.00000005.  I think this is accurate enough.


Advantages and Problems with the Change of Sign Method

There are of course advantages and disadvantages of this method of solving equations.

The main advantage is that, when using the change of sign method, you are instantly provided with the error bounds for the solution, as you know which two numbers you searched between and therefore you know the midpoint.  This makes it very simple.

However, there are problems with using the change ...

This is a preview of the whole essay