next up previous contents index
Next: Proof of the correctness Up: An implicit -algorithm for Previous: The shift   Contents   Index


An implicit $ QR$-step on a symmetric semiseparable matrix

The first $ n-1$ Givens transformations are in fact completely determined by the semiseparable matrix. To perform these transformations, the shift $ \kappa $ is not yet needed. When applying these Givens transformations to the left of the semiseparable matrix $ S^{(0)}=S$, this matrix becomes upper triangular:

$\displaystyle G^T_{n-1}\ldots G^T_1 S= R. $

Directly applying the Givens transformations $ G_1 \ldots
G_n$ on the right of the matrix $ R$, will construct a matrix $ R G_1 \ldots G_{n-1}$ whose lower triangular part is semiseparable. Because of symmetry reasons the resulting matrix $ R G_1 \ldots G_{n-1}$ is a symmetric semiseparable matrix. It can be seen that the application of the different Givens transformations can be done at the same time, i.e. instead of first applying all the transformations on the left, we apply them to left and to right at the same time. More details about this step can be found in the next chapter. There the implementation of the algorithm will be described, and there one can clearly see the behavior of the algorithm as explained above (Chapter 9, Section 9.2):

$\displaystyle S^{(1)}=G^T_1 S^{(0)} G_1$

followed by

$\displaystyle S^{(2)}=G^T_2 S^{(1)} G_2$

and so on.

As stated before, this step corresponds to applying a $ QR$-step without shift to the semiseparable matrix.

The application of the second sequence of Givens transformations is the hardest step of the two and requires some theoretical results. To initialize this step the knowledge of the Givens transformation $ G^T_n$ is crucial. $ G^T_n$ is the Givens transformation which will start to reduce the Hessenberg matrix $ G^T_{n-1} \ldots G^T_1 (S-\kappa I)$ to upper triangular form. The algorithm however did not calculate $ G^T_{n-1} \ldots G^T_1 (S-\kappa I)$ but a semiseparable matrix $ S^{(n-1)}=G^T_{n-1}\ldots G^T_1 S G_1 \ldots G_{n-1}$. However, because we use the Givens-vector representation as mentioned in the first section, we know that the upper left element of the matrix $ G^T_{n-1} \ldots G^T_1 S$ is the first element in the vector $ d$ from the Givens vector representation of the matrix $ S$. It can be seen that the elements in the upper left positions $ (1,1)$ and $ (2,1)$ of the matrix $ G^T_{n-1} \ldots G^T_1 \kappa I $ equal

% latex2html id marker 37407
$\displaystyle G^T_{n-1} \left( \begin{array}{c}
\kappa \\
0
\end{array} \right).
$

This means that the Givens transformation $ G^T_n$ already can be applied to the matrix $ S^{(n-1)}$, i.e., $ S^{(n)}=G^T_nS^{(n-1)}G_n$. From this point we will work directly on the matrix $ S^{(n)}$ and therefore we switch to the implicit approach.

The matrix $ S^{(n-1)}$ was a semiseparable matrix and the output of one step of the implicit $ QR$-algorithm also has to be a semiseparable matrix. However after having applied the similarity transformation $ G^T_nS^{(n-1)}G_n$ the semiseparable structure is disturbed. The following sequence of Givens transformations which will be applied to the matrix $ S^{(n)}$ will restore the semiseparable structure. Even more: the resulting matrix will essentially be the same as the matrix coming from one step of the $ QR$-algorithm with shift $ \kappa $. We will show that it is possible to rebuild a semiseparable matrix out of $ S^{(n)}$ without changing the first row and column. To do so we use some kind of chasing technique, more information about general chasing techniques can be found in, e.g. [186,188]. To prove the two main theorems, two propositions are needed.

Proposition 71   Suppose the following symmetric $ 3\times 3$ matrix is given,

% latex2html id marker 37434
$\displaystyle A=\left( \begin{array}{ccc} x & a & d \\  a & b& e \\  d & e & f \\  \end{array} \right),$ (8.2)

