Previous section

5.3. The Jacobi method

A = (aij ), = (b1 , ..., bn ), = (x1 , ..., xn )

Choose

D = diag (a11 , ..., ann ),
C = A - D  i.e.   A = C + D.

If D on regular (D - 1, i.e., each aii 0), then

A = <=> = - D - 1C + D - 1

and we obtain the iteration formula

(4)

(k + 1) = G (k) + ,    G = - D - 1C,    = D - 1

Denoting (k) = (x1 (k), ..., xn (k)) we have (4) <=>

x1(k+1)
:
xn(k+1)
= - (1/a11)00
0(1/a22)0
:···
0 0 (1/ann)
0 a12 ···a1n
a21 0a23 ···a2n
:···
an1 0
x1 (k)
:
xn (k)
+ (1 / a11 )0
···
0(1 / ann )
b1
:
:
bn

so that the components are

(5)

xi (k + 1) = - (1 / aii ) aij xj (k) + (1 / aii ) bi

and this can be used when programming the Jacobi iteration. Use of (4) involves unnecessary multiplications by 0's.

When using the || ||-norm, the condition ||G|| < 1 for convergence takes the form

||G|| < 1   <=>    |gij | < 1
<=>    | (aij / aii ) | < 1

(6)

<=>      | aij | < | aii | ,    i = 1, ..., n.

The Jacobi iteration converges, if A is strictly diagonally dominant.

Note. The Jacobi method is more useful than, for example, the Gaussian elimination, if 1) A is large, 2) most entries of A are zero , 3) A is strictly diagonally dominant. This is the case, for example, with certain matrices in connection with boundary value problems of partial differential equations.

The choice xi (0) = 0, i = 1, ..., n (or xi (0) = (bi / aii ) ) is good, since the solution is

xi = - (aij / aii ) xj + (bi / aii ),

=> xi ~(bi / aii ), since | aii | > > | aij | , j i so that the first iteration satisfies xi (1) = (bi / aii ) ~ xi .

Example 1: A strictly diagonally dominant coefficient matrix


Exercises: E56, E57
Previous section
Contents
Next section