Section 10 triangular decomposition of Matrices
1. matrix form of Gauss Elimination Method
N-element Linear Equations
Set, set the k-order primary sub-type of A to, if, you can
And construct the Frobenius matrix.
Computing available
This elementary transformation does not change the determinant. Therefore, if so, it can be defined again.
And construct the Frobenius matrix.
And so on, go to step (r-1) to get
(R = 2, 3, n-1)
Then, the r-order primary-Child type of a can be defined and the Frobenius matrix can be constructed.
(R = 2, 3, n-1)
Until step (n-1), get
The metadata elimination process is completed.
The condition that the elimination method can proceed is (r = 1, 2, n-1)
Ii. LU decomposition and LDU Decomposition
Easy to find
Lower Triangle Matrix
If it is an upper triangle matrix
(L: lower U: upper L: left R: right)
The product of the lower Triangle Matrix and the upper triangle matrix, which is called LU decomposition or LR decomposition.
The two triangle equations can be reversed.
LU decomposition is not unique. Obviously, if D is an n-order diagonal array whose corner element is not zero, then
The following method can be used to completely determine the decomposition, that is, the requirements
- L is the bottom Triangle Matrix.
- U is the upper Triangle Matrix in units
- Divides A into LDU, where L and U are the lower triangle and the upper triangle moments respectively.
Array, and D is a diagonal ArrayD= Diag[], And (k = 1, 2 ,... N ),
.
The impulsive condition of the n-order non-singular matrix A with triangular decomposition of LU or LDU is the sequence primary and subtype of A (r =, n)
In fact, the conditions for n sequence masters to be completely non-zero are strict. Especially in numerical calculation, it may bring about a large computing error in an hour. Therefore, it is necessary to adopt the elimination method of selecting the principal component, which can be the column Principal Component (in ,,... In the left-side navigation pane ,,... Selects the modulo consumer as the new) all principal component (selects the modulo consumer as the new one in all ). In doing so, the theoretical basis is that for any reversible matrix A, there is A replacement matrix P, so that all the sequential primary and subformulas of PA are not zero.
Column principal element method: in a column of the Matrix, the modulo value setter is selected as the new corner element, and each element below the diagonal element is selected. For example, the first step is to find the largest coefficient before the first unknown, and use the equation where it is located as the first equation, that is, the two rows of the exchange matrix, and the free terms are transformed accordingly; when the second step is changed, find the largest one in the middle and continue with the first step.
Primary Row Element Method: In a row of the matrix, select the modulo value setter as the new corner element, and select each element after the diagonal element. Remember the order of unknown number transformation, and then restore it back. Therefore, more storage space is needed, which is not as convenient as column principal element method.
Full primary element method: If the element of a column is small or the element of a row is small, you can select the most diagonal element of the modulo value between columns in each row. Compared with the above two methods, the computing stability is better, the accuracy is higher, and the computing workload is increased.
Iii. Triangle Decomposition
1. Define that A has A unique LDU Decomposition
- If D and U are combined to get (), it is called the Doolittle decomposition of.
- If L and D are combined to get (), it is called the Crout decomposition of.
2. Algorithm
- Crout decomposition, Set
,
Derived from
①
②
③
④
⑤ Generally, for column k operations of A, there are
(6) operation on the k line of A and U,
Until the final result is displayed
Calculate the column first and then calculate the row
3. LU decomposition (Cholesky decomposition) of the ermi positive definite matrix)
Where G is the lower Triangle Matrix,
Theoretically, Cholesky has the advantage that the intermediate quantity can be controlled () and should be relatively stable. However, it is found in actual calculations that the problem of the Hilbert matrix is not as good as the full principal component method.
Job: p195 2, 3