Triangular Matrices

Upper Triangular

If for In other words the elements below the main diagonal are 0. Examples:

Lower Triangular

If for In other words the elements above the main diagonal are 0. Examples:


LU Factorization

If is an matrix that can be row reduced to echelon form without row exchanges, then . is a lower triangular matrix with 1’s on the diagonal, is an echelon form of .

For example the factorization of would look like:

Algorithm

To solve for :

  1. Construct the decomposition of to obtain and .
  2. Set . Forward solve for in .
  3. Backwards solve for in .

In other words: Get LU Then solve for Finally use that to solve for in

Computing LU

You are not allowed to swap rows. Also Scalar Multiplication is not needed. are matrices that perform elementary row operations. Because we did not swap rows, each happens to be lower triangular and invertible

To compute the decomposition:

  1. Reduce to an echelon form by a sequence of row replacement operations, if possible.
  2. Place entries in such that the same sequence of row operations reduces to .

Example

Compute the factorization of:

Reducing it to echelon form we get:

To reduce it we use the following row operations:

So will be such that the same sequence of row operations reduces to .