Maths Manit Sec 2 Complete Notes
Maths Manit Sec 2 Complete Notes
Page No.
(1-ok1
8 ))
+
mroN
H wo0d a a
8
a (B v
PHOMua
O
A
R
L
Pb
N
ixersi
Page No.
T988 Date...
t799-0
= KtEES L99 *o-
999 S
T98
99 '0
h-
8 8-
Z > 5-6662-533 6D= S.5226,
2--z =3
peeta Radius
wfl Hdt ComNe
Fo acok
H- -D(Lt 0)
FH) 11
Max , ewen
Valln ef A
31e fw)1
FM
N
11
10 NUMERICAL METHODS
has a unique solution and (2) that the coetficient matrix A has no zeros on its main diago-
nal. If any of the diagonal entries a . d z s a ure zero, then rows or columns must be
interchanged to obtain a cocticient marix
that has nonzero entries on the main diagonal.
To begin the Jacobi method, solve the hrst cquation lor f . the second equation for x2.
and so on, as follows,
( ai22 di tn
22
the solution,
Then make an initial appruximation of
Initial apprusimetion
Sx2x
-3x, + 9x, + x= 2
2x X-7x 3
Continue the iterations until two
successive upproximations are identical when rounded
three significant digits. top
-+ix-
+ -
- + ix- x.
Because you do not know the actual solution, choose
0, 0, x0 nitial approimation
as a convenient initial
approximation. So, the first approximation is
3t30) -(0)= -0.200
x, t0) -#0) = 0.222
x-+(0) %0) -0.429
Continuing this procedure, you obtain the
sequence of
apprOximations shown in Table 10.1.
TAELE 101
For the
system of linear
cquations given in
converge. That is, repeated iterations succeed in Example I,an Jacobi method is
the said to
to three producing approximation that is
signiticant digits. As is generally true for iterative methods, correct
require more iterations. greater accuracy woul
Solution The first computation is identucal to that grven in Exumple 1. That is, using (i g)
(0,0,0) as the imitial approximation. you obain the follow ing new value for
x - + 0 ) 0 ) = -0.200
Now thut you have a new vialue Tor Anowever, use t to canpute A new value tor . That
15,
+-0.200)-(0)= 0.156,
Similarly, use x, 0.200 and 0.156 to compute a new value for . That is,
x - t (-0.200)-(0.156) -0.508.
TABLE 10 2
Note that after only five iterations of the Gauss-Seidel method, you achieved the same
accuracy as was obtained with seven iterations of the Jacobi method in Example 1.
of
Nether the iterative methods presented in this section always converges. That is, it is
possible to apply the Jacobi method or the Gauss-Seidel method to a system of lincar equa-
tons
method obtain divergent sequence of approximations. In such cases, it is said that the
anddiverges. a
Sr,-4
using the initial upprOXIUnation ( ) ( 0 , 0), and show that the method diverges.
-4+ St
6*
TABLE 3
For of linear equations you can determine that the actual soluthon
and
this particular system
. So you can see from Table 10.3 that the approximations given by
he Jacobi method become progressively worse instead of better, and you can conciude that
the method diverges.
ne problem of divergence
method rather than the
inExample 3 is not resolved by using the
Gauss-Seidel
Jacobi mnethod. In fact. for this particular
method diverges
the system Gauss-Scdct
more rapidly, as shown in lable
104
TABLE 104
(a) Jr, 4
2
2x, + Sx,
(b) Ax, + 2 , -1
3r,Sr+ 3
SECTION 10 2 TERATIVE METHODS FOR SOLVING LINEAR SYSTEMS
IS not stricily diagonally dominant because the entries in the second and third rows
do to the
ot contorm deinition. For imstance, in the second ruw 4 d third
it is not true that l4alail+ l42l. Interchanging
drows in2,the
undorigirnal the second and
systerm of linear cquations, however. produces the cocficient matrix
The following theorem, which is listed without proof, states that strict diagoal domi-
nance is suficient for the convergence of either the Jacobi method or the Ciauss-Seidel
nethod.
tA is
strictly diagonally dominant,
has a unique solution to which the Jacobi method and the Gauss-Seidel method will con-
Convergence o verge 1or any initial approximation.
the Jacobi and
Gauss Seidel Methods
In Example 3 you looked at a system of linear cquations for which the Jacobi and Gauss-
Seidel methods diverged. In the following example you can see that by inlerchunging the
can obtain
a coellicient mitrix that is strictly
rows ot
tne systeim gnven in
Exampie s, you
is assured.
dingonaly dominan. Aler this interchange, convergence
the a u s s
coetlicient matrix. Then apply
obtain one with a strictly diagonaly dominant
to sofution to four signiicant digts.
Seidel method to approximate the
ICAL METHODS
Tx X2 6
X -4.
Note that the coefficient matrix of this system is strictly diagonally dominant. Then soive
for , and 2 as follows.
Using the initial approximation (x,.x,) = (0, 0), you can obtain the sequence of approxi-
mations shown in Table 10.5.
TABLE10.5
So you conclude
can
that the solution is x I and x, =1.
Do not conclude
from Theorem l10.1 that strict
diagonal dominance is a
dition for convergence of the Jacobi or Gauss-Seidel methods. For necessary con-
matrix of the system instance, the coefficient
2 3
is not a
strictly diagonallydominant
matnix,initaal
and yet
x - 1 and Iwhen you use an
boih methods converge to the solution
Exercises 21-22.)
upproximation of
(i.x) (0, 0). (See
(See
SECTION 102 EXIPCSES
SECTHON10.2 EXERCISES
In Exercises1-4, appiy the
Jacobi metod to the gIven system of 19. Interchange the ws of the systenm of near
lincarcquations, using the inital approxation .
cqualons in
a
(0,0, 0 ) Continue performing itera
d wo successive N o obtan system with asricty diagonally
1hen appiy
dom-
appruvimatiws are identical when ruded o threc Sgnficant digits ACCtCCnthe uatri. the auss-Seidel
solution to two significant digits.
method
appr mate
20. Interchange the
4x,+2, -6 of the
rows system of linear equations
NerCEe 12lo obtaim a system with a strietly diagonally dkom-
in
In
2x3
Exereises 9-12, show that the Ciauss-Sesdel mcthod denges for
* ,5
te gvC 5ysietn using the inittal
approximution (s,, t.
10,0, 0). E In Ewrvises 25 and 24, wrnte a
computer program that applies the
auss-SiCuet metnon to sfve he
system of lincar
cquatons.
10., t 4,
S 2 2 23. 4r,
I1. 2t, 6
10r 9 s. -5
5
,
2, |
In Exercises 13-16, determine whether the matrix is stnetly diag 12
nally dminant.
22
- S, 2
A. 4
. - s
x+a A
6
. mierchange the ruws of the sysiem of lincar cquations in A
in a system with a strictly diagonalty dml
nant coeflicient matrix. Then apply the Giaun Seidel method A
t proimale the solution to wo sgnificant digits,
ot in
Lnterchange the ruws sy stem
of the
lincar equallos
TEINC 1O
lo obtuin system with stnctly dagonally dom
a a