Lesson Explainer: LDU and PLU Decomposition | Nagwa Lesson Explainer: LDU and PLU Decomposition | Nagwa

Lesson Explainer: LDU and PLU Decomposition Mathematics

In this explainer, we will learn how to find the PLU (permutation, lower-, and upper-triangular matrices) decomposition (factorization) of a matrix.

Often, we choose to describe matrices as being of one or more “types,” which are typically determined by the order of the matrix as well as other additional features. For example, one of the simplest types of matrix is the square matrix, which has an equal number of rows and columns. Square matrices are the only types of matrix for which we can define the determinant or the multiplicative inverse matrix, which are two reasons why they are interesting to mathematicians. A subgroup of the square matrices are the lower-triangular and upper-triangular matrices, which are even more attractive because their determinant is easy to calculate (being simply the product of the diagonal entries) and any calculation involving them is easier due to the large number of entries that are zero.

Given that triangular matrices have many desirable algebraic properties, one common aim is to split or “decompose” a matrix 𝐴 into a lower-triangular matrix L and an upper-triangular matrix U such that 𝐴=LU, which is known as the “ LU ” decomposition. As well as offering an attractive recipe for the matrix, writing a square matrix as the product of two triangular matrices can make subsequent calculations much easier to complete. The drawback of such an expression is that it is not always possible to derive, which some might consider to be a very significant drawback!

In this explainer, we will assume knowledge of elementary matrices and the LU decomposition method using Doolittle’s algorithm (or any other valid method), as there are separate explainers for these. Instead, this explainer will focus on demonstrating how to complete PLU decomposition in several examples. In practice, the completion of a PLU decomposition is very similar to the process used for LU decomposition, only with the possibility of having to use the row-swap operation and the associated elementary matrix (which is also a permutation matrix, in this case). We will first explain several examples where only one row swap is necessary and later we will give examples where more than one is needed.

Consider the following square matrix, which has the pivot entries highlighted: 𝐴=012301122.

To complete the LU decomposition of 𝐴, we would ordinarily choose to use a nonzero pivot entry in the first row to eliminate any pivot entries in the rows below. However, this is not possible with the matrix above because the entry in the first row and first column is zero. The remedial step is simply to use an elementary row matrix of the first type, which corresponds to a row-swap operation. In this case, we use the row-swap operation 𝑟𝑟 which has the corresponding elementary matrix P=001010100.

Suppose that we were to create a new, row-equivalent matrix 𝐴 by multiplying the elementary matrix P on the left-hand side with the original matrix 𝐴. Then, the effect would be 𝐴=𝐴=001010100012301122=122301012.P

The pivots are now aligned in a way that is much more favorable, meaning that we could now operate with the new, row-equivalent matrix 𝐴 to complete the LU decomposition (of this new matrix and not the original matrix 𝐴, which does not have an LU decomposition). There is still the chance, of course, that we might need to use another elementary row operation of the first type, although we will only do so if absolutely necessary, preferring to use elementary row operations of the second and third types.

Focusing on the pivot entries of the matrix above, we see that to achieve upper-triangular form we need to at least eliminate the pivot entry in the second row of the matrix. This can be completed with the elementary row operation 𝑟𝑟3𝑟. The corresponding elementary matrix and the inverse are as follows: 𝐸(3)=100310001,𝐸(3)=𝐸(3)=100310001.

Given that these two matrices are inverses of each other, we have that 𝐸(3)𝐸(3)=𝐼, meaning that we can inject this pairing on the left-hand side of the trivial equation 𝐴=𝐴. This gives the matrix equation 100310001100310001122301012=122301012.

The leftmost matrix is in lower-triangular form, as we would expect. The second and third matrices can be combined using matrix multiplication to give 100310001122065012=122301012.

