Professional Documents
Culture Documents
Gauss Seidel Iteration Method, Convergence Analysis
Gauss Seidel Iteration Method, Convergence Analysis
Iteration
Method
It is a well-known iterative
method for solving a system of
linear equations of the form
a11 x1 a12 x2 a1n xn b1
a21 x1 a22 x2
a2 n xn b2
an1 x1 an 2 x2 ann xn bn
( r 1) b1 a12 ( r ) a1n ( r )
x
1 x2 xn
a11 a11 a11
( r 1) b2 a21 ( r ) a2 n ( r )
x
2 x1 xn
a22 a22 a22
( r 1) bn an1 ( r ) an ( n 1) ( r )
x
n x1 xn 1
ann ann ann
Here we can observe( r 1)
that no element of xi
replaces xi( r ) entirely
for the next cycle of
computation.
In Gauss-Seidel method,
the corresponding
( r 1)
xi
elements of (r )
xi
replaces those of as
soon as they become
available.
Hence, it is called the method
of successive displacements. For
illustration consider
a11 x1 a12 x2 a1n xn b1
a21 x1 a22 x2
a2 n xn b2
an1 x1 an 2 x2 ann xn bn
In Gauss-Seidel iteration,
the (r + 1)th approximation
or iteration is computed
from:
( r 1) b1 a12 ( r ) a1n ( r )
x
1 x2 xn
a11 a11 a11
( r 1) b2 a21 ( r 1) a2 n ( r )
x
2 x1 xn
a22 a22 a22
( r 1) bn an1 ( r 1) an ( n 1) ( r 1)
x
n x1 xn 1
ann ann ann
Thus, the general procedure
can be written in the following
compact form
i 1 aij n aij ( r )
bi
x( r 1)
i xj xj
( r 1)
x(1)
3 0.25 (0.25)(0.5) 0
0.375
Now, using the current values
of x2 and x3 the fourth equation
of system gives
x 0.25 (0.25)(0.625)
(1)
4
(0.25)(0.375) 0.5
The Gauss-Seidel iterations for
the given set of equations can
be written as
( r 1)
x1 0.5 0.25 x2 0.25 x3
(r ) (r )
( r 1) ( r 1)
x2 0.5 0.25 x
1 0.25 x (r )
4
( r 1) ( r 1)
x3 0.25 0.25 x 1 0.25 x(r)
4
( r 1) ( r 1) ( r 1)
x4 0.25 0.25 x 2 0.25 x3
Now, by Gauss-Seidel
procedure, the 2nd and
subsequent approximations
can be obtained and the
sequence of the first five
approximations are
tabulated as below:
Variables
Iteration x1 x2 x3 x4
number r
1 0.5 0.625 0.375 0.5