Iterative method
The Gauss-Seidel method is an iterative method for solving linear systems such as
![]()
where
is an invertible matrix.

Algorithm

If
is solution of
then ![]()
Error
Let
be the error vector
We put
, which gives
![]()
Convergence
The algorithm converges if
(null matrix).
Theorem:
if and only if the spectral radius of the matrix
checks:
![]()
Theorem: If A is strictly diagonally dominant,

Gauss-Seidel Method
We decompose
in the following way :
![]()
In the Gauss-Seidel method we choose
and
(in the Jacobi method,
et
).
![]()
We obtain:

Stop criteria
For the stop criteria , we can use the residual vector, wich gives for a given precision
:
