• Join over 1.2 million students every month
• Accelerate your learning by 29%
• Unlimited access from just £6.99 per month

# Numerical solutions of equations

Extracts from this document...

Introduction

Kosturi Ash 12/3

A2 Mathematics Coursework C3

Year 12

## Solving 0 = x5+x-5 using the “Change Of Sign” Method

The method I will use to solve 0 = x5+x-5 is the Change of Sign Method involving the Decimal Search method. I have drawn this graph using the Autograph Software, and the print screen of this is below:  From my graph above, I can see that the root of this equation is between x =1 and x = 1.5. The table of x values and f(x) values is shown below. I can work out the f(x) values by substituting the x-values into the equation.

 x 1 1.1 1.2 1.3 1.4 1.5 f(x) -3 -2.28949 -1.31168 0.01293 1.77824 4.09375

From my table of values above, it is clear that the change of sign from negative to positive occurs between x = 1.2 and x = 1.3. So, I can narrow these values down further to find another change of sign.

### x

f(x)

1.21

-1.19626

1.22

-1.07729

1.23

-0.95469

1.24

-0.82837

1.25

-0.69824

1.26

-0.56420

1.27

-0.42616

1.28

-0.28403

1.29

-0.13769

1.30

0.01293

I can see that the change of sign is between x = 1.29 and x = 1.30.

### x

f(x)

1.291

-0.12283

1.292

-0.10792

1.293

-0.09296

1.294

-0.07797

1.295

-0.06293

1.296

-0.04784

1.297

-0.03271

1.298

-0.01754

1.299

-0.00233

1.300

0.01293

The change of sign is in the interval [1.299, 1.300]

### x

f(x)

1.2991

-0.000805

1.2992

0.000720

1.2993

0.002244

The root of this equation lies in the interval [1.2991, 1.2992]. This means that I can take the root to be x = 1.29915(5 decimal places).

...read more.

Middle

3+6x2+3

The iterative formula is: xn+1 = xn- f(xn)

f’(xn)

So the iterative formula for this equation is: xn+1 = xn- xn4+2xn3+3xn-4

4xn3+6xn2+3

On my diagram of this function, I have taken my x1 value to be about –1.6

x1 = -1.6

x2 = 3.682591

x3 = 2.658976

x4 = 1.899865

x5 = 1.353797

x6 = 1.003365

x7 = 0.847116

x8 = 0.819172

x9 = 0.818390

x10 = 0.818389

x11 = 0.818389

From that, I can quite clearly see that there is a convergence beginning to show towards the positive root. However, my aim was to find the negative root, and I could not find it. Therefore, the Newton-Raphson method has failed to find that particular root, even though the starting value was close to it.

Another example where the Newton-Raphson would not work is the function (x+21/2)1/2 ln (x+21/2) = 0. The graph and calculations of this is below: The function is: (x+21/2)1/2 ln (x+21/2) = 0

f’(x) = ((x+21/2)1/2X 1                 ) + (ln (x+21/2) X ½ (x+21/2) -1/2)

x + 2 1/2

(x+21/2)1/2   + ln (x+21/2) (x+21/2) -1/2

(x+21/2)1                2

1         + ln(x+21/2)

(x+21/2)1/2               2(x+21/2)1/2

