Decomposition QR
In Linear algebra, the decomposition QR (also called, decomposition qu) of a matrix is a decomposition of the form
where is a orthogonal Matrice (), and a triangular Matrice higher.
There exist several methods to carry out this decomposition:
- the method of Householder where is obtained by successive products of elementary orthogonal matrices
- the method of Givens where is obtained by successive products of matrices of rotation planes
- the method of Schmidt
Method of Householder
That is to say X an arbitrary vector column of dimension m and length |α| (For reasons of stability of calculation, α must be sign first element of X and length being the sum of all the elements of X ). However, several versions seem to exist in connection with α, here, to you is presented the version of the English article. Others use the standard || ||2 rather than the length.
That is to say E 1 the vector (1,0,…, 0) T, and || || the Euclidian norm, let us define
is the matrix of Householder or elementary orthogonal matrix and
- .
We can use these properties to transform a matrix has dimension m * N in a higher triangular matrix. First of all, one multiplies has by the matrix of Householder Q 1 while having taken the care to choose for X the first column of has . The result is a matrix QA with zeros in the first column except first element which will be worth α.
This must be reiterated for A' which will be multiplied by Q'2 (Q'2 is smaller than Q 1). If however, you would wish to use Q 1 has rather than A', you must fill the matrix with Householder with 1 in the left higher corner:
After iterations, ,
Example
Let us calculate decomposition QR of
One thus chooses the vector . There is thus . What leads us to write .
Calculation us ammene with and . The first matrix of Householder is worth
Let us observe that:
To reiterate the process, one takes under principal matrix
Finally, one obtains
Cost and advantages
The cost of this method for a matrix n*n is in: This cost is relatively high (the method of Cholesky, for the positive definite symmetrical matrices is in ). However, the method of Householder has the considerable advantage to be much more stable numerically, by limiting divisions by small numbers. The method of Givens, in spite of a cost still higher than this one, will offer still more stability.
See too
- Method of Cholesky
- Decomposition LU
| Random links: | Gold mount (cheese) | Samurai Éditions | Elimäki | William Birdwood | David Fiegen | Wes_Linster |