"); hg.document.close(); } function tipclose(){ hg.window.close(); }
Iterative methods : In iterative methods, the process starts with an initial approximation to the unknown vector x of Ax = b and then this will be improved by an iterative process
x(n+1) = Qx(n) + C
where x(n+1) and x(n) are the values of x at (n+1) and (n) the iteratives respectively and Q and C are iterative matrix and constant vector of the sceme. There are various methods to generate Q and C.
  • Jacobi method
  • Gauss-Siedel method
  • SOR method
Jacobi Method

Denote the first approximation to xi by xi(1), the second by xi(2), etc., and assume that n of them have been calculated, i.e., xi(n) is known for i =1(1)m. Then the Jacobi iterative method expresses the (n+1)th iterative values exclusively in terms of the nth iterative in the form 
 

1/aii {
i-1
m
},   i = 1(1)m.
xi(n+1)  = bi -
S
aij xj(n) -
S
aij xj(n)
j=1
j=i+1

or in the matrix notation, the coefficient matrix A of the system Ax = b, is split into D - L - U where D has the diagonal elements of A and L & U respectively have the lower diagonal and upper diagonal elements of A with a negative sign then the Jacobi scheme can be written as 
Dx = (L + U)x + b
or Dx(n+1) = (L+ U)x(n) + b,
giving x(n+1) = D-1(L+ U)x(n) + D-1b.
i.e., the Jacobi iterative matrix QJoc = D-1(L+ U) and CJoc = D-1b
 

GAUSS - SEIDEL METHOD

In this method the (n+1)th iterative values are used as soon as they are available and the iterative scheme is defined by
 

1/aii {
i-1
m
},   i = 1(1)m.
xi(n+1) = bi -
S
aij xj(n) -
S
aij xj(n)
j=1
j=i+1

again in the matrix notation, the coefficient matrix A of the system Ax = b, is split into D - L - U where D has the diagonal elements of A and L & U respectively have the lower diagonal and upper diagonal elements of A with a negative sign then the Gauss-Seidel scheme can be written as 
Dx = (L + U)x + b
or (D-L)x(n+1) = Ux(n) + b,
giving x(n+1) = (D-L)-1 Ux(n) + (D-L)-1b.
i.e., the Jacobi iterative matrix QGS = (D-L)-1 U and CGS = (D-L)-1b.
 

SUCCESSIVE OVER-RELAXATION METHOD

If the Gauss-Seidel iteration equations is written as
 

xi(n)  + w/aii {
i-1
m
},   i = 1(1)m.
xi(n+1) = bi -
S
aij xj(n) -
S
aij xj(n)
j=1
j=i+1
Or
 
w/aii {
i-1
m
} - (w-1)xi(n),   i = 1(1)m.
xi(n+1) = bi -
S
aij xj(n) -
S
aij xj(n)
j=1
j=i+1

Where the factor w, called the acceleration parameter or relaxation factor, generally lies in the range 1<w<2. The determination of the optimum value of w for maximum rate of convergence is again a matter of discussion and is not considered in this article. The value w = 1 gives the Gauss-Seidel iteration.

In the matrix notation if  d(n) = x(n+1) - x(n) then we have 

Dd1(n) = D(x(n+1) - x(n)) = Lx(n+1) + Ux(n) + b - Dx(n)

d(n) = wd1(n),

x(n+1) - x(n) = wD-1(Lx(n+1) + Ux(n) + b - Dx(n))

Therefore (I-wD-1L)x(n+1) = { (1 - w)I +wD-1U}x(n) +wD-1b.

Hence x(n+1) = (I-wD-1L)-1{ (1 - w)I +wD-1U}x(n) + (I-wD-1L)-1wD-1b

That is QSOR = (I-wD-1L)-1{ (1 - w)I +wD-1U} & CSOR = (I-wD-1L)-1wD-1b.

A necessary and sufficient condition for the convergence of iterative schemes

Consider any iterative scheme 

x(n+1) = Qx(n) + C
where Q is the iterative matrix and C is the constant vector of known values. If e(n) is the error in the nth approximation to the exact solution then it can be written as e(n) = x - x(n).
Similarly e(n+1) = x - x(n+1)
Therefore e(n+1) = Q e(n)
or e(n) = Q e(n-1) =  Q2 e(n-2) = . . . = Qn e(0)
Since the sequence of approximations {x1, x2, . . ., xn, . . . }converges to x as n tends to infinity if 
 
lim
e(n) = 0  Þ
lim
Qn = 0
n®¥
n®¥

If Q has m lineary independent Eigen vectors vr (r =1 to m) then these m vectors can be used as a basis for any m dimensional space and hence any vector in this m dimentional space can be represented in terms of these m vectors. In particular, 
 

m
e(0) =
S
crvr
r =1

where cr(r =1 to m) are scalers.
 
m
Hence
 e(1) = Qe(0)
S
crQvr
r =1

But Qvr = lrvr by the definition of an eigen value, where lr is the eigen value corresponding to vr. Hence

m
e(1) =
S
crlrvr
r =1

Similarly

m
e(n) =
S
crlrnvr
r =1

Therefore e(n) will tend to the null vector as n tends to infinity, for arbitrary e(0) , if and only if |lr|<1 for all r. In other words the iteration will converge for arbitrary x(0) if and only if the spectral radius r(Q) of Q is less than one.
As a corollary to this result a sufficient condition for convergence is that ||Q||<1. To prove this we have that Qvr = lrvr. Hence

||Qvr||=||lrvr||=| lr| ||vr||.
But for any matrix norm that is compatible with a vector norm ||vr||,
||Qvr|| < ||Q|| ||vr||.
Therefore
|lr| ||vr|| < ||Q|| ||vr||,
so
| lr| < ||Q||,   s = 1(1)m.
It follows from this that a sufficient condition for convergence is that ||Q||<1. It is not a necessary condition because the norm of Q can exceed one even when  r(Q)<1.

 


Solution of Transcendental Equations | Solution of Linear System of Algebraic Equations | Interpolation & Curve Fitting
Numerical Differentiation & Integration | Numerical Solution of Ordinary Differential Equations
Numerical Solution of Partial Differential Equations