The middle matrix is not yet in upper-triangular form, which means that we have not yet solved the problem properly. That being said, the only entry that is preventing the middle matrix from being in the required form is the pivot in the third row. If we can eliminate this, then we will have solved the problem. As is often the way in linear algebra, we are now faced with a choice as to how we proceed, as there are infinitely many combinations of elementary matrices that will achieve what we need. We choose first to multiply every entry in the third row by 6 using the row operation 𝑟6𝑟. The corresponding elementary matrix and inverse are 𝐷(6)=100010006,𝐷(6)=𝐷16=1000100016.

Given that these two matrices are each other’s multiplicative inverse, we can insert them between the left and middle matrices in the previous step: 1003100011000100016100010006122065012=122301012.

By multiplying together the first pair of matrices and then separately multiplying together the second set of matrices, we obtain 10031000161220650612=122301012.

The leftmost matrix is in lower-triangular form, as required, but the middle matrix is not yet in upper-triangular form. Thanks to the previous preparatory step, we can eliminate the pivot in the third row using the row operation 𝑟𝑟+𝑟, for which the corresponding elementary matrices are 𝐸(1)=100010011,𝐸(1)=𝐸(1)=100010011.

Following the established method, we insert this pairing between the left and middle matrices of the previous step, giving 10031000161000100111000100111220650612=122301012.

By taking the product between the first pair of matrices and then taking the product between the second pair of matrices, we obtain the desired form: 100310016161220650017=122301012.

The leftmost matrix is in lower-triangular form and the middle matrix is in upper-triangular form. We have therefore decomposed the row-equivalent matrix 𝐴 by the expression LU=𝐴, where LU=10031001616,=1220650017.

Since we originally defined the matrix 𝐴 as being equal to a permutation matrix multiplied by the original matrix as 𝐴=𝐴P, we can write the full expression as LUP=𝐴. This is known as the PLU decomposition of 𝐴.

Suppose we had obtained the general expression LUP=𝐴, where P was the product of elementary matrices of the first type. This means that P is a product of permutation matrices and, given that all permutation matrices are equal to their own multiplicative inverse, this means that P itself is equal to its own inverse. Therefore, the expression LUP=𝐴 can just as easily be written PLU=𝐴 if this is considered preferable.

Example 1: PLU Decomposition of a 3 × 3 Matrix

Find the PLU factoring of the matrix 𝐴=121122211.

Answer

We begin by highlighting the pivots in each row. As we can see, there are two pivot entries below the pivot in the first row, both of which will need to be removed in order to achieve upper-triangular form: 𝐴=121122211.

The pivot in the second row can be removed using the row operation 𝑟𝑟𝑟, for which the corresponding elementary matrices are 𝐸(1)=100110001,𝐸(1)=𝐸(1)=100110001.

Now the trivial equation 𝐴=𝐴 can be multiplied on the left-hand side by this elementary matrix and its inverse, the product of which must be the identity matrix 𝐼 (hence why this does not affect the truth of the statement 𝐴=𝐴). The result is 100110001100110001121122211=121122211, and taking the product of the two leftmost matrices gives the new matrix equation 100110001121001211=121122211.

The pivot entry in the second row now looks as though it may cause some complications, given that we would ideally want the pivot to appear in the second entry to help achieve upper-triangular form. Nonetheless, we do not have to focus on this yet, as we still need to remove the pivot entry in the third row. The obvious row operation is 𝑟𝑟2𝑟, which has the elementary matrices 𝐸(2)=100010201,𝐸(2)=𝐸(2)=100010201.

Taking the previous step and injecting the elementary matrix and inverse in between the first and second matrices give 100110001100010201100010201121001211=121122211.

Combining the first pair of matrices and the second pair of matrices gives the simplified expression 100110201121001031=121122211.

The leftmost matrix is in lower-triangular form, as it should be, although the middle matrix is not in upper-triangular form. Indeed, we see now that it will be impossible to achieve upper-triangular form unless we swap the second and third rows in the middle matrix in the previous step. We can naively use the row operation 𝑟𝑟 and the elementary matrices PPP=100001010,==100001010.