which is not yet semiseparable. Then there exists a Givens transformation

% latex2html id marker 37436
$\displaystyle G=\left( \begin{array}{cc}
1 & 0\\
0 & \hat{G}
\end{array} \right)
\;$ with % latex2html id marker 37437
$\displaystyle \;\;
\hat{G}=\frac{1}{\sqrt{1+t^2}} \left( \begin{array}{cr}
t & -1 \\
1 & t
\end{array} \right)
$

such that the following matrix

$\displaystyle G^TAG$

is a symmetric semiseparable matrix.

Proof. We can assume that $ ae-bd$ is different from zero, otherwise, the matrix would already be semiseparable. The proof is constructive, i.e. the matrix $ G$ will be constructed such that the matrix $ G^TAG$ indeed is a semiseparable matrix. Calculating explicitly the product $ G^TAG$ gives the following matrix (with $ s=1+t^2$):

% latex2html id marker 37454
$\displaystyle \frac{1}{s}\left( \begin{array}{ccc}...
...  \sqrt{s}(-a+td) & (-b+te)t+(-e+tf) &(-1)(-b+te)+(-e+tf)t \end{array} \right).$    

When this matrix has to be semiseparable the determinant of the lower left $ 2$ by $ 2$ block has to be zero, i.e.

$\displaystyle \bigl(ta+d\bigr) \bigl((-b+te)t+(-e+tf)\bigr) - \bigl((tb+e)t+(te+f)\bigr)\bigl(-a+td\bigr)=0.$    

Solving this equation for $ t$ gives the following result:

$\displaystyle t=\frac{de-af}{ae-db},$    

which is properly defined because $ ae-db \neq 0$. $ \qedsymbol$

Proposition 72   Suppose the following symmetric $ 4\times 4$ matrix is given,

% latex2html id marker 37471
$\displaystyle A=\left( \begin{array}{cccc} x & a &...
... \\  a & b & 0 & e \\  0 & 0 & 0 & f \\  d & e & f & y \\  \end{array} \right),$ (8.3)

which is not yet semiseparable. Then there exists a Givens transformation

% latex2html id marker 37473
$\displaystyle G=\left( \begin{array}{ccrc}
1 & 0 & 0 \\
0 &\hat{G} & 0 \\
0 & 0 & 1
\end{array} \right)
\;$ with % latex2html id marker 37474
$\displaystyle \;\;
\hat{G}=\frac{1}{\sqrt{1+t^2}} \left( \begin{array}{cr}
t & -1 \\
1 & t
\end{array} \right)
$

such that the upper $ 3$ by $ 3$ block of the following matrix

$\displaystyle G^TAG$

is a symmetric semiseparable matrix. And the lower left two by two block is of rank one.

Proof. The proof is straightforward. Calculating the product $ G^TAG$, shows that the block

% latex2html id marker 37487
$\displaystyle \left( \begin{array}{cc} -a & -tb \\  d & te+f \\  \end{array} \right)$    

has to be of rank $ 1$. This corresponds with $ t=-af/(ae-bd)$. Where $ (ae-bd)$ is different from zero because the matrix is not yet semiseparable. $ \qedsymbol$

One might wonder how both these theorems can be used for larger matrices. This is shown in the following theorem:

Theorem 73   Suppose an unreduced symmetric semiseparable matrix $ S$ is given. On this matrix a similarity Givens transformation $ \tilde{G}$ is performed, involving the first two columns and rows:

$\displaystyle \tilde{S} = \tilde{G}^T S \tilde{G}.$    

Then there exists a Givens transformation $ G$:

% latex2html id marker 37504
$\displaystyle G=\left( \begin{array}{ccrc}
1 & 0 & 0 \\
0 &\hat{G} & 0 \\
0 & 0 & 1
\end{array} \right)
\;$ with % latex2html id marker 37505
$\displaystyle \;\;
\hat{G}=\frac{1}{\sqrt{1+t^2}} \left( \begin{array}{cr}
t & -1 \\
1 & t
\end{array} \right)
$

