next up previous



Gauss Transformation and LU-Factorization


Under certain conditions the system matrix A of the equation tex2html_wrap_inline6827 can be expressed in the form of a product of a unit lower triangular matrix L with units on the main diagonal and an upper triangular matrix U,and as the result, one has to solve two systems with triangular matrices.

Proposition 1.2.1 (LU-method). If tex2html_wrap_inline6835 where L is unit lower triangular, U is regular upper triangular and tex2html_wrap_inline6841 then tex2html_wrap_inline6843 and for the solution of the system one has first to solve the system tex2html_wrap_inline6845 and then the system tex2html_wrap_inline6847

Example 1.2.1. Solve the system
displaymath6723
using LU-method. Since
displaymath6724
then, by Proposition 1.2.1, we have to solve first the system
displaymath6725
The solution of this system is tex2html_wrap_inline6851 and tex2html_wrap_inline6853 Second, solving the system
displaymath6726
we find that tex2html_wrap_inline6855 and tex2html_wrap_inline6857 Thus, tex2html_wrap_inline6859

The Gaussian elimination considered in the main course of linear algebra for solution of systems of linear equations is applicable also to the LU-factorization. Let tex2html_wrap_inline6863 where tex2html_wrap_inline6865 If
displaymath6727
and
 equation209
then

displaymath6728

Definition 1.2.1. A matrix Mk of the form (2) is called a Gauss matrix, the components tex2html_wrap_inline6869 are called Gauss multipliers, and the vector tex2html_wrap_inline6871 is called the Gauss vector. The transformation defined with the Gauss matrix tex2html_wrap_inline6873is called the Gauss transformation.

Definition 1.2.2. The value
displaymath6729
is called the k-th pivot of the matrix tex2html_wrap_inline6877 where tex2html_wrap_inline6879 and tex2html_wrap_inline6881

If tex2html_wrap_inline6883 then for the nonzero pivots of A the Gauss matrices tex2html_wrap_inline6887 can be found such that tex2html_wrap_inline6889 is upper triangular.

Example 1.2.2. Let us consider the finding of the Gauss matrices M1 ja tex2html_wrap_inline6893and the upper triangular matrix U for
displaymath6730
By relation (2), we obtain that
displaymath6731

displaymath6732
Thus,
displaymath6733
and
displaymath6734

displaymath6735
Therefore,

displaymath6736

Note that matrix tex2html_wrap_inline6897 is upper triangular in columns 1 to k-1, and for the calculation of the elements of the Gauss matrix Mk is used the matrix vector A(k-1)(k:m,k). The calculation of Mk is possible if tex2html_wrap_inline6907. Moreover, tex2html_wrap_inline6909 If to choose
displaymath6737
then
displaymath6738
We stress that in our treatment the lower triangular matrix L is a unit lower triangular matrix.

Proposition 1.2.2. If tex2html_wrap_inline69131:k,1:tex2html_wrap_inline6917 for (k=1:n-1),then tex2html_wrap_inline6925 has an LU factorization. If the LU factorization exists and A is regular, then the LU factorization is unique and tex2html_wrap_inline6935

Proof. Suppose k-1 steps have been taken and the matrix tex2html_wrap_inline6897 has been found. The element akk(k-1) is the k-th pivot of A and tex2html_wrap_inline69131:k,1:tex2html_wrap_inline6951 Hence, if A(1:k,1:k) is regular, then tex2html_wrap_inline6907 and A has an LU factorization. Let us suppose that regular matrix A has two LU factorizations A=L1U1 and A=L2U2. We have L1U1=L2U2 or L2-1L1=U2U1-1. Since L2-1L1 is unit lower triangular and U2U1-1is upper triangular, then L2-1L1=I , U2U1-1=I and L2=L1 and also U2=U1.

Example 1.2.3.* Find the LU factorization of the matrix
displaymath6739

Find the Gauss matrix M1 for A :
displaymath6740

displaymath6741
Thus,
displaymath6742
and

displaymath6743

Example 1.2.4.* Find the LU factorization of
displaymath6744

Find the Gauss matrix M1 for A:
displaymath6745

displaymath6746
Thus,
displaymath6747
and since M1A is upper triangular, then M2=I and

displaymath6748

displaymath6749

Example 1.2.5.* By using the LU factorization, solve the system tex2html_wrap_inline6827, where
displaymath6750

In example 1.2.4 there has been found the LU factorization for A:
displaymath6749
By solving the system tex2html_wrap_inline6845 , i.e.,
displaymath6752
we obtain that
displaymath6753
By solving the system tex2html_wrap_inline7023 , i.e.,
displaymath6754
we obtain that

displaymath6755

Exercise 1.2.1.* Find the LU factorization of A if
displaymath6756

Exercise 1.2.2.* By using the LU factorization solve the system tex2html_wrap_inline6827, where
displaymath6757

If the principal minors of a rectangular matrix tex2html_wrap_inline7037 are nonzero, i.e.,
displaymath6758
then A has an LU factorization.

Example 1.2.6. The following equalities hold:


displaymath6759

displaymath6760
As it is known from the main course of algebra, the direct application of the Gaussian elimination, therefore also the direct realization of the LU factorization, fails if at least one of the principal minors is singular. It turns out that for a regular matrix it is possible after an appropriate interchange of matrix rows to find the LU factotization. Permutation matrices are used for interchanging the matrix rows (columns).

Definition 1.2.3. A permutation matrix tex2html_wrap_inline7047 is the identity I with its rows reordered.

Example 1.2.7. Consider the effect of multiplying of a tex2html_wrap_inline7051 matrix A by concrete permutation matrix P.
displaymath6761
Multiplying by the permutation matrix P on the left,, we obtain a new matrix, where the rows of initial the matrix are reordered exactly in the same way as the rows of the identity I are reordered for getteing P. Multiplying on the right,
displaymath6762
we obtain a new matrix, where the columns of the initial matrix are reordered in the same way as the columns of the identity I are reordered for getting P . It holds

Proposition 1.2.3. If tex2html_wrap_inline7067 and tex2html_wrap_inline7069 then there exists a permutation matrix tex2html_wrap_inline7047 such that all the principal minors of PA are nonzero, and consequently, there exists the LU factorization
displaymath6763

Example 1.2.8.* Let
displaymath6764
Find for a certain permutation matrix tex2html_wrap_inline7077 the LU factorization of PA.
Interchange the first and second rows of A, i.e., choose
displaymath6765
and find for the matrix
displaymath6766
the Gauss matrix
displaymath6767
Thus,
displaymath6768
and
displaymath6769
and
displaymath6770
Consequently,
displaymath6771
and

displaymath6772

Exercise 1.2.3.* Find for a certain permutation matrix P the LU factorization of PA if
displaymath6773


next up previous