Introduction

Two facts about determinants allow us to use LU factorization to compute the determinant of any matrix:

Two determinant facts

  • The determinant of any triangular matrix is equal to the product of its diagonal entries.
  • The determinant is multiplicative: .

If , then , and assuming it has only ones on the diagonal. So is the product of the diagonal entries of .

If , then . It turns out that . So where again is the product of diagonal entries. The choice of sign is given by where is the number of non-trivial row-swaps that are composed to give .