such that the upperleft $ 3$ by $ 3$ block of the matrix $ G^T \tilde{S} G$ is semiseparable, and the first two columns are dependent, except for the first element.

Proof. The proof is divided in different cases, thereby using both of the above propositions. Assume the Givens transformation $ \tilde{G}$ to be different from the identity matrix, otherwise we take $ G$ equal to the identity matrix.
Case 1
Suppose the upper left $ 3\times 3$ submatrix $ \tilde{S}$ is the same as in equation (8.2). In this case Proposition 71 is applied.
Case 2
Suppose the upper left $ 4\times 4$ submatrix $ \tilde{S}$ is the same as in equation (8.3). In this case Proposition 72 is applied.
The only thing which remains to prove is that these are the only two possible cases which will occur. Suppose the upper left $ 3\times 3$ block of $ \tilde{S}$ is of the following form:

% latex2html id marker 37536
$\displaystyle \left( \begin{array}{ccc} x & a & d \\  a & b & e \\  d & e & f \end{array} \right).$ (8.4)

It is obvious that the $ a$ or $ b$ has to be different from zero, otherwise the matrix $ S$ would not have been in unreduced form, because the upper left $ 2\times 2$ block would have been of rank $ 1$. If $ d$ and/or $ e$ is different from zero a, not so easy, calculation reveals that $ ae \neq bd$. This is the case because, if we assume that $ ae = bd$, the original matrix $ S=\tilde{G}\tilde{S}\tilde{G}^T$ has the first two columns of rank $ 1$, which is in contradiction with the unreducedness. This means that we are in case 1.

Suppose the matrix $ \tilde{S}$ has the upper left $ 4\times 4$ block of the following form: (This corresponds to $ d=e=0$ in equation (8.4))

% latex2html id marker 37566
$\displaystyle \left( \begin{array}{cccc} x & a & 0...
... \\  a & b & 0 & e \\  0 & 0 & 0 & f \\  d & e & f & y \\  \end{array} \right).$    

We will first prove that or $ d$ or $ e$ has to be different from zero. Assume now, $ d=e=0$, and $ f\neq 0$. This would mean that the complete columns underneath $ e$ and $ d$ would be zero, because the original matrix $ S$ is semiseparable. This is in contradiction with the unreducedness of the original matrix $ S$, which can be written in this case as a block diagonal matrix. Suppose now $ d=e=f=0$, this would mean that we have the following upper $ 4$ by $ 4$ matrix:

% latex2html id marker 37590
$\displaystyle \left( \begin{array}{cccc} x & a & 0...
... \\  a & b & 0 & 0 \\  0 & 0 & 0 & 0 \\  0 & 0 & 0 & y \\  \end{array} \right).$    

For this matrix the element in position $ (3,4)$ can be included in the semiseparable structure of the original matrix $ S$, this is in contradiction with the unreducedness assumption.

We know now, that $ d$ and/or $ e$ is different from zero and we can again assume that $ ae \neq bd$. This means that we are in case $ 2$ of the theorem.

$ \qedsymbol$

Now we are ready to reduce a semiseparable matrix which is disturbed in the upper left two by two block, back to semiseparable form.

Theorem 74   Suppose we have an $ n$ by $ n$ unreduced symmetric semiseparable matrix $ S$, which will be disturbed in the first two rows and columns by means of a similarity Givens transformation $ G$. Then there exists an orthogonal transformation $ U$ with $ Ue_1=e_1$ such that $ U^TG^TSGU$ is again a symmetric semiseparable matrix.