=        2+ ln((x+21/2)

2(x+21/2)1/2

The iterative formula for the Newton-Raphson method is:

xn+1 = xn = f’(xn)

f’(xn)

x n+1 = xn  - 2(x+21/2)ln(x+21/2)

2 + ln(x+21/2)

I choose my starting value of x (x1) to beabout –1.3.

x1 = -1.3

x2 = -4.22079

x3 = not defined

x4 =

Another example where the Newton-Raphson method would fail is with the function x3-5x+0.1=0.

...read more.

Conclusion

Decimal Search method.

Both the Newton-Raphson method and the Rearrangementmethod were fixed point estimates and involved an iterative process. Therefore, these methods were very similar. However, these two methods differ because there is a specific formula for the Newton-Raphson method. Although the Newton-Raphson method was more complicated than the Rearrangement method, it gave a much more rapid rate of convergence. In fact, the Newton-Raphson method gave the most rapid rate of convergence to 6 decimal places, whereas, for the Decimal Search method, it took me very many calculations to converge to 5 decimal places. So, the Decimal Search method gave the slowest rate of convergence. These two methods were not as time-consuming as the Decimal Search method because it did not involve having to find a change of sign in many particular intervals; there was already a convergence towards the particular root I wanted. However, it was really easy to make mistakes on the calculator due the order of the terms in the iterative formulae.

I used the Autograph software to draw these graphs. This was so much quicker than drawing the graphs by hand, and Excel does not have the facilities to draw such advanced graphs. The Autograph software was very easy to use and it also helped me to find out which rearrangement of a function were suitable (when carrying out the Rearrangement method) and in which interval the root was in (when using the Decimal Search method).

...read more.

This student written piece of work is one of many that can be found in our AS and A Level Core & Pure Mathematics section.

## Found what you're looking for?

• Start learning 29% faster today
• 150,000+ documents available
• Just £6.99 a month

Not the one? Search for your essay title...
• Join over 1.2 million students every month
• Accelerate your learning by 29%
• Unlimited access from just £6.99 per month

# Related AS and A Level Core & Pure Mathematics essays

1.  ## C3 Coursework - different methods of solving equations.

5 star(s)

Fixed point Iteration This method is probably the hardest method to use out of the three. It involves rearranging a y = f(x) formula into x = g(x), by using any one of the x values in the f(x) formula.

2.  ## Estimate a consumption function for the UK economy explaining the economic theory and statistical ...

3 star(s)

The same conclusion can be gained from the other tests. Such as the p-test, the higher the value of t-test the lower the value of p-test. Thus, the consumption function which incorporating inflation and error correction is successful. The predictions from this equation are shown in Figure 7(a).

1. ## Pure 2 coursework - Decimal Search Method

Using the decimal search method, x f(x) -4 -353 -3 -181 -2 -71 -1 -11 0 11 1 7 2 -11 3 -31 4 -41 5 -29 6 17 It is clear that there is a root in the interval [1, 2] x f(x)

2. ## Change of Sign Method.

The value x0 will be taken as -1, and substituted into the iterative formula: xr+1 = xr - f(xr) A Microsoft Excel Spreadsheet with the following formulae was used to calculate where the tangent crosses the x-axis: The values that were obtained are as follows: Therefore it can be understood that the root is -0.917 correct to three decimal places.

1. ## The method I am going to use to solve x&amp;amp;#8722;3x-1=0 is the Change ...

the function is discontinuous 2) a bad starting value of x 3) the function is not defined over the whole real number(a point outside the domain of the function) Comparison of methods To compare which method work the best, I am going to solve the same equation with 3 different methods.

2. ## In this coursework I will be looking at equations that cannot be solved algebraically

The root between [1,2]: 0 1 1 1.333333493 2 1.347222231 3 1.347296353 4 1.347296355 5 1.347296355 6 1.347296355 So the root is 1.34730 to 5 d.p The root between [-1,0]: 0 -1 1 -0.8888889067 2 -0.879451569 3 -0.8793852448 4 -0.8793852416 5 -0.8793852416 6 -0.8793852416 So the root to 5 d.p would be -0.87939.

1. ## Mathematics Coursework - OCR A Level

The change of sign method is the easiest for less-experience mathematicians as it does not require previous knowledge of how to differentiate whereas the other two methods do.

2. ## newton raphson

Equation: 1/(x-2.5) = 0 We are looking for the change of sign between -4 and 4 for discounting type of function. x f(x) -4 -0.14925 -3 -0.17544 -2 -0.21277 -1 -0.27027 0 -0.37037 1 -0.58824 2 -1.42857 3 3.333333 4 0.769231 As we can see we have change of sign in place where no curve of that function is. • Over 160,000 pieces
of student written work
• Annotated by
experienced teachers
• Ideas and feedback to
improve your own work 