Injecting into the previous step in the normal way gives the matrix equation 100110201100001010100001010121001031=121122211, which can be simplified by taking the product of the first pair of matrices and then separately doing the same with the second pair of matrices. The outcome is 100101210121031001=121122211.

The middle matrix is in upper-triangular form, as we were hoping to achieve. But something has gone terribly wrong, in that the leftmost matrix is now not in lower-triangular form. This is because we multiplied by one of the elementary matrices. However, we can actually take this equation and multiply both sides, on the left, by the permutation matrix P. This gives 100001010100101210121031001=100001010121122211.

We can take the product of the first and second matrices on the left-hand side, which will thankfully return a leftmost matrix with lower-triangular form. We also take the product of the two matrices on the right-hand side of the equation, giving 100210101121031001=100001010121122211.

We have therefore achieved the form LUP=𝐴, where LUP=100210101,=121031001,=100001010.

The magic of this trick is that we can temporarily break the “lower-triangular-ness” of the leftmost matrix in order to move closer to an upper-triangular form in the middle matrix. The leftmost matrix can then be moved back into upper-triangular form by applying the permutation matrix on the left-hand side. It is necessary that this be the case, as otherwise we would not be able to obtain upper-triangular form.

In the following example, we will demonstrate this technique, without applying it to a square matrix as we did in the previous two examples. It can be a matter of tedious debate among mathematics as to whether or not nonsquare matrices can be considered as either lower or upper triangular. For our well-being, we will not engage in such debates and will instead assume that it is acceptable for a nonsquare matrix to be either lower or upper triangular. As we will see, this changes our method very little, if it all, and it is still possible to find the PLU decomposition of a matrix 𝐴 whether or not it is square.

Example 2: PLU Decomposition of a 3 × 5 Matrix

Find the PLU factoring of the matrix 𝐴=121212424112132.

Answer

We begin by highlighting the pivot entries of the matrix. We need to remove the pivots in the second and third rows with reference to the pivot in the first row: 𝐴=121212424112132.

An obvious choice for the first row operation is 𝑟𝑟2𝑟, which will eliminate the pivot in the second row. The elementary matrices for this row operation are 𝐸(2)=100210001,𝐸(2)=𝐸(2)=100210001.

Given that these two matrices are inverses of each other, we can multiply the trivial equation 𝐴=𝐴 on the left-hand side by this pair of matrices, which overall will change nothing but will begin moving towards the LU form that we require. The full equation is 100210001100210001121212424112132=121212424112132, and we can take the product of the second and third matrices to give the simplified equation 100210001121210000112132=121212424112132.

The left-hand matrix is in lower-triangular form but the middle matrix is not yet in upper-triangular form. Given that the pivot in the second row is in the final entry, we are likely to require a permutation matrix at some point in order to achieve upper-triangular form for the middle matrix. For the time being, we will continue by eliminating the pivot in the third row using the elementary row operation 𝑟𝑟𝑟, for which the elementary matrices are 𝐸(1)=100010101,𝐸(1)=𝐸(1)=100010101.

By inserting this into the previous step, we have 100210001100010101100010101121210000112132=121212424112132.

By taking the product of the first pair of matrices and then the product of the second pair of matrices, we find the much simplified form 100210101121210000100011=121212424112132.

The leftmost matrix is in lower-triangular form but we are yet to manipulate the middle matrix into upper triangular form. We will be unable to achieve this without using the row-swap operation 𝑟𝑟, which has the elementary matrices PPP=100001010,==100001010.

By inserting these matrices in the normal way, we have the expanded and yet equivalent equation 100210101100001010100001010121210000100011=121212424112132.

We again take the product of the first pair of matrices and then the product of the second pair of matrices, giving the equation 100201110121210001100001=121212424112132.

The middle matrix is now in upper-triangular form but the left-hand matrix is no longer in lower-triangular form, which is a problem that we must fix. Fortunately, the fix is very easy and we just apply the permutation matrix P to both sides of the previous equation. This gives 100001010100201110121210001100001=100001010121212424112132.

