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

    First I shall investigate fractional powers - I will try to investigate 2 or 3 of these to find a general rule. y = x1/2 x y second point x second point y gradient 3 1.73205080756888 3.1 1.760681686 0.286309 3 1.73205080756888 3.01 1.734935157 0.288435 3 1.73205080756888 3.001 1.732339459 0.288651 4

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

    -0.5 -0.0008 0 0.0142 -0.25 -0.002675 0.25 3 -0.5 -0.0008 -0.25 -0.002675 -0.38 0.00177813 0.125 4 -0.375 0.001778125 -0.25 -0.002675 -0.31 -0.000302 0.0625 5 -0.375 0.001778125 -0.3125 -0.000301953 -0.34 0.00086626 0.03125 6 -0.34375 0.00086626 -0.3125 -0.000301953 -0.33 0.00030275 0.015625 7 -0.328125 0.000302753 -0.3125 -0.000301953 -0.32 4.1191E-06 0.0078125 8 -0.320313 4.11911E-06

  1. Analyse the use of three methods which are called the: change of sign, Newton-Raphson ...

    How to use the rearrangement method on excel First a value for x is put into cell A1. Then the function f(x)=0 is rearranged into the form x=g(x), and the function g(x) is input in cell A2 with reference to cell A1.

  2. Change of Sign Method.

    Using a sign change search verifies that the intervals within which the roots lie are indeed [-3,-2],[-1,0] and [1,2]: x -4 -3 -2 -1 0 1 2 3 4 f(x) - - + + - - + + + When using the Fixed Point Iteration method, the above equation must

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

    The table below shows part of the formulas used in the Excel. A f(a) b f(b) c f( c) 0 =0.2*(A2-4)*(A2+2)*(2*A2-1)+1 1 =0.2*(C2-4)*(C2+2)*(2*C2-1)+1 =(A2+C2)/2 =0.2*(E2-4)*(E2+2)*(2*E2-1)+1 =IF(F2>0,E2,A2) =0.2*(A3-4)*(A3+2)*(2*A3-1)+1 =IF(F2<0,E2,C2) =0.2*(C3-4)*(C3+2)*(2*C3-1)+1 =(A3+C3)/2 =0.2*(E3-4)*(E3+2)*(2*E3-1)+1 =IF(F3>0,E3,A3) =0.2*(A4-4)*(A4+2)*(2*A4-1)+1 =IF(F3<0,E3,C3) =0.2*(C4-4)*(C4+2)*(2*C4-1)+1 =(A4+C4)/2 =0.2*(E4-4)*(E4+2)*(2*E4-1)+1 Failure in this method This method cannot always be applied to every equation successfully.

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

    The graph of this function and the calculations are below: I want the root that the arrow is pointing ,the root lies between x=0 and x=1. x f(x) 0 0.1 0.1 0.0715 0.2 0.016 0.3 -0.0425 The root is between x=0.2 and x=0.3, and I am going to zoom the graph in to see I am correct or not.

  1. The Gradient Fraction

    The method is: Angle = Opposite Adjacent This is the Tan function in Trigonometry. This is why it is called the Tan ? method. So the angle equals = 16 2.2 = 7.27� [this is also the approximate gradient for x=4].

  2. Numerical Method (Maths Investigation)

    Look up for the change of sign here and it is between x = -0.6 and x = -0.7. Hence, the roots is now between x = -0.6 and x = -0.7. Now I move on to step 3, step 4 and so on until the fifth decimal place.

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