next up previous
Next: Proof of the correctness Up: An implicit algorithm for Previous: Applying the first Givens

Applying the second $ n-1$ Givens transformations

This step is the hardest of the two and requires some theoretical results. To initialize this step the knowledge of the Givens transformation $ G_n$ is crucial. $ G_n$ is the Givens transformation which will start to reduce the upper Hessenberg matrix $ G_{n-1} \ldots
G_1 (S-\kappa I)$ to upper triangular form. The algorithm however did not calculate $ G_{n-1} \ldots
G_1 (S-\kappa I)$ but a semiseparable matrix % latex2html id marker 3906
$ \S{n-1}=G_{n-1}\ldots G_1 S G_1^T \ldots G_{n-1}^T$. Because however we use the special matrix representation as mentioned in the first section, we know that the upper left element of the matrix $ G_{n-1} \ldots G_1 S$ is the first element in the vector $ d$ from the 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_{n-1}
\ldots G_1 \kappa I $ equal

% latex2html id marker 3920
$\displaystyle G_{n-1} \left(\begin{array}{c}
\kappa \\
0
\end{array}\right)
$

This means that the Givens transformation $ G_n$ already can be applied to the matrix % latex2html id marker 3924
$ \S{n-1}$, i.e., % latex2html id marker 3926
$ \S{n}=G_n\S{n-1}G_n^T$. From this point we will work directly on the matrix % latex2html id marker 3928
$ \S{n}$ and therefore we switch to the implicit approach.

The matrix % latex2html id marker 3930
$ \S{n-1}$ is 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 % latex2html id marker 3934
$ G_n\S{n-1}G_n^T$ the semiseparable structure is disturbed. The following sequence of Givens transformations which will be applied to the matrix % latex2html id marker 3936
$ \S{n}$ will restore the semiseparable structure. Even more: the resulting matrix will essentially be the same as the matrix coming from the $ QR$ algorithm. We will show that it is possible to rebuild a semiseparable matrix out of % latex2html id marker 3940
$ \S{n}$ without changing the first row and column. The prove the two main Theorems, two properties are needed.

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

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

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

% latex2html id marker 3948
$\displaystyle G=\frac{1}{\sqrt{1+t^2}} \left(\begin{array}{ccc}
1 &0 &0\\
0 &t & 1 \\
0 & -1 & t
\end{array}\right)
$

such that the following matrix

$\displaystyle GAG^T$

is a symmetric semiseparable matrix.

Remark that diagonal matrices are also considered to be semiseparable according to Definition 2.

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 $ GAG^T$ indeed is a semiseparable matrix. Calculating explicitly the product $ GAG^T$ gives the following matrix:

% latex2html id marker 3960
$\displaystyle \frac{1}{1+t^2}\left(\begin{array}{cc...
...+(te+f)t \\  -a+td & (-b+te)t+(-e+tf) &(-1)(-b+te)+(-e+tf)t \end{array}\right).$    

To be semiseparable, the lower left $ 2 \times 2$ block has to be of rank 1, this means that the following equation should be satisfied:

$\displaystyle \frac{ta+d}{-a+td}=\frac{(tb+e)t+(te+f)}{(-b+te)t+(-e+tf) }$    

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

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

$ \blacksquare$

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

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

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

% latex2html id marker 3978
$\displaystyle G=\frac{1}{\sqrt{1+t^2}} \left(\begin...
...& 0\\
0 &t & 1 & 0 \\
0 & -1 & t & 0 \\
0 & 0 & 0 & 1
\end{array}\right)
$

such that the upper $ 3\times 3$ block of the following matrix

$\displaystyle GAG^T$

is a symmetric semiseparable matrix. And the lower left $ 2 \times 2$ block is of rank one.

PROOF: The proof is straightforward, calculating the product $ GAG^T$, shows that the block

% latex2html id marker 3988
$\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)$. $ (ae-bd)$ is different from zero because the matrix is not yet semiseparable. $ \blacksquare$

One might wonder how both these theorems can be used for larger matrices, this is proven in the following theorem:

Theorem 3.3   Suppose a symmetric nonsingular matrix $ A$ is given, such that the upper left $ 2 \times 2$ block of the matrix does not satisfy the semiseparable structure of the remaing part of the matrix.

Then there exists a Givens transformation $ G$:

% latex2html id marker 4006
$\displaystyle G=\frac{1}{\sqrt{1+t^2}} \left(\begin...
...\
0 & 0 & 0 & 1 & \\
\vdots & \vdots & \vdots & & \ddots
\end{array}\right)$

such that the upperleft $ 3\times 3$ block of the matrix $ GAG^T$ 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.

Case 1
Suppose the matrix $ A$ is the same as in equation 11, with $ d$ and $ e$ different from zero. In this case Proposition 3.2 is applied.
Case 2
Suppose the matrix $ A$ is the same as in equation 12. It is clear that $ d$, $ e$ and $ f$ have to be different from zero, otherwise there are contradictions with the facts that the matrix is semiseparable below the upper left $ 2 \times 2$ block or the fact that the matrix is nonsingular or the fact that the matrix is not yet semiseparable. For example assume $ f=0$ and $ d$ and $ e$ different from zero. Because the complete lower part is semiseparable, the rank 1 assumption assumes that the complete columns in which $ f$ appears is zero. This is in contradiction with the fact the the matrix is nonsingular. Or another example, assume all $ d,e,f$ equal to zero, this means that row $ 3$ and row $ 4$ are dependent, what is in contradiction with the nonsingularity assumption.

In this case Proposition 3.3 is used.

$ \blacksquare$

Now we are ready to reduce a semiseparable matrix which is disturbed in the upper left $ 2 \times 2$ block, back to semiseparable form.

Theorem 3.4   Suppose we have an $ n \times n$ nonsingular symmetric semiseparable matrix $ A$, representable with two generators, 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 $ UGAG^TU^T$ is again a symmetric semiseparable matrix.

PROOF: In this theorem a $ 5 \times 5$ matrix is considered, and we will use the special Givens transformation from Theorem 3.3. Some more notation is needed to make the construction of $ U$ more easy: Denote with $ G^{(i)}$ the orthogonal transformation which performs a Givens transformation on the rows $ i$ and $ i+1$ of the matrix $ A$. To prove that the algorithm gives the desired result, several figures are included. Starting with the matrix $ A$ each figure shows all the dependencies in the matrix. In the following figure, 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 there will be performed the Givens transformations to come to the desired result. The first figure, shows what happens with the matrix $ A$ after the disturbing Givens transformation is applied.

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

The following step consists of calculating the Givens transformation from Theorem 3.3. For case 1 of the theorem, Proposition 3.2 is used and a little explanation is needed why we get Figure 4. For case 2, we can skip the following comments, and we immediately arrive at Figure 4.

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)}$ only to the left of the matrix, to see how the dependencies will change. (See Figure 2.) There are now two rank 1 parts, the small $ 2 \times 2$ matrix and the larger $ 3\times 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\times 3$ block is of rank 1 because the transformation involved the large $ 3\times 3$ rank 1 block of the preceding matrix. This means that after applying the Givens transformation to the left we have a $ 2 \times 4$ matrix of rank 1 (See Figure 3).

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

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

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

The figure shows clearly 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 will make sure that the next Givens transformation will indeed create a semiseparable matrix of dimension $ 4$. The next Givens transformation $ G^{(3)}$ is calculated by using Theorem 3.3 applied to the matrix $ A^{(2)}$ without the first row and column. Applying the transformation $ G^{(3)}$, this means calculating $ A^{(3)}=G^{(3)} A (G^{(3)})^T$ will create a semiseparable block in the middle of the matrix, however because of the rank 1 parts, the complete upper left $ 4\times 4$ block will become dependent. This is shown in Figure 4:

Figure 4: Applying the similarity transformation $ G^{(3)}$
\includegraphics[scale=0.3]{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 complete semiseparable one. $ \blacksquare$

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
Next: Proof of the correctness Up: An implicit algorithm for Previous: Applying the first Givens
Raf Vandebril 2004-04-19