Decomposition LU
In Linear algebra, the decomposition LU is a method of decomposition of a matrix in a triangular Matrice lower L (like " Low" , low) and a higher triangular matrix U (like " Up" , high). This decomposition is used in numerical Analyze to solve linear systems of equations.
Definition
Either has a invertible Matrice. The matrix has can be broken up thus
where P is a Matrice of permutation (in the same way for P -1), L is a triangular Matrice lower and U a triangular Matrice higher. Sometimes, the Matrice of passage P can be selected in order to be a Matrice identity. In this case, the decomposition becomes
Example
That is to say for example the matrix:This matrix is factorized in a product of a lower triangular matrix by a higher triangular matrix in the following way:
Applications
To solve a system of linear equations
This matric factorization makes it possible to solve linear systems of equations where the coefficients of the unknown factors are the same ones, but with several second different members. That is to say to determine the vector of unknown factors {X} associated to the second member {B}:or
- which one can put, by posing in the form:
This stage is called descent , since one solves the system while going down from with . It remains to calculate the components of the vector {X} by solving the higher triangular system:
- , etc while going up (stage known as of gone up ).
Notation. - the triangular matrices L and U could have been reversed easily by using the elimination of Gauss-Jordan. But if one counts simply the number of operations that represents for a system with N equations, one will find that the algorithmic Complexité calculation of the matrices opposite is higher, so that if one wants to solve this system for various B , it is more interesting to carry out the decomposition LU once for all and to carry out substitutions of descent-increase rather for different the B than to use the elimination of Gauss-Jordan very often. Thus, in the majority of the publications of numerical Analyze, when the matrix has was factorized in form LU or Cholesky (cf will infra, § the symmetrical case ), one writes by abuse to mean that the calculation of B can be done by this method of descent-increase. It is implied that it is absolutely not not question of using the algorithm by calculating the matrix reverses of has, which would be unnecessarily expensive in computing times.
To reverse a matrix
The matrices L and U can be used to determine the reverse of a matrix. The computer programs which implement this type of calculation, generally use this method.
Existence
The decomposition LU exists if and only if all under principal matrices of order 1 with N -1 are invertible.
Calculation of the decomposition
Principal idea
The decomposition LU is a particular form of elimination of Jordan Gauss. One transforms the matrix has in a higher triangular matrix U by eliminating the elements under the diagonal. Eliminations are made column after column, while starting with the left, by multiplying has by the left with a lower triangular matrix.
Algorithm
Being given a matrix of dimension
On N ième column of has ( n-1 ) , one eliminates the elements under the diagonal while adding to the I ème line from this matrix, N ième line multiplied by
After N-1 iterations, we eliminated all the elements under the diagonal, consequently, we have a higher triangular matrix now has ( N-1 ) .
We obtain the decomposition
L_ {1} ^ {- 1} A^ {(1)} L_ {1} ^ {- 1} L_ {2} ^ {- 1} L_ {2} A^ {(1)}
L_ {1} ^ {- 1} L_ {2} ^ {- 1} A^ {(2)} = \ ldots = L_ {1} ^ {- 1} \ ldots L_ {N-1} ^ {- 1} A^ {(N-1)}.Let us note U the higher triangular matrix has ( N-1 ) and . Knowing that the reverse of a lower triangular matrix is also a lower triangular matrix and that the product of 2 lower triangular matrices is still a lower triangular matrix, L is thus a lower triangular matrix. is obtained.
Within sight of the algorithm, it is necessary that with each iteration (see the definition of ). If, during calculation, this case of figure came to occur, it is necessary to invert N ième line with another being able to continue (it is always possible to find an element not no one on the column which poses problem because the matrix is invertible). This is why the decomposition LU is generally written .
The symmetrical case
- If the matrix has is a symmetrical Matrice, there exists a decomposition known as factorization of Crout
where L is a lower triangular matrix whose diagonal includes/understands only of the 1, is the transposed of L , and D is a diagonal matrix.
-
If the matrix has is symmetrical definite positive, there exists a simpler decomposition, given by the method of Cholesky
where L is a triangular matrix lower than positive diagonal and is the transposed of L .
| Random links: | Fenotiacina | Two English and the continent | Jean-Charles Trouabal | Ryszard Kapuściński | Franck Marshal | Bad Ischl | Procopius_de_Gaza |