4-Derive the expression for L-U values for-3×3 matrix.

Last Updated on January 25, 2026 by Maged kamel

How to derive the expression for L-U values for a -3×3 matrix?

I have created a video to illustrate the content of this post.

This explains the terms for both the upper and lower L-U values in Doolittle’s method for the 3×3 matrix.

How to derive the expression for L-U values?-Summary of post 4.

The matrix A of 3×3 is represented by(aij) where i is the row number, and j is the column number.
The matrix A (3×3) can be represented as the product of the Lower triangular matrix L (3×3) and the upper triangular matrix U (3×3).

For the terms of the L matrix, we use the notation aij as well. For that L matrix, the diagonal is 1, and we have three diagonals: a11 = a22 = a33 = 1.

While for a12, the element in the first row at the second column =a13=0. Below the diagonal, all remaining elements are nonzeros.

On the contrary, the upper triangular matrix has U11, U12, and U13, and all the diagonals are non-zero, while all elements below the diagonal represented by U11, U22, and U33 are all zeros.

How to get the values of the elements of L*U?

Step-1: Equating the product of L-U values for-3×3 matrix by the value of matrix A.

Since matrix A is the product of LU matrices, we can equate the value of the elements of A with the product of LU for the corresponding items.

The product of L*u is represented by a 3×3 matrix, as we can see in the next slide image. The first row contains (U11, U12, and U13), which are equal to the first row of matrix A, hence we can proceed to the next step.

Equate L*U matrix to A matrix to find values of elements.

Step-2 Get the expression for L-U elements for the upper and lower matrix for a 3 x 3 matrix.

1-Equate the first element of (L*U) decomposition to the first element a11 of the matrix A as follows: U11=a11. Similarly, we can equate the second and the third element to the corresponding elements of matrix A.
So U12=a12 and U13=a13.
2-We will move to the second row of the L*U matrix to get the expression for L-U values.

3- We equate L21*U11 to a21, also, L21*U12+U22 to a22, and L21*U13+U23 to a23, we will use the derived values for U11 as a11, U12 as a12 from which we have estimated from step 1.

4- We can get the values of L21 and L32.

How to get the values of the elements of L*U?

We equate L21*U12+U22 to a22, we substitute the values of u12=a12, L21 as equal to a21/a11.

5- We can get U22, and U23 as shown in the next slide image.

The values of U22 and U23 for the upper matrix U.

The value of L32 is indicated in the following slide image in more detail.

How to derive the value of L32?

To get the value of U33, we equate L31*U13+L32*U23+U33 to a33, and we use the values that we have estimated to get the expression of U33. Please refer to the following slide image.

How can we get the value of U33?

The following slide shows the component of the lower matrix L, which we need to create what is called the U1 matrix to find the value of L32.

The elements of the lower matrix L.

We need to create the U1 matrix; we multiply the second row of matrix A by -a21/a11*R1 and add it to the second row. We multiply the third row of matrix A by -a31/a11*R1 and add to the third row. In that matrix, the U21=U31=0.

The element u22=a22-a21/a11*a12, this is the povot element we need to get the value of L32.

How can we create U1 matrix?

The next slide image shows how to get the value of L32. It is equal to ((a32-(a31/a11)*a12/a22-a21*(a12/a11). We take U21 as a pivot.

How can we get the value of L32?

The following slide shows how we can get the value of U33.

L1 and U1 side by side.

Thus, we have come to the end of the method to derive the expression for L-U values for an A 3×3 matrix.

In the next post, we will use a solved problem to apply this method. A discussion on whether all matrices will have LU decomposition or not. You can download the PDF file for this post

This is a direct link to the next post, which is the First solved problem-LU decomposition for the 3×3 matrix.

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.