LU decomposition
We will study a direct method for solving linear systems: the LU decomposition. Given a matrix A, the aim is to build a lower triangular matrix L and an upper triangular matrix which has the following property: diagonal elements of L are unity and A=LU.
Let
and
Solution of linear system
For the resolution of linear system :
We solve the system (1) to find the vector
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
Calculating Matrix Determinant
The LU decomposition also makes it possible to calculate the determinant of
If you found this post or this website helpful and would like to support our work, please consider making a donation. Thank you!
Help Us