Solutions of equations

Authors Avatar

Gareth Brown                Solutions of Equations

C3

Solutions of equations

By Gareth Brown


Introduction

I will be investigating the solutions of equations using the following three methods:

  1. Change of sign method
  2. Newton-Raphson method
  3. Fixed point iteration after rearranging the equation from form f(x) =0 into the form x = g(x)

I will solve the equations with these methods as I cannot solve them by any algebra I have met so far. The equations I am going to use are the following:

  • y = 243x3-378x2+192x-32 = 0
  • y = ex-x3-1.4 = 0
  • y = 43x3-60x2-250x-115 = 0
  • y = x3-5x+2.6 = 0

In my investigation I will give illustrated examples of the methods failing for the root I am looking for. All failures will be explained.

In my investigation I will use a Casio calculator to help draw graphs and to help identify where the rots are. I will also have computer software such as Autograph to help draw graphs and to show certain methods graphically.


Change of Sign Method

I will be using the “decimal search” method to check for a change of sign in the equation:

y = 243x3-378x2+192x-32

The graph of this function is given below.

I then decided to confirm the shape of the graph by finding how many turning points there is.

        Dy = 729x2-756x+192 = 0

        Dx

        Quadratic Equation: D= b2-4ac

                                =-7562-(4*729*192)

                                =11664 > 0

                                => 2 Real Turning Points (Graph Shape Confirmed)

By putting in Values of X into the equation I found some values of Y.

Table 1

So I know there is a root between [0,1] but from my earlier graph I know there is two roots between this number. I will need to investigate further and check for roots between 0 and 1. The table of values is given below.

Table 2

So I know there is a root between [0.6,0.7]. This only accounts for root B. What about Root A? Here is an example of the method failing. I will go into this in more detail further on. Root B, However still needs to be found more accurately. I will know find the values for the function between 0.6 and 0.7.

Table 3

Table 4

Table 5


Table 6

I know that root B of the equation y = 243x3-378x2+192x-32 lies somewhere between: x = 0.66666 and x = 0.66667. So taking the answer as the midpoint of the two I get: x = 0.666665 (6 d.p.). But seeing as I only need the answer to 5 decimal places I get x = 0.66667 (5 d.p.).

Answer: 0.66667 (5 d.p.)

Error: 0.66667 + 0.000005

Error Bounds: [0.666665,0.666675]

For these error bounds to be valid there must be a change of sign when the values are input into the equation:

f(x) = 243x3-378x2+192x-32

f(0.666665) = -0.00002

f(0.666675) = 0.00001

There is a change of sign in the two answers so I can say the error bounds are valid.

ROOT B ANSWER = 0.66667 (5 d.p.)

ROOT A

As mentioned earlier the method failed for Root A as there was no change of sign between f(0.4) and f(0.5). I know there is a root because of the graph and f(x) = 0 for x = (4/9) or 0.44444 (5.d.p).

Join now!

The table is shown again below.

I will investigate this further: A table is produced of values between 0.4 and 0.5.

Although there is no change of sign there is an evident way of getting nearer to the root. As the table shows the numbers are getting nearer to 0 up to x = 0.44, but x = 0.45 is now starting to move away from 0.

One more table of values between 0.44 and 0.45 should prove this further.

This also was the case with f(x) ...

This is a preview of the whole essay