next up previous
Next: The algorithm Up: An algorithm for computing Previous: Chasing the bulge

Proof of the correctness of an implicit $ QR$ step.

A brief recapitulization of the complete algorithm for performing one implicit $ QR$ step on the matrix $ S_u$ is given, and the correctness of this approach is proved.

A complete implicit $ QR$ step consists of the following 4 steps. Remark that we did not yet mention the final step 4. This step is an easy step, but however it is a necessary step as can be seen in the proof.

The remaining thing to prove is the connection between an implicit $ QR$ step on the upper triangular semiseparable matrix $ S_u$ and a $ QR$ step performed on the matrix % latex2html id marker 3593
$ \S =S_u^T S_u$. These two should be essentially the same. Assume a $ QR$ step is performed on the matrix $ S$. This can be written in the following form:

$\displaystyle Q_1^T S Q_1 = S_1.$ (4)

The implicit $ QR$ step performed on the matrix $ S_u$ can also be rewritten in terms of the matrix % latex2html id marker 3605
$ \S =S_u^T S_u$. This is achieved in the following way. (All the steps mentioned in the beginning of the section are now being applied to the matrix $ S_u$.) First the $ n-1$ Givens transformations are performed on the matrix $ S_u$, transforming the matrix into lower triangular semiseparable form. In the following equations, all the transformations performed on the matrix $ S_u$ are fitted in the equation % latex2html id marker 3615
$ \S =S_u^T S_u$ to see what happens with the matrix % latex2html id marker 3617
$ \S $.

% latex2html id marker 3619
$\displaystyle G_{n-1}^T\cdots G_1^T\S G_1\cdots G_{n-1} =\left(G_{n-1}^T\cdots
G_1^TS_u^T\right)\left(S_uG_1\cdots G_{n-1}\right).$

This leads to the following equation:

% latex2html id marker 3621
$\displaystyle G_{n-1}^T\cdots G_1^T\S G_1\cdots G_{n-1} =(S_l{^{(0)}})^T S_l{^{(0)}}.$

One more Givens transformation $ G_n$ will now be applied, and this will create a bulge in the matrix $ S_l$.

% latex2html id marker 3627
$\displaystyle G_n^T G_{n-1}^T\cdots G_1^T\S G_1\cdots G_{n-1} G_n=G_n^T (S_l{^{(0)}})^T S_l{^{(0)}} G_n.$

There exist now a $ U$ and $ V$ with $ Ve_1=e_1$ such that $ U S_l{^{(0)}} G_n V^T$ is again a lower triangular semiseparable matrix. This leads to the equation:

% latex2html id marker 3637
$\displaystyle V^T G_n^T G_{n-1}^T\cdots G_1^T\S G_1\cdots G_{n-1} G_n V =V^T G_n^T (S_l{^{(0)}})^T U^T U S_l{^{(0)}} G_n V.$

The final step consists of swapping the lower triangular matrix $ U S_l{^{(0)}} G_n V^T$ back into upper triangular semiseparable form. Essentially, because of the orthogonality of the transformations $ U$ and $ V$ this will not change the left handside of the equation above. Denote $ Q_2=G_1\cdots G_{n-1} G_n V$, then we have the following equality:

% latex2html id marker 3647
$\displaystyle Q_2^T \S Q_2 = \S _2$ (5)

with $ Q_2$ an orthogonal matrix and % latex2html id marker 3651
$ \S _2$ a semiseparable matrix. The question is now: Are the equations (4) and (5) essentially the same and are the orthogonal matrices $ Q_1$ and $ Q_2$ essentially the same? Another important property of the equations (4) and (5) is the following: $ Q_1e_1 = Q_2 e_1$, this can easily seen because the first $ n$ Givens transformations are the same Givens transformations as performed in a $ QR$ step on % latex2html id marker 3663
$ \S $, and the fact that $ Ve_1=e_1$.

These last statements give enough information to prove that equations (4) and (5), are essentially the same. Before we can prove this, some other properties are needed.

Proposition 1   Suppose $ S_u$ is an upper triangular semiseparable matrix, with nonzero elements on the diagonal. Then the matrix % latex2html id marker 3670
$ \S =S_u^T S_u$ is nonsingular.

