The process of factorizing a square matrix into 2 triangular matrices: a lower triangular matrix (L) and an upper triangular matrix (U).
Introduced by Alan Turing in 1948.
A=LU
Finding L and U Without Pivoting
Using Gaussian Elimination
Can be used when Gaussian elimination can be performed on Ax=b without row interchanges, A factors as A=LU, where
mji=aii(i)aji(i)
is the multiplier used to eliminate entry (j,i) at step i, U is the row-echelon form produced by elimination, and L collects the multipliers:
LU decomposition can fail when the top-left entry of A is 0 or small compared to other entries.
Pivoting rearranges the rows and/or columns of A to place a larger element in the top-left position, mitigating this. Multiple pivoting algorithms exist.
Applications
Solving Ax=b, used for finding current in a circuit and solving discrete dynamical systems.
Finding the inverse of a matrix.
Finding the determinant of a matrix.
Applicable whenever a problem can be modeled in matrix form, since triangular matrices are easy to compute with.
Solving Ax=b
Suppose A=LU and Ax=LUx=b must be solved.
Set w=Ux.
Solve Lw=b for w by forward substitution, since L is lower triangular.
Solve Ux=w for x by back substitution, since U is upper triangular. This x solves the original system.
This uses L to perform row operations on U to solve the system.