The “lower-triangular-ness” can then be restored by taking the product of the first and second matrices, giving 100110201121210001100001=100001010121212424112132.

We have therefore obtained the PLU decomposition for the matrix 𝐴, with the full specification being encapsulated by the equation LUP=𝐴, where LUP=100110201,=121210001100001,=100001010.

Calculating the PLU decomposition of a matrix is a little different to finding the LU decomposition. The difference between the two is that the former is always possible whereas the latter is not. Once we understand how to proceed with calculating the LU decomposition of a matrix (if possible), there is only a touch of extra effort required to understand how to find the PLU decomposition. The situation becomes only slightly more complicated if more than one permutation matrix is required, which is a situation that we will explore later on in this explainer. For the moment, we will give one further example to practice this method.

Example 3: PLU Decomposition of a 4 × 3 Matrix

Find the PLU factoring of the matrix 𝐴=121122241321.

Answer

Our approach begins by highlighting the pivot entries, all of which are in the first column of the matrix: 𝐴=121122241321.

To manipulate this matrix into upper-triangular form, we would first need to remove all of the pivot entries that are below the pivot entry in the first row. There are three of these entries to remove and we initially target the pivot in the second row. This can be turned into a zero entry with the row operation 𝑟𝑟𝑟, for which the elementary matrices are 𝐸(1)=1000110000100001,𝐸(1)=𝐸(1)=1000110000100001.

Although it is not particularly inspiring to state, it is nevertheless true that 𝐴=𝐴. Given that the two elementary matrices are inverses of each other, we could equally write 𝐸(1)𝐸(1)𝐴=𝐴 since the product of the two leftmost matrices is the identity matrix 𝐼. Written out in full, this is 10001100001000011000110000100001121122241321=121122241321.

Now, we take the product of the second and third matrices to find 1000110000100001121001241321=121122241321.

The leftmost matrix is in lower-triangular form, which we will need to maintain to find either an LU or a PLU decomposition. This must be done while manipulating the middle matrix further toward upper-triangular form. We now choose to remove the pivot entry in the third row using the row operation 𝑟𝑟2𝑟. The elementary matrices that we will need are 𝐸(2)=1000010020100001,𝐸(2)=𝐸(2)=1000010020100001.

By slotting this pair of matrices into the previous step, we obtain the matrix equation 100011000010000110000100201000011000010020100001121001241321=121122241321.

By taking the product of the first pair of matrices and then taking the product of the second pair of matrices, we obtain the simplified expression 1000110020100001121001001321=121122241321.

The leftmost matrix remains in lower-triangular form and the middle matrix is getting closer to upper-triangular form. We can get closer to this with the row operation 𝑟𝑟3𝑟, which has the corresponding elementary matrices 𝐸(3)=1000010000103001,𝐸(3)=𝐸(3)=1000010000103001.

Placing these matrices into the previous step gives 100011002010000110000100001030011000010000103001121001001321=121122241321.

Taking the product of the first pair of matrices and then the product of the second pair of matrices gives 1000110020103001121001001042=121122241321.

The leftmost matrix is still in lower-triangular form and the middle matrix is very close to upper-triangular form. That being said, there is no possible way of getting the middle matrix into upper-triangular form without having to use the first type of elementary row operation, in this particular case the row-swap operation 𝑟𝑟. The elementary matrices that we need are PPP=1000000100100100,==1000000100100100.

Although it will temporarily change the leftmost matrix into being non-lower triangular, we insert this pair of matrices in the previous step in the normal way: 100011002010300110000001001001001000000100100100121001001042=121122241321.

Taking the two matrix products gives 1000100120103100121042001001=121122241321.

The middle matrix is only one step away from being put into upper-triangular form. The difficulty is that now the leftmost matrix is not in lower-triangular form, which we will need to remedy before we continue with our method. This can be done by taking the equation in the step above and multiplying both sides, on the left, by the permutation matrix P: 10000001001001001000100120103100121042001001=1000000100100100121122241321.

