8-Introduction to Crout’s LU decomposition for a 2×2 matrix.

Last Updated on August 5, 2025 by Maged kamel

Introduction to Crout’s LU decomposition for a 2×2 matrix.

The elements of the upper and lower matrix, 2×2, can be obtained by using the Gauss elimination method. Next is how to solve for x and y for two equations using the lower-upper triangulation, through an example.

Step-1- Derive the expression for Crout’s LU decomposition for a 2×2 matrix.

We have two equations for which we want to develop Crout’s LU decomposition for a 2×2 matrix. The first equation is (2x+3y=13) and the second equation is (3x+4y=18). As we can see, the determinant of the matrix equals -1, not zero.

Then the matrix is invertible. We set Matrix A to be equal to two matrices multiplied by each other. One of these is called the lower Matrix. The other Matrix is the upper Matrix.

The lower Matrix is expressed as lij. Where I represent the row and j represents the column. The lower Matrix has L11, L22, and L21 in the case of a 2×2 matrix, nonzeros. The element L12 is zero. For the symbols, we will write A matrix (2 3 3 4); we are saying a11, a12, a21, and a22.

Derive the expression for Crout's LU decomposition for a 2x2 matrix

Unlike the previous method, LU decomposition, Crout’s LU decomposition for the 2×2 matrix considers that the upper matrix has a diagonal, besides the lower corner element, U21 = 0, while the L matrix’s diagonal based on Crout’s LU decomposition for the 2×2 matrix is not =1.

Step-2-The values for L and U matrices for Crout’s LU decomposition for a 2×2 matrix.

Since A = the lower multiplication by the upper matrices, we will perform the multiplication of the lower and upper matrices and equate the product to the elements of matrix A. The multiplication of the  First row by the first column, we can express as L11=a11.

The multiplication of the  First row by the second column we can express as (L11*U12)=a12.If we multiply the second row by the first column, we can express it as  (L21)=a21.

If we multiply the second row by the second column, we can express it as  (L21*U12)+U22=a22. From equations I and III, we have L11=a11&L21=a12. From equation II, we get U12=a12/a11. Finally,L22=a22-(a21*(a12/a11)).
We apply this information to the given matrix A, which is (2 3 3 4). The first column will be placed as the first column of the L matrix.

We need to have the value of L22. For the U matrix, we have diagonals U11&U22=1, while U12=a12/a11=3/2. Perform the row echelon to convert matrix A to an upper matrix, taking the value of U22 as the value of L22—the final value of L22=-1/2.

Derive the expressions for L and U matrices.

For the given two sets of equations, 2x + 3y = 13 and 3x + 4y = 18.We have A=(2 3 3 4), b=(13 18). Since A*x=b, while A=L*U. Consider U*x=c. Then L*c=b. Since L and b are known, we can get the value of C, but we need to estimate the inverse of matrix L.

The other alternative is to multiply U-1*L-1*x and equate the value to b. Then X=U-1L-1b.

The expression of C as equal to L-1*b.

Step-3-Derive the value for the inverse matrix L-1 for Crout’s LU decomposition for a 2×2 matrix.

We will get the inverse matrix L-1. For a 2×2 matrix, we can get the determinant by swapping the corner element and changing the signs for the other diagonal—the determinant value of L=-1.The inverse matrix of L is (1/2 0 3 -2). We will make a check that L*l-1=I.

How to detrmine the inverse of the lower matrix L-1?

Step-4- Get the values for the C matrix for Crout’s LU decomposition for a 2×2 matrix.

We can estimate the value of matrix C by multiplying L-1*B, where L-1 we have just estimated, while the B matrix is a (2×1) matrix ( 13 18). As we can see C=(13/2 3), is a 2×1 matrix.

Since Ux C, we can get the value of the unknowns by multiplying U-1*C.

How to find matrix c?

Step 5- Get the values of the inverse matrix U-1 for Crout’s LU decomposition for a 2×2 matrix.

We can get the inverse of matrix U by using the identity matrix. The inverse of Matrix U is a 2×2 matrix with elements as ( 1 3/2 0 1). Multiply U-1*C to get the X vector. The inverse of Matrix U is a 2×2 matrix with elements as ( 1 -3/2 0 1). We can get X=2 and y=3.

Estimate the values of x and y from The C matrix.

Step 6-Get the values for x, and y from matrix C for Crout’s LU decomposition for a 2×2 matrix.

The final value of X – the matrix can be estimated as a (2×1) matrix, 2 3). We will check our given equation to satisfy the requirements. As an alternative method to estimate the vector-matrix X, multiply U-1L-1B. The calculation will yield the same values for x and Y.

Check the values of x and Y.

The following post is Crout’s LU decomposition for a 3×3 matrix.

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

This is a link to another –Calculator for matrices.