4.4.3 Geometrical Significance of Newton-Raphson Method: X F X X
4.4.3 Geometrical Significance of Newton-Raphson Method: X F X X
The geometrical meaning of the Newton-Raphson method is that the point at which the tangent
f ( xn )
It intersects x-axis i.e. y = 0 at x = xn − = xn +1
f ′( xn )
• Advantage
The basic advantage of the Newton-Raphson method is that it converges very rapidly, since the
1
• Disadvantage
Newton-Raphson method fail, if f ′( x) = 0 or very small in the neighbourhood of the desired root.
In such cases the regula-falsi method should be used. The initial approximation should be taken
very close to the desired root, otherwise the method may diverge. Sometimes this method may
2
4.5 Secant Method
f ( xn ) − f ( xn −1 )
f ′( xn ) ≈
xn − xn −1
( xn − xn −1 ) f ( xn )
xn +1 = xn − (4.5.1)
( f ( xn ) − f ( xn −1 ))
This is the iteration scheme for secant method. It is to be noted that the iteration scheme in eq.
y − f ( xn ) f ( xn −1 ) − f ( xn )
straight line. The equation of this straight line is = . It cuts the x-axis i.e.
x − xn xn −1 − xn
y=0 at x = xn +1 .
3
xn − xn −1
Therefore, the (n+1)-th approximation xn +1 is x = xn − y n = xn +1 .
y n − yn −1
In case, y n , y n −1 are of the same sign, the required point of intersection falls outside the range of
interpolation i.e. we have a case of extrapolation and in that case there is no guarantee that the
iteration will converge or not. In fact, the secant method may or may not converge. But in case
the iteration converges, this renders an efficient method for computing the required real root.
Example 9:
Find the real root of the equation 10 x + x − 4 = 0 correct to five decimal places using Secant
method.
Solution:
Let f ( x) = 10 x + x − 4 = 0 .
We first apply method of tabulation in order to find the location of rough value of the root.
x f (x)
0 -3
1 7
We note that f(0)<0 and f(1)>0. Thus the given equation changes its sign within the interval [0,
1]. Therefore, there exists at least one real root of the equation within [0, 1].
4
The successive iterations generated by the eq. (4.5.1) have been presented in Table 18.
n xn −1 xn y n −1 yn ( xn − xn−1 ) y n f ( x n +1 )
xn +1 = x n −
( y n − y n−1 )
0 0 1 -3 7 0.3000000 -1.70474
Hence, the required real root of the given equation is 0.53918 correct to five decimal places.
• Advantage
The advantage of Secant method is that if it converges then it is convergent more rapidly than
• Disadvantage
5
This method does not always converge in contrast to regula-falsi method. If it converges then it
is faster than regula-falsi method but lesser than Newton-Raphson method. If at any instant