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

newton raphson

Extracts from this document...

Introduction

Numerical solutions of equations.

Decimal Search

We will look at the polynomial equations which cannot be solved by algebraic methods.  All linear and quadratic equations can be solved algebraically so we are interested in equations with powers of x3 at least.
The first method to be looked at is the Decimal Search.  This involves finding an interval of the x- axis in which a root of the equation lies. 

Let's consider the function: y=x5+4x2-2. The region to scan to find the first root is -4<x<4.

x

f(x)

-4

-962

-3

-209

-2

-18

-1

1

0

-2

1

3

2

46

3

277

4

1086

We can identify three intervals which have a change of sign:  [-2,-1]  , [-1,0] , [0,1].
If we sketch the graph of the function three roots are confirmed in these intervals:
image00.png

I’ll draw a sketch to show the curve crossing the x- axis in this interval.image09.png
I am  going to concentrate my search on this interval [0,1]  and look at interval of width 0.1 unit.

x

f(x)

0.000000

-2.00027

0.100000

-1.95999

0.200000

-1.83968

0.300000

-1.63757

0.400000

-1.34976

0.500000

-0.96875

0.600000

-0.48224

0.700000

0.12807

0.800000

0.88768

0.900000

1.83049

1.000000

3

The change of sign occurs in [0.6 , 0.7] which is where the root lies.

This process can now be continued using intervals of width 0.01 then by using intervals of width 0.001 etc.
...read more.

Middle

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).image11.png
The Decimal Searching method disappoints, it is inexact. When the curve touches the x-axis there is no change of sign, so change of sign methods are doomed to failure.
2.

Equation:   x³+0.7x²–2.1775x+0.845 = 0

We are looking for the change in signs between -4 and 4.

x

f(x)

-4

-43.245

-3

-13.3225

 -2

0

 -1

2.7225

0

0,845

1

0,3675

2

7.29

3

27.6125

4

67.335

At point x=2, f(x)=0, so I found first root.
We got another root between 0 and 1.
But that one's repeated root. The decimal search method does not show between those values any change, because curve touches  y-axis on that particular point, so there we have no change in sign, as well.
image12.png
Above we can see interval [0,1] and root which lies there.
3.

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)image13.png

-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

...read more.

Conclusion

I will try two starting point, one at x=0, and next one at x=0.7. Look what I’ve done.

At x=0.

image06.png

image07.png

At x=0.7.

This is a little bit weird. Why they not come to this root which I want. Answer is very simple and depends of the gradient of g(x). Gradient is in this method responsible for finding the roots. A rearrangement will find only root at x if the gradient of g(x) at this point x is between -1 and 1. So algebraically, if -1<g(x),1.

I will differentiate the gradient.

g(x) =((6x3-1)/4)0.2

g’(x)=

Therefore at x=0, gradient=

and at x=0.7, gradient=

We can not find the root in [0, 1] using this rearrangement. We can however use a different rearrangement to find this root.

2. Second rearrangement.

I will look on the graph of function y=(x) and y=((-4xn 5-1)/6)1/3. Below I show you that graph.image08.png

I must find only one remaining root. I know that it lies in interval [0,1].

image10.png

I know that gradient at point x=0 is less than 1 and bigger than -1. So I can clearly say that starting pint I’ve choose will go definitely towards the right root.  


...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

See related essaysSee related essays

Related AS and A Level Core & Pure Mathematics essays

  1. Marked by a teacher

    The Gradient Function

    5 star(s)

    General Proof - With this method, we take two points, like the other two methods. The co-ordinates of P remain the same as the increment method, but this time, Q, it is (x+h) x+h) �). Here, "h" tends to 0 and can be any value on the x axis.

  2. MEI numerical Methods

    for the secant method, this should give us the constant K if it is first order convergence, sadly it doesn't. The final(green) values should all be approximately the same. However they clearly are not, this means the secant method does not have first order convergence.

  1. Numerical Solutions of Equations.

    I will attempt to find the root in the interval [-2,-1] by taking x = -0.95 as my starting value. xn xn+1 = xn - xn5 - 3xn - 1 5xn4 - 3 x0 = -0.95 x1 = (-0.955 - 3 x -0.95 - 1)

  2. Investigate the relationships between the lengths of the 3 sides of the right angled ...

    6 + b = 8 B = - 6 B = 2 Substitute A =2 and B = 2 into equation 1. I am doing this to find what C is worth. A + B + C = 4 2 + 2 + C = 4 4 + C = 4 C = 0 F (n)

  1. 2D and 3D Sequences Project

    Using the Difference Method to Find an Equation to Establish the Number of Squares in a 3D Version of the Pattern Pos.in seq. 0 1 2 3 4 5 No.of squar. -1 1 7 25 63 129 1st differ. 2 6 18 38 66 2nd differ.

  2. The Gradient Fraction

    2 3 4 y -4 -3 -2 -1 0 1 2 3 4 Graph follows on the next page This is the graph of 'y=x'. I will be finding the gradient at different points on this graph. x -4 -3 -2 -1 0 1 2 3 4 x2 16 9

  1. Investigation of the Phi Function

    However, there are some exceptions, which show that this cannot be the case. For example, 1 and 3, 1 and 5, and 3 and 5 are all combinations of m and n which are both odd and yet they fulfil the equation ?(mn)

  2. Three ways of reading The Bloody Chamber.

    Read this way it is precisely the sort of warning that the 18 year old Dianna Spencer could well have profited from before marrying the 40 year old, sexually experienced and emotionally jaded Charles Windsor and embarking upon her preordained role as a symbol of emotional victimhood.

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work