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

# decimal search

Extracts from this document...

Introduction

Introduction

In maths equations can be solved using various methods. A very common and efficient method in solving equations is algebraically. But not all equations can be solved algebraically; these equations must be solved using numeric methods.

I will study three specific numeric methods on different equations.

~ Change of sign, decimal search process.

~ Newton-Raphson method.

~ Re-arrangement method.

I will be testing the numeric methods with separate equations which cannot be solved algebraically. I will also apply all of the methods to one of the equations and check if all the methods give me the same value for the root I want to find.

Change of Sign, Decimal Search

To find the root of the equation f(x) = 0 means finding values of x for the graph          y = f(x). The change of sign method works on the bases that the y = f(x) graph changes signs when it crosses the x-axis. e.g. y = f(x) The sketch above shows that there is a root between the interval [b , c] and the curve of y = f(x) crosses the x-axis and changes its sign from negative ( - ) to positive ( + ), and at the interval [a , b] f(x) curve crosses the x-axis changing its sign from positive  ( + ) to negative ( - ).

Middle eg The tangent produces a closer estimate of the root. This eventually leads to the actual root.

From this procedure the Newton-Raphson iterative formula is produced.

A chosen equation and an estimate root value are used with the iterative           Newton-Raphson formula to eventually converge to the actual root.

Failure of Newton-Raphson Method

The Newton-Raphson method will fail if the starting point is carelessly selected. If the initial value of x is not close to the root needed to be found, the Newton-Raphson formula may not converge to the root. Also if the initial value is selected close to a turning point then it will also cause the formula to either diverge or converge to another root.  eg The selected initial value lies to close to the turning point of the f(x) curve, this creates the tangent from the initial value to diverge outside the area of the f(x) curve. This subsequently renders the method to fail as no further estimates of the root can be obtained.

When trying to find the root between the interval [0 , 1] and using the initial value as 0.88.  The tangent is forced to diverge from the f(x) curve, this illustrates the failure of the Newton-Raphson method.

Newton-Raphson Method in Practise

The equation to be used in finding a root using the Newton-Raphson method is,

y = xµ - 3x + 1

Sketch of       y = xµ - 3x + 1

 Sketch of y = xµ - 3x + 1 with tangent line markings.Initial value = 2 (x  )

Conclusion

The Newton-Raphson method only required two iterations before converging to the required root.

The change of sign method had to go through six cycles before producing the required root correct to six decimal places.

The re-arrangement method went through four iterations to produce the root value.

Although the re-arrangement method only marginally lost in time efficiency when compared to the Newton-Raphson method; the re-arrangement method proves to be the most demanding. As the re-arrangement method relies on producing a re-arrangement to the form of y = g(x) and satisfies the fact y = g` (x) < y = x`.

The change of sign, decimal search method is a very straight forward method which can be applied easier then the other methods, but lacks in its rate of convergence.

So in an overall comparison I can state that the Newton-Raphson method has the fastest rate of convergence, and thus has an efficient process of finding the desired root of an equation that must be solved numerically.

The use of software packages and hardware devices make understanding the methods and application of the methods faster and more accurate.

Using Excel spreadsheet in displaying the calculations for the change of sign method proved to be efficient as it enabled repetitions of calculations to be performed much faster than by manual process.

Also using graphical displaying software such as Autograph allowed easier demonstration of the process of the different methods, and a more accurate interpretation of the methods.

This student written piece of work is one of many that can be found in our AS and A Level Decision 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 Decision Mathematics essays

1.  5 star(s)

By trying to find a general trend from this, I can conclude that when a, in axn, is constantly 1, and the values of n are whole numbers, the gradient function for this in general is: nxn-1 However, I will need to prove this using binomial expansion.

2. ## Decimal Search.

= -0.00348 f (1.332) = 0.003284 Change of sign indicates a root somewhere between the two. This took 4 steps to find an answer correct to five significant figures. Newton-Raphson x |?x| 1.639 0.3611 1.432 0.207 1.347 0.08469 1.332 0.01519 1.332 0.0004721 This method took 4 steps.

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

This can be shown graphically on the Graph 3.7. Not knowing the magnitude of the gradient, the value of x taken is near to the approximation---2. The slope of the graph at x = 4 is g' (4) which is 3.692307692..., which is larger than 1. Spreadsheet 3.6 The magnitude of the rearrangement is quite good as you have

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

This is explained with a diagram with of Rearrangement A and its iterative formula below. This failure is shown graphically below: From the graph above, I can see that there is no convergence to that particular root I am looking for, but I want to test it again by substitution

1. This is because in the equation, it has an intercept of 1. x Gradient 2 4.5 -1 3 4 4.25 -3 3.67 Results: In this graph, the gradients at these points alter. The -1 on the x axis has a gradient of 3.

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

between [2, 3] but there is no change of sign anywhere else in the table, so according to the decimal search method there is no root between [5,6]. Even by doing a search to 1 decimal place between [5,

1. ## Portfolio - Stopping Distances

Below is a graph showing the same graph as above but with an extended window frame. Graph 5. Quadratic model for Speed versus Braking distance with enlarged window frame Here we can see that the plots match well on the right side.

2. ## newton raphson

I must think about problems. Are there any occasions when this decimal search method might not find root? I've got few examples of that. 1. Equation: x5-2.5x3+1.7 = 0 Intervals: [-2,-1] [1,2] x f(x) -2 -10.3 -1 3.2 0 1.7 1 0.2 2 13.7 In interval [1,2] we have no change of sign (look to the table above). • Over 160,000 pieces
of student written work
• Annotated by
experienced teachers
• Ideas and feedback to 