An elementary matrix acts on rows by multiplication on the left. Apply the desired elementary row operation to the identity matrix to construct it. In the order requested, the three elementary matrices and their inverse matrices are
The inverse operations halve row 1, add twice row 1 to row 3, and interchange rows 2 and 3 again, respectively.
Use and , followed by . These elementary row operations give
The elimination multipliers are , , . Record them in the unit lower triangular matrix :
To see the elementary matrix relation directly, let , and , where has a single 1 in position . Then , and reversing and inverting these operations gives . Direct matrix multiplication also verifies the stated LU decomposition.
Solve two triangular linear systems, rather than forming an inverse matrix:
For this LU decomposition, forward substitution gives , and . Then back substitution gives
All diagonal entries used as divisors are nonzero. The same LU decomposition can be reused for many right-hand vectors, with only these two triangular solves repeated.
A triangular matrix has determinant equal to the product of its diagonal entries. Since is a unit lower triangular matrix, . Thus
Equivalently, the elimination used only row additions, which leave the determinant unchanged; there were no row swaps or row scalings to account for.

Articles by others on the same topic (0)

There are currently no matching articles.