Proof. In this theorem a $ 5$ by $ 5$ matrix is considered, and we will use the special Givens transformation from Theorem 73. Some more notation is needed to simplify the construction of $ U$: Denote with $ G^{(i)}$ the orthogonal transformation which performs a Givens transformation on the columns $ i$ and $ i+1$ of the matrix $ S$. To prove that the algorithm gives the desired result, several figures are included. Starting with the matrix $ S$ each figure shows all the dependencies in the matrix. In the following figures, the blocks grouped by the full lines represent semiseparable parts in the matrix, and the elements grouped by the dashed lines represent rank 1 parts. These rank 1 parts are very important for the progress of the algorithm. The arrows point out the rows and columns on which we performe the Givens transformations to come to the desired result. The first figure (Figure 8.1), shows what happens with the matrix $ S$ after the disturbing Givens transformation is applied.

Figure 8.1: Applying the Givens transformation which disturbs the semiseparable structure.
\includegraphics[scale=0.3]{figs/qr1}

The following step consists of calculating the Givens transformation from Theorem 73. For case 1 of the theorem, Proposition 71 is used and more explanation is needed how we get to the structured matrix on the right in Figure 8.3. For case 2 of Theorem 73, we can skip the following comments, and we immediately arrive at the matrix on the right of Figure 8.3.

When applying the Givens transformation of the first kind, we take a closer look to see how the dependencies will change. First we apply the transformation $ {G^{(2)}}^T$ only on the left of the matrix, to see how the dependencies will change (see Figure 8.2). There are now two rank 1 parts, the small $ 2$ by $ 2$ matrix and the larger $ 3$ by $ 3$ matrix. The small block has to be of rank 1 because the next Givens transformation $ G^{(2)}$ applied to the right will not change the rank of this block, and after this Givens transformation that block is part of the semiseparable matrix, and therefore of rank $ 1$. The $ 3$ by $ 3$ block remains of rank $ 1$ after the Givens transformation is performed. This means that after applying the Givens transformation on the left we have a $ 2$ by $ 4$ matrix of rank 1 (see Figure 8.3), because the first three elements of column $ 3$ of the matrices in Figure 8.3 are not all equal to zero. If they were all zero, we would have been in case 2 of Theorem 73.

Figure 8.2: Applying the transformation $ {G^{(2)}}^T$ to the left.
\includegraphics[scale=0.3]{figs/qr2}

Applying the transformation $ G^{(2)}$ to the right of the matrix, gives the matrix $ S^{(2)}={G^{(2)}}^T S (G^{(2)})$ which, because of symmetry reasons has the following structure:

Figure 8.3: Applying the transformation $ G^{(2)}$ to the right
\includegraphics[scale=0.3]{figs/qr3}

The figure shows that the upper semiseparable part has increased, while the lower semiseparable part is reduced in dimension. Very important are the remaining rank 1 parts. The remaining dependency in these blocks make sure that the next Givens transformation indeed create a semiseparable matrix of dimension $ 4$. The next Givens transformation $ G^{(3)}$ is calculated by using Theorem 73 applied to the matrix $ S^{(2)}$ without the first row and column. Applying the transformation $ G^{(3)}$, this means calculating $ S^{(3)}={G^{(3)}}^T S (G^{(3)})$, will create a semiseparable block in the middle of the matrix. However because of the rank 1 parts, the complete upper left $ 4$ by $ 4$ block will become dependent. This is shown in the following Figure 8.4:

Figure 8.4: Applying the similarity transformation $ G^{(3)}$
\includegraphics[scale=0.3]{figs/qr4}

Before performing the final Givens transformation, one can also search the rank 1 blocks such that the last Givens transformation will transform the matrix into a complete semiseparable one.

Even though we proved the theorem here for a semiseparable matrix of dimension $ 5$, one can easily see that the statements remain true, also for higher dimensions of the matrices. $ \qedsymbol$

This final theorem produces an algorithm to transform the semiseparable matrix with a disturbance in the upper left part back to an orthogonal similar semiseparable matrix. In the next subsection it will be proven that the constructed semiseparable matrix will be essentially the same as the semiseparable matrix coming directly from the $ QR$-algorithm.


next up previous contents index
Next: Proof of the correctness Up: An implicit -algorithm for Previous: The shift   Contents   Index
Raf Vandebril 2004-05-03