PROOF:
Obvious. tex2html_wrap_inline$&squf#blacksquare;$

The algorithm used here to reduce an arbitrary matrix to upper triangular semiseparable form, will construct, in the case of one or more singularities, an upper triangular semiseparable matrix with as much last columns equal to zero as there are zeros in the singular values. This can easily be seen by taking a closer look at the algorithm. Because the algorithm creates zeros, all the zero columns will be switched with other columns until they arrive at the back of the matrix. With this remark we can assume that we work with a nonsingular upper triangular semiseparable matrix, and therefore the matrix % latex2html id marker 3674
$ \S $ will also be nonsingular. This is essential in the next theorems.

Proposition 2   Suppose % latex2html id marker 3677
$ \S $ is a nonsingular symmetric semiseparable matrix. Then % latex2html id marker 3679
$ \S $ can be written as the sum of a rank 1 matrix and a strictly upper triangular matrix, where the supdiagonal elements of this matrix are different from zero.

PROOF:
This fact will be proven by contradiction. Assuming that there exist supdiagonal elements equal to zero, it will be proven that the matrix % latex2html id marker 3681
$ \S $ has to be singular.

Assume the symmetric semiseparable matrix % latex2html id marker 3683
$ \S $ has generators $ u=[u_1,\ldots,u_n]^T$ and $ v=[v_1,\ldots,v_n]^T$. One can write % latex2html id marker 3689
$ \S $ as the sum of a rank 1 matrix and a strictly upper triangular matrix $ R=triu(v u^T- u v^T,1)$ (we denote the strictly upper triangular part in this matlab style notation: $ triu(. ,1)$).

% latex2html id marker 3695
$\displaystyle \S =u v^T + R.$

Assume that there exists a certain $ k \in {\Bbb{N}}$ such that $ v_ku_{k-1}-u_k v_{k-1}=0$, this will lead to a contradiction.

tex2html_wrap_inline$&squf#blacksquare;$

The next theorem is the main theorem of this section justifying the followed approach. Before stating and proving the theorem one more definition is needed.

Definition 3.1   Two matrices % latex2html id marker 3757
$ \S _1$ and % latex2html id marker 3759
$ \S _2$ are called essentially the same if there exists a matrix $ W=diag(\pm 1, \pm 1, \ldots, \pm 1)$ such that the following equation holds:

% latex2html id marker 3763
$\displaystyle \S _1=W \S _2 W^T.$    

The following theorem is an analogue of the $ Q$-implicit theorem for tridiagonal matrices.

Theorem 4 ($ Q$-implicit theorem)   Suppose $ A$ is a nonsingular symmetric matrix and we have the following two equations:
$\displaystyle Q_1^T A Q_1$ $\displaystyle =$ % latex2html id marker 3777
$\displaystyle \S _1$ (6)
$\displaystyle Q_2^T A Q_2$ $\displaystyle =$ % latex2html id marker 3783
$\displaystyle \S _2$ (7)

with $ Q_1e_1 = Q_2 e_1$, where % latex2html id marker 3787
$ \S _1$ and % latex2html id marker 3789
$ \S _2$ are two semiseparable matrices and $ Q_1$ and $ Q_2$ are orthogonal matrices. Then the matrices % latex2html id marker 3795
$ \S _1$ and % latex2html id marker 3797
$ \S _2$ are essentially the same.

PROOF:
Denoting $ W=Q_1^TQ_2$ and using the equations (6) and (7) the following equality holds:

% latex2html id marker 3801
$\displaystyle \S _1 W= W \S _2$ (8)

According to Proposition 2 we can write the matrices % latex2html id marker 3803
$ \S _1$ and % latex2html id marker 3805
$ \S _2$ in the following form:
% latex2html id marker 3808
$\displaystyle \S _1$ $\displaystyle =$ $\displaystyle u^{(1)} {v^{(1)}}^T + R^{(1)}$  
% latex2html id marker 3814
$\displaystyle \S _1$ $\displaystyle =$ $\displaystyle u^{(2)} {v^{(2)}}^T + R^{(2)}$  

