LU decomposition
Let \( A \) be a 3x3 square invertible matrix. Elimination on \( A \) by a sequence of elimination matrices \( E_{21}, E_{31} \) and \( E_{32} \) results in an upper triangular matrix \( U \):
We can combine the elimination matrices together:
and invert to arrive at the LU decomposition:
The elements of the matrix \( L \) have a very direct interpretation, arguably more interpretable than those of \( E \). If \( l_{21}, l_{31} \) and \( l_{32} \) are the scalars by which the first and second rows are subtracted from the rows below, then we can express \( L \) as:
Intuition
Operating on the "finished" \( U \) that is outputted by elimination, \( L \) reverses the row operations that were used in the elimination process. As each forward row operation only used "finished" rows to modify subsequent rows, when going in reverse, the building blocks of the row operations are present as-is in \( L \), as the "finished" rows are prepopulated by \( U \). This allows \( L \) to very simply record one number for each row operation.
A combined of rank 1 matrices. Perspective.
\( A \) can be seen to explode into rank 1 matrices through the elimination process. Consider a modified elimination where we try to reduce \( A \) to a matrix of all zeros. The first step is to remove the first row of \( A \) times a unique factor from every row of \( A \) to give zeros in the first column. The factors are
and the matrix being removed is:
So, we are removing a rank one matrix, column times row, from \( A \). Repeating this for each column will result in the zero vector. Consequently, these combined rank 1 matrices equal \( A \).
\( A = LU \) decomp and the determinant of \( A \)
\( \operatorname{det}(A) = \operatorname{det}(L) \operatorname{det}(U) \), but as the diagonals of \( L \) are all ones, we have \( \operatorname{det}(A) = \operatorname{det}(U) \), and the determinant can be read off as the product of diagonal entries of \( U \).
Example
Example
The matrix \( T \) is converted to upper triangular form as follows:
This corresponds to the two elimination matricies:
Inverting these steps to get \( E_{32}^{-1} E_{21}^{-1} \) gives: