Decomposition
Matrix decomposition is a key focus area in linear algebra. The concept involves rewriting a matrix as a product of matrices, with the goal of improving computational efficiency. Gaussian elimination provides one method of matrix decomposition. While this particular decomposition may not offer significant computational advantages, it has paved the way for more advanced decomposition techniques.
Here’s an example illustrating how decomposition can reduce arithmetic complexity. Consider an
Compare to
LU and LDU decomposition
L: a lower triangular matrix
D: a diagonal matrix
U: an upper triangular matrix
- L: a lower triangular matrix
- D: a diagonal matrix
- U: an upper triangular matrix
As the name suggests, LU decomposition expresses a matrix as the product of a lower triangular matrix and an upper triangular matrix. LDU decomposition takes this a step further by isolating the row multiplication as a diagonal matrix between the lower and upper triangular matrices.
Let’s begin with a squared matrix
Lemma. The product of two lower (resp. upper) triangular matrices is still lower (resp. upper) triangular.
proof. Let
where the first
where the first
Lemma. The inverse matrix of a lower triangular matrix is lower triangular. Similarly, the inverse matrix of an upper triangular matrix is upper triangular.
proof. (see https://math.stackexchange.com/questions/245871/the-inverse-of-a-lower-triangular-matrix-is-lower-triangular)
Thus, we can conclude that
The elementary row operation
The inverse of
If we want the entries on the diagonal of the upper triangular matrix to be either
This demonstrates an LDU decomposition of the original matrix.