4.1 KB · commit a9602da
Let A=a11a21⋯an1a12a22⋯an2⋯⋯⋯⋯a1na2n⋯ann be a nonsingular square matrix. Then A can be factorized into the form LU, where
L=1l21⋯ln101⋯ln200⋯⋯⋯⋯⋯⋯00⋯1andU=u110⋯0u12u22⋯0⋯⋯⋯⋯u1nu2n⋯unn, if a11=0,a11a21a12a22=0,a11a21a31a12a22a32a13a23a33=0,and so on.
It is a standard result of linear algebra that such a factorization, when it exists, is unique. Similarly, the factorization LU where L=l11l21⋯ln10l22⋯ln2⋯0⋯ln3⋯⋯⋯⋯00⋯lnnandU=100010⋯⋯⋯0u2n1 is also a unique factorization. We outline below the procedure for finding L and U with a square matrix of order 3.
Let A=a11a21a31a12a22a32a13a23a33=1l21l3101l32001u1100u12u220u13u23u33(7.2)
Multiplying the matrices on the right side of Eq. (7.2) and equating the corresponding elements of both sides, we get
u11l21u11l31u11=a11,=a21,=a31,u12l21u12+u22l31u12+l32u22=a12,=a22,=a32,u13l21u13+u23l31u13+l32u23+u33=a13,=a23,=a33⎭⎬⎫(7.3)From the above equations, we obtain
l21u22l32=a11a21,=a22−a11a21a12,=u22a32−a11a31a12,l31u23=a11a31,=a23−a11a21a13,⎭⎬⎫(7.4)from which u33 can be computed.
The given procedure is a systematic one to evaluate the elements of L and U (where L is unit lower triangular and U upper triangular). First, we determine the first row of U and the first column of L, then we determine the second row of U and the second column of L, and finally, we compute the third row of U. It is obvious that this procedure can be generalized. When the factorization is complete, the inverse of A can be computed from formula (7.1).