Restoring the structure

We have a Hessenberg-like plus diagonal matrix $ Z+D$, in which $ D=\diag ([d_1,d_2,\ldots,d_{n}])$. We know that after a step of the $ QH$-method our resulting matrix will be a Hessenberg-like plus diagonal matrix $ \hat{Z}+\hat{D}$ in which $ \hat{D}=\diag ([d_2,d_3,\ldots,d_n,\beta])$. Assume in the following graphical schemes that all transformations are well-defined. After the global flow of the algorithm, we will come back, in the next section to some specific cases.

After having computed the initial disturbing Givens transformation, we will apply this transformation onto the matrix $ Z+D$. Before being able to perform the first transformation we need to rewrite our matrix $ Z+D=Z_1+D_1$, in which $ Z_1$ is again a Hessenberg-like matrix, differing from $ Z$ only in the upper left element, and the diagonal equals $ D_1=\diag ([d_2,d_2,d_3,\ldots, d_n])$. Applying the similarity transformation gives us $ \check{G}_1^H(Z_1+D_1)\check{G}_1=\check{G}_1^HZ_1\check{G}_1+D_1$. The diagonal $ D_1$ does not change, because the Givens transformation acts on the first two rows and columns, and the diagonal elements in these positions are both equal to $ d_2$. Our matrix $ Z_1$ can be represented as in Scheme 7. After applying the disturbing transformation, this scheme will also be disturbed. Then we will try to obtain again Scheme 7 by applying similarity transformations, not involving the first column and row of the matrix anymore.

In the following figures, we will not show the diagonal, but only the effect of the similarity transformation $ \check{G}_1$ acting on the matrix $ Z_1$. For simplicity reasons we assume our matrix to be of size $ 5\times
5$. Let us name $ \tilde{Z}_2=\check{G}_1^HZ_1\check{G}_1$.

\begin{displaymath}
% latex2html id marker 8918
\begin{array}{c\vert ccccccccccc...
...&&&\times\\ [-0.05cm] \hline & 6 & 5 & 4 & 3 & 2& 1 \end{array}\end{displaymath}    

The transformation $ \check{G}_1$ applied to the right creates the bulge, marked with $ \otimes$, whereas the Givens transformation $ \check{G}_1^H$ applied to the left can be found in position $ 5$. The bulge marked with $ \otimes$ can be annihilated by a Givens transformation as depicted above.

In the following figure, we have combined the Givens transformations in position $ 1$ and $ 2$, by a fusion. We have moved the transformation from position $ 6$ to position $ 3$ and we depicted where to apply the shift-through lemma. The right figure shows the result after having applied the shift-through lemma and after having created the bulge, marked with $ \otimes$.

\begin{displaymath}
% latex2html id marker 8940
\begin{array}{c\vert ccccccccccc...
...& & & &&&&&\times\\ [-0.05cm] \hline & 4 & 3 & 2& 1 \end{array}\end{displaymath}    

We remark once more that the above rearrangements of the Givens transformations did not affect the diagonal matrix $ D_1$. To continue now we do need to incorporate again the diagonal matrix $ D$.

The next similarity Givens transformation we will perform will act on columns and rows $ 2$ and $ 3$. To perform the procedure correctly, we will first transform our diagonal matrix from $ D_1=\diag ([d_2,d_2,d_3,\ldots, d_n])$ to $ D_2=\diag ([d_2,d_3,d_3,\ldots,d_n])$. This change in the diagonal $ \tilde{D}_2$ with $ D_1=D_2+\tilde{D}_2$, and $ \tilde{D}_2=\diag ([0,d_2-d_3,0,\ldots,0])$ needs to be incorporated in the scheme above, in the rightmost figure, namely matrix $ \tilde{Z}_2$. To incorporate the matrix $ \tilde{D}_2$ into $ \tilde{Z}_2$, we use the factorization of the matrix $ \tilde{Z}_2=U_2S_2$ depicted in the rightmost scheme above, where $ U_2$ depicts the combination of the Givens transformations in positions $ 1$ to $ 4$ and $ S_2$ is the upper triangular matrix with the bulge on the right. We obtain that the matrix $ \tilde{D}_2=U_2U_2^H \tilde{D}_2=U_2(U_2^H \tilde{D}_2)$ equals the following scheme. The Givens transformations in the positions $ 1$ to $ 4$ coincide with $ U_2$ and the sparse matrix on the right equals $ (U_2^H \tilde{D}_2)$.

\begin{displaymath}
% latex2html id marker 8986
\begin{array}{c\vert ccccccccccc...
...}}}& & & & &&&&&0\\ [-0.05cm] \hline & 4 & 3 & 2& 1 \end{array}\end{displaymath}    

