- categories: Linear algebra, Factorization
Definition
Lower–Upper (LU) Factorization is a matrix decomposition technique where a square matrix is expressed as the product of two matrices:
where:
- is a lower triangular matrix (with ones on its diagonal),
- is an upper triangular matrix.
For certain matrices, permutation is required, and the factorization becomes:
where is a Permutation Matrix.
Intuition
LU factorization transforms a complex system into a simpler triangular form, facilitating efficient computation of solutions to linear systems via forward and backward substitution.
Key Properties
-
Existence:
- Not every matrix has an LU decomposition without permutation.
- A sufficient condition for existence is that all leading principal minors of are nonzero.
-
Uniqueness:
- If can be factored as with having unit diagonal entries, the factorization is unique.
-
Complexity:
- LU decomposition has a computational complexity of for an matrix.
-
Efficiency:
- Once decomposed, solving reduces to solving two triangular systems:
- Solve (forward substitution),
- Solve (backward substitution).
- Once decomposed, solving reduces to solving two triangular systems:
Applications
-
Solving Linear Systems:
- LU factorization allows solving efficiently for multiple right-hand sides .
-
- The inverse of can be computed using by solving systems for columns of the identity matrix.
-
Determinant Calculation:
- The determinant of is the product of the diagonal entries of : (for , ).
-
Numerical Analysis:
- LU is a core method in numerical linear algebra, particularly in Gaussian elimination.
Examples
-
For :
- ,
- .
- Verify: .
-
For :
- Pivoting required, ,
- , with computed and .