If we take the product of the first pair of matrices, then we obtain an equation with a left-hand side that is in exactly the form we require: 1000310020101001121042001001=1000000100100100121122241321.

Now that the leftmost matrix is once again in lower-triangular form, we can proceed with our method in the normal way. There is one more pivot to eliminate in the fourth row before the middle matrix is in upper-triangular form. The final row operation is 𝑟𝑟+𝑟 and the elementary matrices for this are 𝐸(1)=1000010000100011,𝐸(1)=𝐸(1)=1000010000100011.

These elementary matrices are pumped into the previous step in the normal way: 100031002010100110000100001000111000010000100011121042001001=1000000100100100121122241321.

Taking the product between the two pairs of matrices now reveals the final solution to be 1000310020101011121042001000=1000000100100100121122241321.

The leftmost matrix is in lower-triangular form and the second matrix is in upper-triangular form. Therefore, we have found the matrices LUP=1000310020101011,=121042001000,=1000000100100100 such that LUP=𝐴, hence achieving a PLU decomposition for the original matrix 𝐴.

We have now seen a range of examples that, while not being without challenge, have only required us to utilize one permutation matrix to achieve a PLU decomposition. Believably, it could be the case that we require more than one permutation matrix to achieve this form, so the question must be asked about how we manage this situation. In fact, the remedy for this is hardly more complicated than in any of the previous examples. The simplicity of our working will hinge on the fact that the product of two permutation matrices is another permutation matrix, which means that any two such matrices P and P can be lumped together as PPP=, where P is also a permutation matrix.

We will demonstrate this with the example matrix 𝐴=5101122347.

Although it is not necessary, it is usually more pragmatic to have a 1 in the top left entry if possible. We can achieve this with the row-swap operation 𝑟𝑟, which has the elementary matrices PPP=010100001,==010100001.

Although it will be slightly gratuitous, we will write the matrix equation 𝐴=𝐴 in full but with the above pair of matrices taken as a product to the left-hand side: 0101000010101000015101122347=5101122347.

By taking the product of the second and third matrices, we obtain 0101000011225101347=5101122347.

The problem with this expression is that the leftmost matrix is not in lower-triangular form, which we must remedy before we continue. Fortunately, the solution is very simple and we only have to multiply both sides of the equation on the left by the matrix P. Since this matrix is equal to its own inverse, we obtain 0101000010101000011225101347=0101000015101122347.

Taking the product of the first and second matrices will return the identity matrix 𝐼, given that P is equal to its own inverse. This gives the simplified equation 1225101347=0101000015101122347.

Now that the pivot entry in the top left is equal to 1, we can use this to eliminate the pivots in the second and third rows. Focusing on the second row, we can use the row operation 𝑟𝑟5𝑟 and the corresponding elementary matrices 𝐸(5)=100510001,𝐸(5)=𝐸(5)=100510001.

Inserting these into the previous step gives the equation 1005100011005100011225101347=0101000015101122347.

By taking the product of the second and third matrices, we find that 100510001122009347=0101000015101122347.

This looks much more promising, because the leftmost matrix is now in lower-triangular form, which we will certainly try to preserve. We need to eliminate the remaining pivot in the third row of the second matrix, for which we employ the row operation 𝑟𝑟+3𝑟. The elementary matrices are 𝐸(3)=100010301,𝐸(3)=𝐸(3)=100010301, and these are placed into the previous step in the usual way: 100510001100010301100010301122009347=0101000015101122347.

We take the product of the first pair of matrices and the second pair of matrices in the normal way: 10051030112200901013=0101000015101122347.

The leftmost matrix is in lower-triangular form, as required, although the second matrix is not yet in the upper-triangular form that we need. In fact, the only way to achieve this is with recourse to another row operation of the first type, in this case the row-swap operation 𝑟𝑟. The permutation matrices for this step are PPP=100001010,==100001010.

