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

Newton-Raphson Method: This is a fixed-point estimation method.

Extracts from this document...

Introduction

Method 2: Newton Raphson

Newton Raphson

Newton-Raphson Method:

This is a fixed-point estimation method. The estimate starts at x 1,for a root of f(x) = 0. A tangent is then draw to the curve y = f(x) at the point (x 1, f(x 1)). The point at which the tangent cuts the x-axis then gives the next approximation for the root, and the process is repeated.

I am going to use the equation y = x³ - 3x + 1.


***

As you can see there are three roots in this graph, they are in the interval [-2, -1]

[0, 1]

[1, 2]

The gradient for the tangent to the curve at (x 1, f(x 1)) is f’(x 1) (meaning dy/ dx for x). The equation of the tangent is: y-y1 = m(x-x1). Therefore y-f(x1) = f’(x1) [x-x1]. This tangent passes through the point (x2, 0). Carrying on with this process, this will get closer and closer to the tangent. But there is a general formula for this process:

x n+1 = x n – f(Xn)/ f’(Xn)

Returning to my function: f(x)

...read more.

Middle

0.28

0.007317

-4.9216

0.28148678

0.281487

6.2E-07

-4.92077

0.28148691

0.281487

4.22E-15

-4.92077

0.28148691

Therefore,

x b = 0.28148691 (8 d.p.)

  1. Root c:

x n

f(x)`

x n+1

-4.5

15.25

-4.07540984

-4.07541

11.60897

-4.00772671

-4.00773

11.06187

-4.00604832

-4.00605

11.04842

-4.00604730

-4.00605

11.04841

-4.00604730

Therefore,

x c = -4.00604730 (8 d.p.)

NEWTON-RAPHSON METHOD DOESN’T ALWAYS WORK!

This method will not work if:

  1. If the initial value is not close to the root, or is near a turning point, the iteration may diverge or converge to another root!
  1. This method can break down when the equation is discontinuous.

I will demonstrate this using the equation g(x) = x 3 – 5x 2 + 8x -4.1


In this case, if we use the value x=2 as the starting point we get a “DIVERGENT” pattern. So the iteration cannot go to the upper or lower root.



At x=2 the trial will fail because the derivative there is 0; and in the equation x n+1 = x n – g(x n)/g`(x n), g`(x n) can’t equal 0 as it will lead to an undefined quantity for x n+1.

...read more.

Conclusion

x

y

1.1

-0.0034

1.111

0.016937

1.112

0.037361

1.113

0.05782

This table now shows that the root is in the interval [1.11,1.111].

Error Bounds

X=

Failure of the Change of Sign Method

Although the Change of Sign method has been proved to work above, there are many examples of cases or equations which would be wrongly represented by this technique. Examples of these are shown below:

  1. Repeated Roots - in an initial search using the Change of Sign method, the table of values for an equation such as y = (x-1.26)2 (x+1.4) would overlook the second root. As you can see from the graph below, there are two roots; one in the interval [-2,-1] and one in the interval [-1,0]. However, the table only shows one change of sign in the interval [-2,-1].

2.   The Change of Sign Method would also fail with an equation where all of the roots fall within the same interval, such as in the equation y = x3-1.7x2+0.84x-0.108. The table below shows only one change of sign in the interval [0,1]. This would indicate that there is only one root, rather than three, in this interval.

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

    (xn-2)(h) + ... + hn-1 h 2! Since h limits to 0, all values containing an h term are therefore all worth 0, so therefore the gradient function for xn = nxn-1 However, in this section, this is perhaps only true for positive integers for the value of n.

  2. Change of Sign Method.

    The above illustration shows that for x0=2, the gradient of y=g(x)= 1/4( x3+2x2-4.58) is greater than that of y=x, i.e. greater than 1. Without further calculation, this can be seen by the fact that the line y=g(x) is steeper than the line of y=x. The gradient of y=g(x) 1/4( x3+2x2-4.58)

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

    /2 Graph 1.3 We can achieve the value of the root as about 1.213, to three decimal places. Graph 1.4---bisection of f(x) = (2x-3) (x+1) (x-2)-1=0 To solve f(x) = (2x-3) (x+1) (x-2)-1=0 by using bisection method in Excel spreadsheet, the root can be obtained by inserting the formulae as follows, Spreadsheet 1.5 n a f(a)>0 b f(b)<0 X f(x)

  2. Different methods of solving equations compared. From the Excel tables of each method, we ...

    0.68920898 -0.00003965 0.68933105 0.00002389 0.68927002 -0.00000790 0.00003177 0.68927002 -0.00000790 0.68933105 0.00002389 0.68930054 0.00000799 0.00001589 0.68927002 -0.00000790 0.68930054 0.00000799 0.68928528 0.00000005 0.00000794 0.68927002 -0.00000790 0.68928528 0.00000005 0.68927765 -0.00000393 0.00000397 0.68927765 -0.00000393 0.68928528 0.00000005 0.68928146 -0.00000194 0.00000199 0.68928146 -0.00000194 0.68928528 0.00000005 0.68928337 -0.00000095 0.00000099 0.68928337 -0.00000095 0.68928528 0.00000005 0.68928432 -0.00000045 0.00000050 0.68928432

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

    After all, both seems can work out the root and I have chosen Rearrangement B, which is x=V[(1-3x^5)/5]. So my iterative formula for this rearrangement is xn+1=V[(1-3xn^5)/5] I can see from my graph above that the point of intersections of the two lines is between x=0 and x=0.8(approximately).

  2. The Gradient Fraction

    = 27.27 - 27 = 0.27 3.01 - 3 = 0.01 = 27 x=4: Gradient = 64.48 - 64 = 0.48 4.01 - 4 = 0.01 = 48 These results obtained are very accurate. They have no decimal places. x -4 -3 -2 -1 0 1 2 3 4 2x3

  1. newton raphson

    0,680760 -0,000056 0.67 -0,06939 0,687 0,040909 0,6807 -0,00045 0,680770 0,000010 0.68 -0,00501 0,688 0,047526 0,6808 0,000205 0,680780 0,000075 0.69 0,060803 0,689 0,054157 0,6809 0,000857 0,680790 0,000140 0.7 0,12807 0,69 0,060803 0,681 0,00151 0,680800 0,000205 I can express this interval using the Error bounds.

  2. Change of Sign Method

    However the integer search does not show a change of sign between x=2 and x=3 and therefore misses the 2 roots shown in the graph: x -6 -5 -4 -3 -2 -1 0 1 2 3 4 y -71 1 43 61 61 49 31 13 1 1 19 This is therefore a failure of the change of sign method.

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