Rewriting all of this into formulas we obtain:

$\displaystyle \check{G}_1^H(Z_1+D_1)\check{G}_1$ $\displaystyle =$ $\displaystyle \check{G}_1^HZ_1\check{G}_1+D_1$  
  $\displaystyle =$ $\displaystyle \tilde{Z}_2 +D_1$  
  $\displaystyle =$ $\displaystyle \tilde{Z}_2 + \tilde{D}_2 + D_2$  
  $\displaystyle =$ $\displaystyle U_2 S_2 + U_2(U_2^H\tilde{D}_2) + D_2$  
  $\displaystyle =$ $\displaystyle U_2(S_2 + U_2^H\tilde{D}_2) + D_2$  
  $\displaystyle =$ $\displaystyle Z_2 + D_2$  

Important now is the fact the matrices $ \tilde{Z}_2$ and $ Z_2$ are factored by the same matrix $ U_2$ and moreover that they have the bulge in exactly the same position. Hence we can proceed with a similar scheme as above, where we assume now to be working with the matrix $ Z_2$ instead of $ \tilde{Z}_2$, namely

\begin{displaymath}
% latex2html id marker 9025
\begin{array}{c\vert ccccccccccc...
...& & & &&&&&\times\\ [-0.05cm] \hline & 4 & 3 & 2& 1 \end{array}\end{displaymath}    

Remark that the scheme looks similar, but few elements, including the bulge have changed now.

To continue the implicit procedure, we want to remove the bulge in position $ (3,2)$. In order to do so, we choose a Givens transformation $ \check{G}_2$ acting on column $ 2$ and $ 3$, which will remove the bulge. Performing this Givens transformation as a similarity transformation onto the matrix $ Z_2+D_2$ we obtain:

$\displaystyle \check{G}_2^H(Z_2+D_2) \check{G}_2$ $\displaystyle =$ $\displaystyle \check{G}_2^H Z_2 \check{G}_2+D_2$  
  $\displaystyle =$ $\displaystyle \tilde{Z}_3 +D_2$  

The diagonal remains unchanged as the diagonal elements on the second and third position are equal to each other.

The similarity transformation onto $ Z_2$ is schematically depicted as follows:

\begin{displaymath}
% latex2html id marker 9050
\begin{array}{c\vert ccccccccccc...
...& & &&&&&\times\\ [-0.05cm] \hline & & 4 & 3 & 2& 1 \end{array}\end{displaymath}    

We see that we have created now a new bulge in position $ (4,3)$. A similar technique can now be applied to change the diagonal $ D_2$ to $ D_3$ and to transform $ \tilde{Z}_3$ into $ Z_3$. Since the upper triangular part of the involved matrices is dense, such a chasing step involves $ \mathcal{O}(n)$ operations, leading to a global complexity of $ \mathcal{O}(n^2)$.

We will show only the final step. Assume we have our matrix $ Z_4$, being of the following form.

\begin{displaymath}
% latex2html id marker 9068
\begin{array}{c\vert ccccccccccc...
...&\otimes&\times\\ [-0.05cm] \hline & & 4 & 3 & 2& 1 \end{array}\end{displaymath}    

Again we choose the similarity Givens transformation $ \check{G}_4$ to annihilate the element in position $ (5,4)$. Applying this transformation results in the lower left figure. Instead of applying now the shift-through lemma we only need to combine the Givens transformations in position $ 4$ and $ 5$, resulting in a Hessenberg-like matrix as we wanted. Moreover, we immediately have the new representation of this Hessenberg-like matrix and therefore we can immediately perform a new step of the iteration.

\begin{displaymath}
% latex2html id marker 9078
\begin{array}{c\vert ccccccccccc...
... & &&&&&\times\\ [-0.05cm] \hline &5 & 4 & 3 & 2& 1 \end{array}\end{displaymath}    

The resulting diagonal $ D_5=\diag ([d_2,d_3,\ldots,d_n,\beta])$, in which $ \beta$ is a freely chosen element.

Raphael Vandebril 2007-12-10