Completing the usual step gives the equation 10051030110000101010000101012200901013=0101000015101122347.

We then take the product of the first pair of matrices and the second pair of matrices, giving 10050131012201013009=0101000015101122347.

Although the second matrix is now in upper-triangular form, we have unfortunately broken the lower-triangular form that was previously held by the leftmost matrix. We can fix this by multiplying the equation above on both sides, on the left, by the permutation matrix P. This gives 10000101010050131012201013009=1000010100101000015101122347.

We have nearly completed our working. All that we need to do now is to take the product of the first two matrices on the left-hand side of the equation as well as the product of the first two matrices on the right-hand side of the equation. This gives 10031050112201013009=0100011005101122347.

The glory of our method is shown in full. The leftmost matrix is in lower-triangular form and the second matrix is in upper-triangular form. If we define LUP=100310501,=12201013009,=010001100, then we have LUP=𝐴 and this means that we have found the correct PLU decomposition.

For the final example of this explainer, we will give another example where more than one permutation matrix is needed in order to complete the PLU decomposition. Ordinarily, when using row operations to complete any process (typically Gauss–Jordan elimination), it would be expected that several row-swap operations may be needed to shift the pivot variables into favorable positions. This technique is normally known as “partial pivoting,” with full “pivoting” referring to column operations as well as row operations.

Example 4: PLU Decomposition of a 4 × 5 Matrix

Find the PLU factoring of the matrix 𝐴=01031002121011421030.

Answer

We begin by highlighting the pivot entries of the matrix 𝐴=01031002121011421030.

The two pivot entries in the first and second rows are not in an ideal position, so it is likely that we will have to use row-swap operations to change this, which will mean that some permutation matrices will be required. We can use the row-swap operation 𝑟𝑟 to take the pivot entry in the third row and place this in the top left corner, which is normally our preferred step if possible. The corresponding matrices are PPP=0010010010000001,==0010010010000001.

We take the “equation” 𝐴=𝐴 and multiply the left-hand matrix by the product of these two matrices (which is just the identity matrix 𝐼), as shown: 0010010010000001001001001000000101031002121011421030=01031002121011421030.

By taking the product of the second and third matrices on the left-hand side, we will obtain a shortened version of this equation, giving 001001001000000110114002120103121030=01031002121011421030.

Although the middle matrix is closer to being in the upper-triangular form that it originally was in, the left-hand matrix is not in lower-triangular form. We can correct this by multiplying both sides of the equation, on the left, by the permutation matrix P, giving 0010010010000001001001001000000110114002120103121030=001001001000000101031002121011421030.

Since the permutation matrix P is equal to its own inverse, the product of the two leftmost matrices is just the identity matrix 𝐼, which we do not need to write down. More simply, the equation above can be written as 10114002120103121030=001001001000000101031002121011421030.

The pivot entry in the second row is still likely to cause us a problem, but we will return to this later. For the moment, we will remove the pivot entry in the fourth row, as this entry precludes the achievement of upper-triangular form. We use the row operation 𝑟𝑟2𝑟 and hence the elementary matrices 𝐸(2)=1000010000102001,𝐸(2)=𝐸(2)=1000010000102001.

Taking the previous step and multiplying the left-hand side, on the left, with these two matrices give the equivalent equation 1000010000102001100001000010200110114002120103121030=001001001000000101031002121011421030.

The second and third matrices can be combined using matrix multiplication to give the simplified equation 100001000010200110114002120103101218=001001001000000101031002121011421030.

We are now in a better position as the leftmost matrix is in lower-triangular form and the second matrix is moving closer toward upper-triangular form. However, there is still an issue with the pivot entry in the second row, which is to the right of the pivots in the third and fourth rows. To correct this, we now employ the row-swap operation 𝑟𝑟 which has the permutation matrices PPP=1000000100100100,==1000000100100100.