with $ R^{(1)}$ and $ R^{(2)}$ strictly upper triangular matrices with nonzero elements on the supdiagonals. The vectors $ u^{(1)},{v^{(1)}},u^{(2)}$ and $ {v^{(2)}}$ are the generators of the semiseparable matrices % latex2html id marker 3828
$ \S _1$ and % latex2html id marker 3830
$ \S _2$ respectively. They are normalized in such a way that $ {v^{(1)}_{1}}={v^{(2)}_{1}}=1$. Together with equation (9) one gets:

$\displaystyle \left(u^{(1)}{v^{(1)}}^T+ R^{(1)}\right)W=W\left(u^{(2)}{v^{(2)}}^T+R^{(2)}\right).$ (9)

Denoting the columns of $ W$ as $ \left(w_1,w_2,\ldots,w_n\right)$, the fact that $ Q_1e_1 = Q_2 e_1$ leads to the fact that $ w_1=e_1$. Multiplication of equation (10) on the right by $ e_1$ gives the following equation:

$\displaystyle u^{(1)}=Wu^{(2)}.$ (10)

.

Using this equation, we prove now by induction that

$\displaystyle W$ $\displaystyle =$ $\displaystyle diag(\pm 1, \pm 1 ,\ldots, \pm 1)$ (11)
$\displaystyle {v^{(1)}}^T$ $\displaystyle =$ $\displaystyle W {v^{(2)}}^T.$ (12)

k=1
This is a trivial step, because $ {v^{(1)}_{1}}={v^{(2)}_{1}}=1$ and $ w_1=e_1$.
k-1
Suppose the equations (12) and (13) hold up to the ($ k-1$)th element of $ {v^{(1)}}$ and $ {v^{(2)}}$ and ($ k-1$)th column of $ W$. Using equation (11) in equation (10) gives:

$\displaystyle u^{(1)}\left({v^{(1)}}^TW-{v^{(2)}}^T\right)=\left(R^{(1)}W-WR^{(2)}\right)$ (13)

Multiplying this equation on the right by $ e_k$ leads to the following equation:

$\displaystyle u^{(1)}\left({v^{(1)}}^TW-{v^{(2)}}^T\right)e_k=\left(R^{(1)}W-WR^{(2)}\right)e_k$ (14)

Because of the special structure of $ W,R^{(1)}$ and $ R^{(2)}$ the element in the final position in the vector on the righthandside of (15) equals zero. Because $ u^{(1)}_{n}$ is different from zero, (otherwise $ A$ would have been singular) the following equation holds:

$\displaystyle u^{(1)}_{n}\left({v^{(1)}}^TW-{v^{(2)}}^T\right)e_k=0$ (15)

This means that

$\displaystyle {v^{(1)}}^T w_k -{v^{(2)}_{k}}^T$ (16)

holds. Therefore equation (13) is already satisfied up to element $ k$:

$\displaystyle {v^{(1)}}^T\left(w_1,w_2,\ldots,w_k\right)=\left({v^{(2)}_{1}},{v^{(2)}_{2}},\ldots,{v^{(2)}_{k}}\right)$ (17)

Using equation (18) together with equation (15) leads to the fact that the complete righthandside of equation (15) has to be zero. This gives the following equation:

$\displaystyle R^{(1)}W e_k = WR^{(2)}e_k$ (18)

leading to

$\displaystyle R^{(1)}W e_k = W \left(\sum_{j=1}^{k-1}\alpha_j e_{j}\right)$ (19)

with the $ \alpha_j$ as nonzero factors apearing in $ R^{(2)}$. Because of the structure of $ W$ and the fact that $ R^{(1)}$ is strictly upper triangular with nonzero supdiagonal elements, $ w_k$ can only have his first $ k$ elements different from zero. This together with the fact that $ W$ is orthogonal means that $ w_k=\pm e_k$.
Using the equations (11),(12) and (13), states the fact that % latex2html id marker 3921
$ \S _1$ and % latex2html id marker 3923
$ \S _2$ are essentially the same. tex2html_wrap_inline$&squf#blacksquare;$


next up previous
Next: The algorithm Up: An algorithm for computing Previous: Chasing the bulge
Raf Vandebril 2004-04-19