Factorization into A = LU

May 22, 2019

Inverses Continued

Useful Facts:

Inverses:

Transposes:

because

when we transpose a matrix the row and column are switched, and

Therefore we have

Factorization into A = LU

is same as previously defined as the upper trianular matrix(lecture 2) obtained after row eliminations on , that is

where is the elimination matrix. Multiply both side of to theft by . We will have . is the we are looking for today. A simple example:

In this case, is easily obtained by “canceling” the matrix (lecture 2). And we will see it’s called because all of its items are in the lower triangular part, as opposed to .

Sometimes is further reduced into a diagonal matrix with a (not important).

To see why is preferred to , we need a example. Suppose

The 10 in the lower left corner arises because we subtracted twice the first row from the second row, then subtracted five times the new second row from the third. But we do not want that to be there. Here

The 10 is gone and the matrix is much cleaner and easier to calculate than .

How Many operations on eliminating n x n A

We have rows and columns. A typical elimination will involve row mulipled by a constant and substracted by another row. Since there’re elements in a row, typically a row multiplied by a constant and substracted by a row will take operations(should be but we omit the constant for now). And since we have rows, eliminating one column, say the leftmost column, on a matrix will take operations. Remember eliminating one column means make all number in this colulmn under the pivot to be come zero. And this operates on the lower triangle of the matrix. In general, we need

operations to eliminate to obtain . And we can store the operations during the process of eliminating, then around operations are needed to factorize into .

Row Exchanges

As mentioned in lecture 2, permutation matrices are matrices that just change the order of rows. For e.g.

switch row 1 and row 2. There are total permutation matrices for matrix(including the one leaves all rows unchanged). And also note that for permutation matrices, . This means that to get back to the stage before being permutated is equal to doing a transposed permutation.

(In fact I think the notation is bad, is much better which refers to order of row 1 and 2 switched and row 3 unchanged)

Factorization into A = LU - May 22, 2019 - Ruizhen Mai