next up previous contents index
Next: Unreduced Hessenberg-like matrices Up: Theoretical results for -algorithms Previous: Theoretical results for -algorithms   Contents   Index


The $ QR$-factorization of Hessenberg-like plus diagonal matrices

Before $ QR$-algorithms can be introduced it is important to retrieve more information about the $ QR$-factorization of Hessenberg-like plus diagonal matrices. We consider the class of Hessenberg-like plus diagonal matrices instead of the Hessenberg/like class, because we will deduce implicit $ QR$-algorithms with a shift.

The $ QR$-factorization we will propose here, is based on the $ QR$-factorization of semiseparable plus diagonal matrices as described in [178]. First we will explain the algorithm for computing the $ QR$-factorization of Hessenberg-like matrices. Then we will specify in more detail the $ QR$-factorization of Hessenberg-like plus diagonal matrices. The computation of the $ QR$-factorization of a Hessenberg-like matrix $ Z$ is straightforward. Due to the structure of the matrix involved, an application of $ n-1$ Givens rotations, $ G_i^T, i=1,\ldots,n-1,$ applied from bottom to top ($ G_1^T $ acts on the last two rows of the matrix, annihilating all the elements in the last row of $ Z$ below the main diagonal, $ G_2^T $ acts on the rows $ n-2$ and $ n-1$ of $ G_1^T Z$, annihilating all the elements in row $ n-1$ below the main diagonal, $ G_{n-1}^T$ acts on the first two rows of $ G_{n-2}^T \cdots G_1^TZ
$, annihilating the element in position $ (2,1)$) will reduce the Hessenberg-like matrix $ Z$ into an upper triangular matrix $ \tilde{R}$:

$\displaystyle G_{n-1}^T \ldots G_2^T G_1^T Z= \tilde{R}.$    

Note 3   These Givens transformations are the transpose of the Givens transformations stored in the Givens-vector representation of the Hessenberg-like matrix.

Let us now calculate the $ QR$-factorization of a Hessenberg-like plus diagonal matrix: $ Z+D$. The $ Q$ factor of this reduction consists of $ 2n-2$ Givens transformations. The first $ n-1$ Givens transformations are performed on the rows of the Hessenberg-like matrix from bottom to top. These Givens transformations are exactly the same as the ones described in the previous paragraph. These Givens transformations transform the Hessenberg-like matrix into an upper triangular matrix. When taking into consideration the diagonal, one can see that these $ n-1$ Givens transformations, transform the diagonal part into a Hessenberg matrix.

$\displaystyle G_{n-1}^T \ldots G_2^T G_1^T (Z+D) = \tilde{R} + \tilde{H} =H.$    

Recombining the upper triangular matrix $ \tilde{R}$ and the Hessenberg matrix $ \tilde{H}$ gives another Hessenberg matrix $ H$. This matrix will then be made upper triangular by another $ n-1$ Givens transformations $ G_i^T, i=n,\ldots,2n-2,$ from top to bottom.
$\displaystyle {G_{2n-2}^T \ldots G_2^T G_1^T (Z+D)}$
  $\displaystyle =$ $\displaystyle G_{2n-2}^T \ldots G_{n}^T \left( \tilde{R} + \tilde{H} \right)$  
  $\displaystyle =$ $\displaystyle R.$  

Note 4   If the Givens transformation is not uniquely determined, this means that the Givens transformation has to be calculated based on the vector $ (0,0)^T$, then we choose the Givens transformation equal to the identity matrix.

When applying this technique to a semiseparable plus diagonal matrix, more general theorems concerning the structure, e.g., the structure of $ R$, can be derived. These theorems can be found in [178]. In Chapter 9, an order $ O(n)$ algorithm will be derived for implementing the $ QR$-factorization of semiseparable plus diagonal matrices. Moreover this will be used to solve systems of equations with the coefficient matrix of semiseparable plus diagonal form. For the purpose of this chapter no more information concerning the structure of the $ R$ and $ Q$ factors is desired, only concerning the unicity of the $ QR$-factorization.


next up previous contents index
Next: Unreduced Hessenberg-like matrices Up: Theoretical results for -algorithms Previous: Theoretical results for -algorithms   Contents   Index
Raf Vandebril 2004-05-03