• 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)

    and Q (2.00001, 2.00001�) 2.00001� - 2�/ 2.00001 - 2= 4.0000400001 - 4/0.00001= 4.00001 As P and Q get closer to each other, they get closer to 4. From these results, when x = 2, the gradient of the curve is equal to 4.

  2. The Gradient Fraction

    I begin to identify a pattern; the values on the 'y' and the 'x' scales are the same, so the gradient of the straight line with the same scale values will equal to 1. This is because when you divide the value on the 'y' axis by the value on

  1. Functions Coursework - A2 Maths

    -1.00000000 x3 3.00000000 x4 2.30434783 x5 1.96748948 x6 1.86947047 x7 1.86087068 x8 1.86080586 x9 1.86080585 x10 1.86080585 i.e. it does not converge at the required root. To illustrate this graphically (the pink line represents the iteration): This happens because the gradient of the curve at x=1 is very shallow, therefore the tangent touches the x-axis 'too far' to the left.

  2. MEI numerical Methods

    the formula described above we would have an approximation of the root closer to the real root X(3), then I would use x(2) and x(3). The secant method always uses the two most recent approximations of the root. I will produce an answer to 9 significant figures by the use

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

    6], still no change of sign is found, so it is assumed there are no other roots. x y 5 0.1214 5.1 0.039 5.2 0.00156 5.3 0.01512 5.4 0.08568 5.5 0.2192 5.6 0.4218 5.7 0.6994 5.8 1.058 5.9 1.503 6 2.042 However, by simply zooming in on the graph it

  2. Investigation of the Phi Function

    = ?(m) x ?(n),but they do not. Some of them are listed below: m n ?(mn) ?(m) x ?(n) Does ?(mn)= ?(m) x ?(n) 4 6 ?(24) = 8 2 x 2 =4 No 6 8 ?(48) =16 2 x 4 =8 No 6 9 ?(54) = 18 2 x 6 =6 No ?

  1. Solutions of equations

    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.

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

    4a + 2b + c = 12 -eqn2 - a + b + c = 4 -eqn1 3a + b = 8 -eqn5 Equation 4 - Equation 5 I am doing this to eliminate B and finally work out what A is worth.

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