By injecting these equations into the previous step, we have the rather garish equation 10000100001020011000000100100100100000010010010010114002120103101218=001001001000000101031002121011421030.

By taking the product of the second and third equations, we obtain the slightly neater form 100000010010210010114012180103100212=001001001000000101031002121011421030.

The advantage of this form is that the middle matrix is nearer to being in upper-triangular form. The disadvantage is that the leftmost matrix is no longer in lower-triangular form. The remedy for this is to multiply both sides of the equation, on the left, by the permutation matrix P: 1000000100100100100000010010210010114012180103100212=1000000100100100001001001000000101031002121011421030.

By taking the product of the first two matrices on the left-hand side and separately taking the product of the first two matrices on the right-hand side, we obtain the vastly preferable equation 100021000010000110114012180103100212=001000011000010001031002121011421030.

The expression above looks very promising, since the leftmost matrix is a lower-triangular matrix and the second matrix is nearly in upper-triangular form. Additionally, the first matrix on the right-hand side of the equation is still a permutation matrix (even though it is no longer an elementary matrix). We now aim to quickly complete the process by moving the remaining pivot entries into the appropriate position. The first row operation is 𝑟𝑟𝑟 and the elementary matrices are 𝐸(1)=1000010001100001,𝐸(1)=𝐸(1)=1000010001100001.

These two matrices are then inserted into the previous step in the normal way: 10002100001000011000010001100001100001000110000110114012180103100212=001000011000010001031002121011421030.

Completing the matrix multiplication for the first pair of matrices and then for the second pair of matrices gives the simplified form 100021000110000110114012180022700212=001000011000010001031002121011421030.

Note that the leftmost matrix is in lower-triangular form and the second matrix is one step away from being in upper-triangular form. The last step is to use the row operation 𝑟𝑟𝑟 and the elementary matrices 𝐸(1)=1000010000100011,𝐸(1)=𝐸(1)=1000010000100011.

Then, the previous step can be written as 10002100011000011000010000100011100001000010001110114012180022700212=001000011000010001031002121011421030.

The final step needed is to bring together the two pairs of matrices on the left side of the above equation, giving the final form 100021000110001110114012180022700015=001000011000010001031002121011421030.

We have therefore found the three matrices LUP=1000210001100011,=10114012180022700015,=0010000110000100 such that LUP=𝐴, which means that we have found the PLU decomposition of the matrix.

Just as with LU decomposition, finding the PLU decomposition of a matrix is ultimately a matter of understanding the elementary row operations and their counterpart elementary matrices. Given that each elementary matrix is very similar to the identity matrix of appropriate order, each elementary matrix is easy to combine with another matrix by matrix multiplication, with the effects being identical to performing whatever the associated row operation. This means that, even with matrices having large orders, finding the LU or PLU decomposition is essentially just a matter of determining a useful series of elementary row operations, with little extra effort required to turn these into the corresponding elementary matrices. Once one of the two types of decomposition is found, the original matrix 𝐴 is expressed in terms of matrices that either are in triangular form (and hence have much more useful algebraic properties) or are permutation matrices (which are very well understood and have convenient properties).

Key Points

  • The LU decomposition of a matrix uses elementary row operations of the second and third types, but it is not always possible to find. If at any point a row operation of the first type is needed, then the PLU decomposition must be calculated instead.
  • It is always possible to write a matrix 𝐴 in terms of a lower-triangular matrix L, an upper-triangular matrix U, and a permutation matrix P, such that LUP=𝐴.
  • In the PLU decomposition, the permutation matrix P can be expressed as a product of all of the elementary matrices of the first type, in order.
  • For any permutation matrix P, the inverse is PP=. One consequence of this is that the PLU decomposition can alternatively be expressed as PLU=𝐴, which is often considered favorable.

Join Nagwa Classes

Attend live sessions on Nagwa Classes to boost your learning with guidance and advice from an expert teacher!

  • Interactive Sessions
  • Chat & Messaging
  • Realistic Exam Questions

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy