Jacobi method

from Wikipedia, the free encyclopedia

In numerical mathematics , the Jacobi method , also called total step method , is an algorithm for the approximate solution of linear systems of equations . Like the Gauss-Seidel method and the SOR method , it is a special splitting method . It is named after Carl Gustav Jacob Jacobi .

The method was developed because the Gaussian elimination method represents an exact solution, but is very prone to calculation errors . An iterative approach typically does not have this disadvantage.

Description of the procedure

A linear system of equations with variables and equations is given.

To solve this, the -th equation is solved for the -th variable ,

and iteratively repeats this replacement, starting from a start vector . As a condition for the feasibility it results that the diagonal elements have to be different from zero. Since the calculation of a component of the closest approximation is independent of the other components, the method, in contrast to the Gauss-Seidel method , is suitable for use on parallel computers.

The algorithm in pseudocode is:

Gegeben Startvektor 
für  bis Erfüllung eines Abbruchkriteriums
  
  für  bis 
       für  bis 
         falls 
            ;
       ende
       ;
  ende
  
ende

The arbitrary initial assignment of the variable vector was assumed as the input variable of the algorithm, the approximate solution is the vectorial return variable.

In the case of sparsely populated matrices , the effort of the process per iteration is significantly reduced.

Description in matrix notation

The matrix of the linear system of equations is broken down into a diagonal matrix , a strict lower triangular matrix and a strict upper triangular matrix , so that:

.

The above component-wise iteration rule can then be represented for the complete vector as follows:

.

Usually for embedding as a preconditioner in other iterative methods such as Krylow's subspace method , the preconditioner is written as a matrix , with an approximation to which a linear system of equations can be solved favorably . It applies to the Jacobi method . For the residual is just the approximate solution. The relationship follows immediately:

,
.

Convergence study

As with all splitting methods, convergence is investigated using Banach's fixed point theorem . The method converges when the spectral radius of the iteration matrix is smaller than one. This arises in particular when the system matrix is strictly diagonally dominant or, more generally, irreducibly diagonally dominant .

Extension to nonlinear systems of equations

The idea of ​​the Jacobi method can be extended to nonlinear systems of equations with a multi-dimensional nonlinear function . As in the linear case, in the -th step the -th equation is solved with respect to the -th variable, using the previous approximate value for the other variables:

For until fulfillment of a termination criterion
For :
Dissolve after .

Here, solving is usually to be understood as the application of a further iterative method to solve non-linear equations. In order to distinguish this method from the Jacobi method for systems of linear equations, the Jacobi process is often used . The convergence of the process follows from Banach's Fixed Point Theorem again as linear.

literature

Web links