= (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
=
<=>
= - 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) <=>
|
|
|
|
|
|
so that the components are
(5)
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
(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