given matrix 𝐴 and vector 𝑦, find unknown vector 𝑥
Indent
𝐴𝑥 = 𝑦
One way to do this is to compute 𝐴⁻¹
However, 𝐴⁻¹ may suffer rounding errors while 𝐿𝑈 Decomposition does not
Indent
𝐴 = 𝐿𝑈
𝐴𝑥 = 𝐿𝑈𝑦
where:
- 𝐿 is lower triangle matrix
- 𝑈 is upper triangle matrix
LU Decomposition - Example
Click here to expand...
find 𝐿𝑈 decomposition of
compute 𝑈 by row echelon reduction
compute L from the highlighted columns
Thus,
LU Decomposition - Other Types
|
LU Type |
Description |
Description |
|---|---|---|
|
LU Decomposition With Partial Pivoting (LUP) |
LU factorization with row permutations only |
where:
|
|
LU Decomposition With Full Pivoting |
LU factorization with both row & col permutations |
where:
|
|
LDU Decomposition |
/lu-decomposition-1.png)
/lu-decomposition-2.png)
/lu-decomposition-3.png)
/lu-decomposition-4.png)