factorization

Consider the equation: This equation is unusual in that it involves two matrices on the left-hand side. If we multiply the matrices together, we get Gaussian elimination yields: We conclude that

Now that we know the answer, we will turn to the original question and consider the advantages of the format of the original problem. Observe that the two matrices have a distinct pattern. The matrix on the left has zeros above the main diagonal, while the matrix on the right has zeros below the main diagonal. Matrices that follow such a pattern are called lower triangular and upper triangular matrices, respectively.

Let . Then we can write the original equation as The equation corresponds to the system

This system can be easily solved by substitution, giving us So,

Recall that we let . The equation corresponds to the system which can be easily solved by back-substitution:

Thus, . Observe that this is the same answer that we obtained in the beginning of the problem using Gaussian elimination.

Given a matrix equation such as of Exploration init:LUfactorization, often in practice we express the matrix on the left as a product of an upper triangular matrix and a lower triangular matrix and use substitution to solve the equation instead of using Gaussian elimination to find the solution. In Exploration init:LUfactorization,

The process of taking a matrix and expressing it as a product of a lower triangular matrix and an upper triangular matrix is called factorization. We also adopt the (common) convention that is a matrix with a diagonal consisting entirely of ’s, which is often called a lower unit triangular matrix.

Not every matrix has an factorization, but we will see that we can correct for that.

Finding an factorization by Inspection

One way to find the factorizationis to simply look for it directly. We need By multiplying the latter matrices we get and from this, it is a simple exercise to determine each of the unknowns. For example, from the first column, we get and then

See if you can continue to determine the entire factorization of .

Finding an factorization by the Multiplier Method

In the following example we demonstrate a method for computing an factorization known as the multiplier method.

Notice that when we perform the multiplier method, we are making repeated use of a certain type of elementary row operation, namely, we are adding a scalar multiple of one row to a row below it. The reason this helps to create an factorization depends upon the fact that the elementary matrices corresponding to such operations are lower triangular. To understand how this works, we begin with a lemma.

Proof
Consider the usual setup for finding the inverse . Each row operation used on to transform this matrix to reduced row echelon form changes only the entries in below the main diagonal. Whether we have the special case of given in 4nove1h where the nonzero nondiagonal entries are in the left column, or if the single nonzero column is in another position, it is clear that multiplication by as described in the lemma gives us .

For a simple illustration of the lemma, observe:

Now let be an matrix, say

and assume can be row reduced to an upper triangular form using only row operation 3. Thus, in particular, . Multiply on the left by This is the product of elementary matrices which make modifications in the first column only. It is equivalent to taking times the first row and adding to the second. Then taking times the first row and adding to the third and so forth. The quotients in the first column of the above matrix are the multipliers. Thus the result is of the form By assumption, and so it is possible to use this entry to zero out all the entries below it in the matrix on the right by multiplication by a matrix of the form where is an matrix of the form Again, the entries in the first column below the 1 are the multipliers. Continuing this way, zeroing out the entries below the diagonal entries, finally leads us to where is upper triangular. Each has all ones down the main diagonal and is lower triangular. Now we can multiply both sides by the inverses of the in the reverse order. This yields

By Lemma lem:multipliermethodtriangularmatrices, this implies that the product of those is a lower triangular matrix having all ones down the main diagonal.

The above discussion and lemma explain how the multiplier method works. The expressions

which we obtained in building , and which we denote respectively by to save notation, are the multipliers. Therefore, according to the lemma, to find we simply write Similar considerations apply to the other Thus is a product of the form where each factor has at most one nonzero column, the position of which moves from left to right as we scan the above product of matrices from left to right. It follows from what we know about the effect of multiplying on the left by an elementary matrix that the above product is of the form

To sum up the procedure, beginning at the left column and moving toward the right, you simply insert, into the corresponding position in the identity matrix, times the multiplier which was used to zero out an entry in that position below the main diagonal in while retaining the main diagonal which consists entirely of ones. This will give us as we create using row operation 3.

We now return to Example ex:usingLU, to understand why we could not use the multiplier method to find an factorization of the coefficient matrix. Suppose we had written Our first step of Gaussian elimination would require a row swap to get a nonzero entry into the top left corner (we swapped rows 1 and 2 in Example ex:usingLU). Unfortunately, the elementary matrix that accomplishes this, is NOT lower triangular. So we cannot apply Lemma lem:multipliermethodtriangularmatrices to generate a lower triangular .

If the elementary matrices used to reduce our matrix to row-echelon form are all lower triangular, then we can find an factorization. But what about the general case?

For a proof of the above theorem, the reader is referred to [Nicholson].

The matrix in the above theorem is called a permutation matrix. These matrices have other important applications, as we will see later.

Practice Problems

Use the given factorization of the coefficient matrix to solve the system of equations. Observe that an factorization of the coefficient matrix is

Problems prob:LU2a-prob:LU2b Find the factorization of the coefficient matrix and use it to solve the system of equations.

Is there only one factorization for a given matrix?
Consider the equation

Look for all possible factorizations.

Can you show that every permutation matrix is invertible? If so, What does the inverse of a permutation matrix look like? (Recall that a permutation matrix is matrix of Theorem th:LUPA.)

Text Source

The text in this section is an adaptation of Section 2.2 of Ken Kuttler’s A First Course in Linear Algebra. (CC-BY)

Ken Kuttler, A First Course in Linear Algebra, Lyryx 2017, Open Edition, p. 99-106.

Bibliography

[Nicholson] W. Keith Nicholson, Linear Algebra with Applications, Lyryx 2018, Open Edition, pp. 123–127.