2- Easy illustration for LU decomposition for 2×2 matrix.

Last Updated on May 11, 2025 by Maged kamel

How to use the LU decomposition method for the 2×2 matrix?

LU decomposition method for the 2×2 matrix?

Now we will start with the lower /upper decomposition of LU’s triangulation method.

The lower matrix property is a matrix. It has a diagonal that is not zero, and the lower corner has a value that is not zero. For the upper corner, each element will be=0.

On the contrary, the upper matrix is a matrix that has a diagonal of zero and the upper corner is also non-zero, while the lower corner is =zero. Just why this is called a lower matrix it is enclosed by a diagonal and lower bottom While the upper matrix is enclosed by the diagonal and the upper right-hand side.

Lu decomposition method for 2x2 matrix.

For the symbols. Thus, the matrix can be decomposed using the Lu decomposition method.

LU decomposition method by using an example of a 2×2 matrix.

For the symbols, we will write an A matrix (2 3 3 4), which means a11, a12, a21, and a22. We have six unknowns: L11, L21,l22 ,U11, U12, and U22.

Due to the multiplication of the lower by the upper Matrix, we have only four equations.

According to the LU triangulation method, the two elements L11 and L22 will be equal to 1. Hence, we can solve the four equations to get the values of the remaining unknowns.

Since A = the lower multiplication by the upper matrices, we will perform the multiplication of lower and upper metrics and equate the product to the elements of matrix A. For example, if we multiply the first row by the First Column, we will get the value of 2, which we express as  (1*U11+0)=2.

The multiplication of the  First row by the second column will give us 3. Meanwhile, a22, equal to 4, will be equivalent to the multiplication of the second row by the second column,( L21 *U12)+(1*U22)=4. From equation I, we have U11=2.

From equation II, we have U12 = 3. Substitute the value of U11 in equation three to get the value of L21, which is equal to 3/2.

Finally, we can get the value of u22 from equation four after substituting the values of L21 and U12. U22 will be equal to  -1/2. Remaining for us the minus(-) (1/2) is denoted by U22, which is = 4 – 3, which is L21, 2 * 3 = -1/2. or U22=a22-L21*U12.

How to find lower and upper composition values?

If we put the Matrix on the left-hand side and the corresponding values after solving the four equations, we will find an exciting remark that a11 will go to U11, and a12 will go to U12 as if we are taking these values from here to there.

Consider a11 as a pivot divide a21/a11, which is equal to 3/2, to come to a value of L21. This is from the equations we have solved.

While multiplying a21/a11 by minus one will give the value of U21.

An important remark for L and U

Does all matrix 2×2 have LU decomposition?

Not all 2×2 matrixes have Lu decomposition. In the case of determinant value=0, LU decomposition can not be considered because it will lead to a U matrix with zero value at the diagonal.

Lu decomposition for a given matrix

To estimate the values of elements of the upper Matrix, we have U11=a11=1, and U12 equals a22=5, by definition. U12=0. Finally, U22=a12-L21*u12=10*(2*5)=0. U22 cannot equal zero since U is an upper matrix with the diagonal elements being nonzeros. This is the upper matrix for matrix B.

The upper matrix elements.

The expression of B=LU is not acceptable.

The matrix 2x2 will not have Lu decomposition

This is the pdf file used to illustrate this post.

The following post, post 3, is the Best illustration of how to solve for x-y for two equations using L/U decomposition.

HELM-Helping Engineers Learn Mathematics.

This is the Omni calculator for estimating various items of linear algebra -LU Decomposition Calculator.

This is a link to another –Calculator for matrices.