Let
be
matrix .
factorization is a procedure for decomposing
into a product of a lower triangular matrix
(diagonal elements of L are unity) and an upper triangular matrix
such as
with


Solution of linear system
For the resolution of linear system :
, the system becomes



Theorems
if an LU factorization exists, then it is unique.
An invertible matrix
admits an LU factorization if and only if all its principal minors are non-zero (principal minor of order
is the determiant of the matrix
).
If
is only invertible, then
can be written
where
is a permutation matrix.
LU Decomposition algorithm
We suppose that
admits an LU factorization, the LU Decomposition algorithm is:


Calculating Matrix Determinant
The LU decomposition also makes it possible to calculate the determinant of
, which is equal to the product of the diagonal elements of the matrix
if
admits an LU factorization since
![]()