QZ algorithm

from Wikipedia, the free encyclopedia

The QZ algorithm is a numerical method for solving the generalized eigenvalue problem .

, with resp.

The generalized eigenvalue problem is equivalent to the eigenvalue problem , where and must be invertible. However, it is not explicitly the matrix calculated to the condition of the problem not to degrade, but and simultaneously by similarity transformations ( Givens rotations and Householder reflections ) in generalized Schur form brought.

A matrix tuft is given . We are looking for orthogonal matrices and , so that is of generalized Schur form , i.e. H. is of quasi-upper triangular shape and is of upper triangular shape. In the case is always of the upper triangular shape. The eigenvalues and the subspaces of the matrix cluster from and invariant can then be determined from the generalized Schurform .

Pre-transformation

The aim of this step is to bring the matrix to the upper Hessenberg shape and the matrix to the upper triangular shape by means of orthogonal transformations . By Householder reflections from left is transformed to upper triangular form. Applying the same transformations simultaneously on, this results (illustrating an example of the size of (4,4)) .

If we now find a Givens rotation gives the applied from the left of A, the following matrix: . So you get for .

By using a Givens rotation from the right upper triangular shape can of be restored without destroying the zero on the left lower position of A: .

By creating zeros in columns in the same way, an upper Hessenberg matrix is ​​obtained :

  1. .

If -invariant subspaces are to be calculated, it is necessary that the product of the transformation matrices that from the left, respectively , and are applied in a matrix , and the product of the transformation matrices that are applied from the right in a matrix store.

QZ algorithm with implicit shifts

1.

2. while do

3. Determine all with . For this set .

4. Deflation : Find the minimum and the maximum with and define such that:, where and is of the upper Hessenberg form , of the unreduced upper Hessenberg form and of the quasi-upper triangular form.

5. Partition like , d. H. , where top are triangular matrices.

6. Bring into upper shear form : Find orthogonal such that in shear form and upper triangular matrix is.

If necessary: ​​update from and : , .

7. if :

if

Transform from the right using a Givens rotation to move the rank deficiency from to . Due to the cancellation of there is no longer an unreduced Hessenberg matrix, so it is increased and there is the possibility that the new partitioning is regular.

else

Make a implicit QZ-step of: .

end if

8. end if

Choice of shifts

9. Determine shifts as eigenvalues of

10. Determine

The implicit QZ step

11. Find orthogonal with

For now follows .

The aim is now to restore the triangular shape from the right by means of orthogonal transformations (Householder reflections):

12. Find orthogonal with . Then find orthogonal such that

.

For now we have: . Ie, the Hessenberg structure of is destroyed by an undesirable 2x2 "hump".

13. This hump can be eliminated from the left by elementary, orthogonal transformations (e.g. Householder reflections). So find orthogonal , with

. The vectors and are transformed one after the other .

However, applying the transformation to from the left yields

, d. H. a hump has now been created one position lower along the diagonal.

14. Repeat steps 11-13 until there is again the upper Hessenberg and the upper triangular structure again. Similar to the QR algorithm, this process is also known as "hump chasing" or "bulge chasing". The elimination of a hump in at the diagonal position j with transformations from the left leads to a hump at the corresponding position in . If this hump is eliminated with transformations from the right, this leads to a hump in at the diagonal position j + 1 etc.

15. After taking steps, the goal is achieved and it results . Analogously one obtains

.

If -invariant subspaces are required, it is necessary the matrices and aufzudatieren: ,

16. end while

Determination of the eigenvalues

In most cases the QZ algorithm converges to its generalized, real Schur form. For scalar diagonal blocks in A applies and if . If there is one for which is, so is . Diagonal blocks of refer (analogous to the QR algorithm) to pairs of complex conjugate eigenvalues .

literature

  • Gene H. Golub, Charles F. Van Loan: Matrix Computations. Johns Hopkins University Press, 1996, ISBN 0-8018-5414-8 .
  • GW Stewart: Matrix Algorithms. Volume II: Eigensystem. SIAM 2001, ISBN 0-89871-503-2 .