Precise 2
Precise 2
+ -+ ... =0
1! 2! 3!
ie.
f()
Again starting with x, a better approximation x, is given by
’X
63
DLUTION OF NON-LINEAR EQUATIONS
Then slope of tangent tothe curve at A( Xg o) is f ) .
f)
i.e.
..(1)
f)
Ilf eek+ are the errors in the approximations x.X respectively, then
er+1 xk+|-Z and e= X -
sE+e, )
METHOD8 B
f(G+e, )
fG+e )
By Taylor's series expansion offE + ex) and f($+ e)
about the point , we
have
sE+ e;) =fE) + e,f'G)+fG)
2! +.
and f" () +
2!
f(E)+e4fG5)+ 2!
ek+1 = e
f'G)+e;f5)+f5) +....
2!
ek+1 =er
f'E)+efF)+fG)+...
2!
2 f'G)
1+ek f'E)
= e ei f6) +
2 f''E) s'E)
2 f'E) f'E)
1
2 f)
i.e. fo) =m f)
x-=m f)
f()
E=X- m f)
f()
Hence if x, isany approximation to , then the next approximation xka is given b
k=0, 1, 2, 3, ...
fu)
The above formula is called generalized Newton-Raphson's iterative formula.
Note. We know that if is a root off («) =0 with multiplicity m, then is a root off':) =
multiplicity (m-1) and is a root off"(*) =0 with multiplicity (m-2) and so on.
Hence thé expressions
f)
must besame provided the initial approximation xo is taken sufficiently close to the root.
i ILLUSTRATIVE EXAMPLES
Example 1. Using Newton-Raphson's method, find a root ofthe equation x-8 = 0correctU
decimal places.
Sol. The given equation is f(x) = x-8 =0.
Now, f(2.5) = (2.5)28 =-1.75 <0
sOLUTION OF NON-LINEAR EQUATIONS 67
From 2nd and 3rd iterations, it is clear that there is no change in the successive approximations
the root upto first three decimal places.
Hence a root of given equation is 1.796 (correct to three decimal places).
Example 4. Use Newton-Raphson's method to find a root ofthe equationx sin x +cos x=0 wnsu
nearer to x =3.
e*.
Sol. The given equation is 3 +sin x=
Let fx) = 3x+ sin x - e*.
Then S() = 3+ cos x-e*.
Now, f(0) =0 +0-1=-1
and f(1) =3 + sin 1 -e=3+ 0.841 -2.718 = 1.123.
Since f(0) is nearer to zero, we take x =0as initial approximation.
Now, f'(x0)=f(0) =3+1-1=3.
By Newton-Raphson's iterative formula, we have
=0-=0.3333.
3
= 5.66667.
32
= 5.65686.
5.66667)
The third approximation to the root is given by
32
= 5.65685.
5.65686
PRECIZE
72
NUMERICAL
changeMETHOiDnS the
From second and third iterations, it is clear that there is no B
approximations to the oot upto four decimal places.
Hence /32 - 5.6568.
Example 8. Using Newton-Raphson's formula, find an iterative formula for
positive integer n. Use it to find the cube root of, 128 upto 3 decimal places
1
finding the
Sol. Let x= (n)3
x =n x-n=0.
Let fr) =x-n, so that f'() = 3x2.
By Newton-Raphson's iterative formula, we have
-n_3xË-+n
3x? 3 2x+n
k=0, 1,2, ....
Now to find (128)3 using above iterative formula, we take n = 128 and ches
approximation xo =5.
The first approximation to the root is given by
128 =5.04.
change in the su
From second and third iterations, it is clear that there is n0
approximations to the root upto three decimal places.
Hence 3/i28 = 5.0396.
Example 9. Using Newton-Raphson's method, find a general formula for finding P
Hence find square root of 12 upto 3 decimal places.
73
LUTIONOFFNON-LINEAR EQUATIONS
1
LLet
x= (a)P
yP =a
=3.9671
2[(3.9671)* -11(3.9671) +36(3.9671) -16(3.9671) -64]
4(3.9671)³ -333.9671)°+72(3,9671)-16
=3.9891.
EXERCISE-2(c)
1. Uing Newton-Raphson's method, find a root of the equation x-3x-5=0 corect upto
3decimal places.
3
2. Using Newton-Raphson's method, find a root of the following equations correct upto
decimal places :
) X-cos x=0 (ii) x*+x- 80 =0 (ii) x+ logx =2
sin x =1-x
(iv) x=e
-X
(v) e= (vi)
(vii) 3x= cos x+1 (vii) c0s x= xe.
Newton-Raphson's
3. Given that equation 4e sin x-1 = 0 has a root between 0 and 0.5, use
method to find it correct to 3decimal places.
4. Find a real root of the following equations correct to 4 decimal places using
Newton-Raphson's method:
(i) x*-x-10 =0.
() +* +3x+4 =0
76
PRECIZE
NUMERICAL
5.
6.
Find a root of x +x-7x-+5 =0 correct to 3
and 3, using Newton's method.
Ifthe equation x-4x-9 =0 has a root near 2.625,
decimal places
find it correct to
METHwhODichS liey
&
() () 15
32
12. Find the iterative formula for finding the value of for some
positive real ni
Hence evaluate the following correct to three decimal place :
1 1
() (ii)
/14 15
13. Finddouble root of the equation f (r) =x'-7x*+16x -12 = 0 near 2 using gen:
Newton-Raphson's method.
ANSWERS
1, 2.279
2. () 0.739 (i) 2.908 (i) 1.756 (iv) 0.567
() 1.857 (v) 0.511 (vi) 0.607 (viii) 0.517
3. 0.370 4. () -1.2224 (ii) 1.8555
5. 2.060 6. 2.706 7. 1.8555
9. () 3.0365 4.0207
Zk+l .....
(i)
10. 1.24573
77
OLUTIONOF
NOON-LINEAR EQUATIONS
(i) 0.0667
k=0, 1,2,.... () 0.0312
1. += x (2-nx)
k=0, 1,2, .... () 0.267 (i) 0.258
12. +
13. 2
METHODS
ocOMPARISON OF ITERATIVE
Method Iterative Formula Convergence Convergence
Order
4. Newton-Raphson 2 Convergence
guaranteed if the
f) initial approx. is
near the root
5.Successive 1 No guarantee of
approximation convergence