Investigate the solution of equations, comparing the following methods, Systematic search for change of sign using a decimal search, Fixed point iteration using the Newton-Raphson method, Fixed point iteration after rearranging the equation f(x)=0 into th

Authors Avatar

Madeleine Strickland

Pure Mathematics 2: Component 02 (Coursework)

During this coursework, I intend to investigate the solution of equations, comparing the following methods.

  1. Systematic search for change of sign using a decimal search
  2. Fixed point iteration using the Newton-Raphson method
  3. Fixed point iteration after rearranging the equation f(x)=0 into the form x=g(x)

After implementing these three equations to find the same root of the equation, I will compare the methods in terms of speed of convergence and whether available hardware/software simplify the problem.

Change of Sign Method

The equation I intend to use is…

f(x) = x³ - 4x² - 11x +10                    

When using this equation I am assuming that f(x) = y = 0

 This equation cannot be solved by normal algebraical methods, such as factorising, which is why these numerical methods must be used.

Here is an unaltered graph of the line of the equation above.

 

If y changes sign in an interval, a root lies in between that interval.  I know for a fact that there is a root between 0 and 1 as the lines cuts the x-axis (where y=0) somewhere between those two points.

f(0) = 10

f(1) = -4

There is a change of sign between these points, which further confirms my theories.  As this is to no decimal places at the moment, I will use Excel to break the change of sign down further to pin-point it exactly.  I have highlighted where the sign changes each time.  In Excel I have used this equation to enter into the boxes in the y column…=A2^3-(4*A2^2)-(11*A2)+10.  In this equation, A2 is the cell to the left of the one on the y column, so for example 0.0 when 10 is the answer.

The table above shows the x and y values in between 0.0 and 1.0.  The x values are to one decimal place.  This is more accurate than before.  The highlighted numbers are where the change of sign occurs. The tables below show the x values to greater accuracy as I converge on the number.

Join now!


The table showing the change of sign to 4 decimal places shows that the change of sign occurs between 0.7448 and 0.7449.  .

It is positive when 0.7448 is inserted in to the equation.  f(0.7448) = 0.001453

It is negative when 0.7449 is inserted in to the equation.  f(0.7449) = -0.0000077

So, the root is 0.74485 plus or minus 0.00005.  This is true to 4 decimal places.  I therefore need to show this graphically.  I have demonstrated this in the graph below.   It clearly shows that the line cuts throught the x-axis in ...

This is a preview of the whole essay