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

# Testing Root Methods

Extracts from this document...

Introduction

Pure 2 Coursework: Testing Root Methods A. Hayton Pure Mathematics 2 Coursework: Testing root methods Aim: My aim is to find the advantages and disadvantages of three different root-finding methods: The Change of sign method, The Newton-Raphson method and Fixed Point Iteration. Method 1: Decimal Search (Change of Sign Method) The decimal search method is used to find the first root of y=x5-x+0.2 - the table of our working is shown below. As you can see, when we find the sign changes we can then move on and find the next decimal place. Error Bounds of this root As we can see from the table, the error bounds of this root are -1.044762 and -1.044761 (the root lies in between these two points because y is negative for one and positive for the other). The root is found in 49 iterations. Failure of the Change of Sign Method The root closest to x=1 cannot be found because the decimal search method will stop when it reaches around x=0.3 (finding the first root in between 0 and 1) ...read more.

Middle

Method 3: Rearranging the formula In order to solve graphs by this method, the equation needs to be rearranged so that it crosses y=x. Adding an x to both sides of the equation enables us to do this. For example, y=x5+1.4x2-2x+0.5 becomes x=(x5+1.4x2+0.5)/2. This means that when the new graph crosses y=x the old graph will cross y=0 at the same point. Here is a visual representation of the new graph, along with y=x. If we use the Fixed Point Iteration function of Autograph, we can see the way it works out the graph points: x Change in x 0 N/a 0.25 0.25 0.294238 0.0442383 0.311706 0.0174678 0.319484 0.0077777 0.323113 0.00362939 0.324842 0.00172927 0.325674 0.000831971 0.326076 0.000402127 0.326271 0.000194798 0.326366 9.44653E-05 0.326412 4.58339E-05 0.326434 2.22439E-05 0.326445 1.07966E-05 0.32645 5.24073E-06 0.326452 2.54394E-06 0.326454 1.23489E-06 0.326454 5.99452E-07 The root we have found is x=0.326454. If this value of x were put into the old equation we would find that this is a root of that too. If we find g'(x) for our starting value (x0), it turns out to be 0. ...read more.

Conclusion

It also does Newton-Raphson and Fixed Point iterations in a matter of seconds. It works to a large number of decimal places if this is set in the options. Newton-Raphson Iterations do not need the original equation to be changed in any way and all the roots can be found easily by specifying a starting value close to the root. This is by far the most preferred method out of the three. Fixed-Point Iterations need the equation to be changed before a root can be found. Also, two graphs need to be drawn which can take time in Autograph. Both graphs then need to be selected instead of just one, but from there the computer does all the work. If we want to find all the roots this can take a long time as the graph needs to be redrawn as many as 3 times in some cases! Using the spreadsheet helps to speed up the Decimal Search method, but it cannot be done in Autograph. This means as well as taking longer than the other two it is also more difficult to complete, as all the boxes need to be filled in manually. ?? ?? ?? ?? ...read more.

The above preview is unformatted text

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.  5 star(s)

Here, I shall investigate some further "a" and x values to find the overall gradient function for axn; this will bring my investigation to a close. 3x� is suitable for the next investigative values.

2. ## Solving Equations. Three numerical methods are discussed in this investigation. There are advantages and ...

Method of Bisection: n a f(a) b f(b) c f(c) error 1 0 1 1 -0.5 0.5 0.3125 0.5 2 0.5 0.3125 1 -0.5 0.75 -0.1015625 0.25 3 0.5 0.3125 0.75 -0.1015625 0.625 0.106445313 0.125 4 0.625 0.106445313 0.75 -0.1015625 0.6875 0.002319336 0.0625 5 0.6875 0.002319336 0.75 -0.1015625 0.71875 -0.049697876

1. ## Numerical solution of equations, Interval bisection---change of sign methods, Fixed point iteration ---the Newton-Raphson ...

Comparing those three methods Speed of convergence After applying those three methods, I then know that the Bisectional method takes 18 steps, shown on spreadsheet 4.2, which is the longest procedure, to get the answer. On the other hand, Newton-Raphson method proceeds more quickly than that of bisection, which takes only 6 steps, shown on spreadsheet 4.3.

2. ## Finding the root of an equation

The Newton-Rapshon method involves using a starting value. A line is drawn from the starting value on the x-axis directly vertically upwards until it intersects the line created by the graph. At the intersection, the tangent is drawn which passes through the x-axis. At the new intersection, between the tangent and the x-axis, another line is directly vertically drawn upwards until it intersects the line the graph created.

1. x=3: 12.41 (round down to 12) the 3 has been multiplied by 4. x=4: 16.8 (round down to 16) the 4 has also been multiplied by 4. x=-2.5: -9.23 (round to -10) the -2.5 has been multiplied by 4. x=-4: -17.77 (round down to -16) the -4 has been multiplied by +4.

2. ## maths pure

Limitations of Decimal Search The decimal search, an example of a change of sign method, will not work when the curve of a given function touches, but does not cross, the x-axis. In such a case there is no change of sign, and so the method is doomed to failure.

1. ## Functions Coursework - A2 Maths

Following is part of the graph y=x3-7x-4; I have taken y to be equal to f(x). The pink line represents the Newton-Iteration. The next approximation is given by x2 = x1 - (f(x1)/(f /( x1)) This works because the gradient of the line drawn is f /( x1).

2. ## Mathematics Coursework - OCR A Level

The black line shows the method converging and coming closer and close to the solution. x-value x-y 0.31 0.31 0.2225 0.08751 0.2621 0.03965 0.245 0.01714 0.2526 0.007625 0.2493 0.003356 0.2508 0.001485 0.2501 0.0006553 0.2504 0.0002896 0.2503 0.0001279 0.2503 5.65E-05 0.2503 2.495E-05 0.2503 1.102E-05 0.2503 4.869E-06 0.2503 2.151E-06 0.2503 9.501E-07 0.2503 • Over 160,000 pieces
of student written work
• Annotated by
experienced teachers
• Ideas and feedback to 