Newton Raphson, and Fixed Point Iteration Methods
Newton Raphson, and Fixed Point Iteration Methods
iteration methods
Newton-Raphson Method
• Instead of working with the chord joining two points on the graph of y =
f(x) as in bisection and false position methods, Newton’s method uses the
tangent at one point on the graph of y = f(x). Therefore, it requires only one
instead of two initial guesses.
• Suppose x0 is an initial guess. Draw the tangent line at x = xo and produce
it to meet the x-axis at x = x1. This is shown in the figure below. Now from
the right triangle
But tan θ is the slope of tangent line at x = x0. Hence, tan θ = f `(x0).
f(x)
Subsequent iterations are defined in a similar manner as:
f (x n )
x n 1 x n , provided f `(xn) ≠ 0
f (x n )
Drawback/failure of NR method
The drawbacks or pitfalls of this method
are: (i) At any point of computation if f `(x0) = 0
f `(xn) = 0, that is, the tangent is parallel
to the x-axis then this method will not
work at all. (ii) If the initial guess lies away x0
from the real root, the convergence will be
too slow.
Example 01: Use Newton Raphson Method to obtain a root of f(x) = 𝑥𝑒 𝑥 − 2
correct to 3dp.
Solution: As an initial guess is not given hence it is to be evaluated first as it is the
requirement of NR-method.
x 0 1 2
f(x) -2 0.718 12.778
Now, g`(x) = -2x/(1 + x2)2 then |g`(1)| = 0.5 < 1. Thus the condition |g`(1)| < 1 is
satisfied. This shows that the above scheme will converge as is worked out below
1
Define an iterative scheme as: x n 1 2
xn 1
1 1 1
Put n 0, x1 2 2 0.5 x | x1 x 0 | | 0.5 1| 0.5
x0 1 1 1 2
1 1
Put n 1, x2 0.8 x | x 2 x1 || 0.8 0.5 | 0.3
x 1 1 0.5 1
2 2
1 1
Put n 2, x 3 2 0.60976
x 2 1 (0.8) 1
2