next up previous
Next: The last step Up: The algorithm Previous: The first step

The $ k$th step

Suppose that after $ k-1$ steps, we have a matrix $ S^{(k)}_0+D^{(k)}_0$ with $ S^{(k)}_0$ of semiseparable structure of dimension $ k$ and $ D^{(k)}_0=\rm {diag}([0,\ldots,0,d_1,d_2,\ldots,d_{k-1},d_{k}])$:

\begin{displaymath}S^{(k)}_0+D^{(k)}_0 = \begin{array}{c} \begin{array}{cccccc} ...
...  &&&& \ddots &   &&&&& d_k \end{array}\right)
\end{array}.
\end{displaymath}

In this step we will transform $ S^{(k)}_0+D^{(k)}_0$ into a matrix $ S^{(k+1)}_0+D^{(k+1)}_0$ with $ S^{(k+1)}_0$ of semiseparable structure of dimension $ k+1$ and $ D^{(k+1)}_0=\rm {diag}([0,\ldots,0,d_1,\ldots,d_k,d_{k+1}])$.

First we annihilate the elements in the $ (n-k+1)$th column up to row $ n-k-1$ by means of a product $ G^{{(k)}^T}_{1:n-k-1}=G^{{(k)}^T}_{n-k-1}\ldots G^{{(k)}^T}_2
G^{{(k)}^T}_1$ of $ n-k-1$ Givens transformations. Because of the semiseparable structure of dimension $ k$, the upper-right $ (n-k)\times k$ block has rank at most one. Hence, not only the elements of the $ (n-k+1)$th column will be annihilated, but also the first $ n-k-1$ elements of all last $ k$ columns. Applying the same transformation $ G_{1:n-k-1}^{{(k)}}$ to the columns, the elements 1 up to $ n-k-1$ of the last $ k$ rows will be annihilated. Also here $ G_{1:n-k-1}^{(k)}$ and its transpose do not influence $ D^{(k)}_0$. The resulting matrix is denoted by $ S^{(k)}_{n-k-1}+D^{(k)}_{n-k-1}$:

$\displaystyle G_{1:n-k-1}^{{(k)}^T}
(S^{(k)}_0+D^{(k)}_0)G_{1:n-k-1}^{{(k)}}$ $\displaystyle =$ $\displaystyle S^{(k)}_{n-k-1}+D^{(k)}_{n-k-1} =$  
       
\begin{displaymath}\small\begin{array}{c} %%\begin{array}{ccccccccc}\phantom{\le...
...& \ldots & \boxtimes \end{array}\right)
\end{array} \end{array}\end{displaymath} $\displaystyle \small +$ $\displaystyle \small\begin{array}{c} \left( \begin{array}{ccccccc} 0 &&&&&&  ...
...  &&&& d_1 &&  &&&&& \ddots &  &&&&&&
d_k \end{array}\right). \end{array}$  

When we want to annihilate the last $ k$ elements of the $ (n-k)$th row of $ S^{(k)}_{n-k-1}$ by means of a Givens transformation $ G_{n-k}^{(k)^T}$, $ D^{(k)}_{n-k-1}$ would change. Therefore, we add $ d_1$ to $ D^{(k)}_{n-k-1}(n-k,n-k)$ and rename this as $ \hat{D}^{(k)}_{n-k-1}=\rm {diag}([0,\ldots,0,d_1,d_1,\ldots,d_k])$ such that $ \hat{D}^{(k)}_{n-k-1}$ remains the same under the Givens transformation $ G_{n-k}^{(k)}$ and its transpose. Hence, the element $ S^{(k)}_{n-k-1}(n-k,n-k)$ must be adapted as follows: $ S^{(k)}_{n-k-1}(n-k,n-k)-d_1$. This changed matrix will be denoted by $ \hat{S}^{(k)}_{n-k-1}$ and we have the following situation:

$\displaystyle \hat{S}^{(k)}_{n-k-1}+\hat{D}^{(k)}_{n-k-1} = \begin{array}{c} \b...
...  &&&& d_1 &&   &&&&& \ddots &   &&&&&& d_k \end{array}\right) \end{array}$

with $ \boxplus=S^{(k)}_{n-k-1}(n-k,n-k)-d_1$. Because we changed an element on the main diagonal of $ S^{(k)}_{n-k-1}$ in the upper-left corner of a semiseparable block, the dependency is not changed by this adaptation.

Now the orthogonal similarity transformation based on $ G_{n-k}^{(k)}$ can be performed on $ \hat{S}^{(k)}_{n-k-1}+\hat{D}^{(k)}_{n-k-1}$:

$\displaystyle S^{(k)}_{n-k}+D^{(k)}_{n-k}:=G^{{(k)}^T}_{n-k}(\hat{S}^{(k)}_{n-k-1}+
\hat{D}^{(k)}_{n-k-1})G^{{(k)}}_{n-k}$

with $ D^{(k)}_{n-k}=
\hat{D}^{(k)}_{n-k-1}$. Figure 1 only shows the transformation of the matrix $ \hat{S}^{(k)}_{n-k-1}$ into $ S^{(k)}_{n-k}$.

Figure: Transformation of $ \hat{S}^{(k)}_{n-k-1}$ into $ S^{(k)}_{n-k}$
\begin{figure}\small\begin{eqnarray*}
\begin{array}{c}
\begin{array}{c}
\hphanto...
...\cdots &\boxtimes \\
\end{array}\right).
\end{array}\end{eqnarray*}\end{figure}

Remark that now also in the first elements of the $ (n-k)$th row and column appear dependencies, in contrast with the starting matrix $ S^{(k)}_0$ where there is only dependency in the last $ k$ rows and columns. This is why at the end of the $ k$th step we will have a semiseparable structure of dimension $ k+1$.

Next the element on the superdiagonal at the $ (n-k+1)$th row, and because of the semiseparable structure also the other elements of that row belonging to the rank one part, should be annihilated. But once again we want the diagonal part to remain the same after the transformation, so $ D^{(k)}_{n-k}$ will be changed into $ \hat{D}^{(k)}_{n-k}=\rm {diag}([0,\ldots,0,d_1,d_2,d_2,\ldots,d_k])$ such that the elements on the $ (n-k+1)$th and $ (n-k+2)$th row are equal. $ S^{(k)}_{n-k}$ will be adapted into $ \hat{S}^{(k)}_{n-k}$ too:

$\displaystyle \hat{S}^{(k)}_{n-k}+\hat{D}^{(k)}_{n-k} = \begin{array}{c}
\left....
...&   &&&&&& \ddots &   &&&&&&\phantom{I}& d_k
\end{array}\right)
\end{array}$

with $ \boxplus=S^{(k)}_{n-k}(n-k+1,n-k+1)+d_1-d_2$. Also here this adaptation does not change the dependency because it works on the upper-left element of a semiseparable block.

Now the Givens transformations $ G_{n-k+1}^{{(k)}^T}$ and $ G^{(k)}_{n-k+1}$ can be applied to $ \hat{S}^{(k)}_{n-k} +
\hat{D}^{(k)}_{n-k}$.

The same idea is repeated for $ j=n-k+1, \ldots, n-1$. At each time, the aim is to annihilate the elements belonging to the rank one structure of the $ j$th row of $ S_{j-1}^{(k)}+D_{j-1}^{(k)}$ by means of a Givens transformation $ G_{j}^{{(k)}^T}$ working on the rows $ j$ and $ j+1$. Because we want the diagonal part $ D_{j-1}^{(k)}$ to remain unchanged, the $ j$th and $ (j+1)$th element must be the same and therefore we change $ D_{j-1}^{(k)}=\rm {diag}([0,\ldots,0,d_1,\ldots,d_l,d_l,d_{l+1},\ldots,d_k])$ into $ \hat{D}_{j-1}^{(k)}=\rm {diag}([0,\ldots,0,d_1,\ldots,d_l,d_{l+1},d_{l+1},\ldots,d_k])$ with $ l=j-n+k$. Hence, the matrix $ S^{(k)}_{j-1}$ must be adapted as follows:

$\displaystyle \hat{S}_{j-1}^{(k)}(j,j)=S_{j-1}^{(k)}(j,j)+d_{l}-d_{l+1}.$

Because the element we adapt is the upper-left element of a semiseparable block, the existing dependencies do not change.

Next the similarity transformation based on $ G_{j}^{(k)}$ can be applied in order to annihilate the last elements of the $ j$th row. But as indicated in Figure 1, the elements of the $ j$th row and column will be added to the rank one part.


$\displaystyle S^{(k)}_{j}+D^{(k)}_j:=G^{{(k)}^T}_j(\hat{S}^{(k)}_{j-1}+\hat{D}^{(k)}_{j-1})G^{(k)}_j$      
       
\begin{displaymath}\begin{array}{ccc}\phantom{n-k} & \phantom{\rightarrow} &
\be...
... &\boxtimes & \ldots &
\boxtimes \end{array}\right) \end{array}\end{displaymath}      

After $ k-1$ similarity transformations applied in the way we just described, we will obtain that the last $ k+1$ rows and columns of $ S^{(k)}_{n-1}$ will belong to a semiseparable structure.

As a last small step, the last element of $ D^{(k)}_{n-1}$ will be changed into $ d_{k+1}$ and $ S^{(k)}_{n-1}$ will become $ \hat{S}^{(k)}_{n-1}$ with $ \hat{S}^{(k)}_{n-1}(n,n)=S^{(k)}_{n-1}(n,n)-d_{k}+d_{k+1}$. Also here this adaptation does not influence the dependencies already existing in $ S^{(k)}_{n-1}$ because only the last element on the main diagonal is changed.

Hence, we have transformed $ S^{(k)}_0+D^{(k)}_0$ into a matrix $ \hat{S}^{(k)}_{n-1}$ with a semiseparable structure of dimension $ k+1$ and a diagonal part $ \hat{D}^{(k)}_{n-1}=\rm {diag}([0,\ldots,0,d_1,\ldots,d_k,d_{k+1}])$ as requested. So, we can define $ S^{(k+1)}_0+D^{(k+1)}_0:=\hat{S}^{(k)}_{n-1}+\hat{D}^{(k)}_{n-1}$.

The next figure shows the complete 3th step on a $ 6\times6$ matrix:


$\displaystyle S^{(3)}_{0}+D^{(3)}_0$ $\displaystyle =$ $\displaystyle \left( \begin{array}{cccccc}
\times & \times & \times & \boxtimes...
...&  & 0 &&&&  &&0&&&  &&&d_1 && &&&&d_2&  &&&&& d_3 \end{array}\right)$  
       
  $\displaystyle \downarrow$ $\displaystyle G^{(3)}_{1:2}$  
       
$\displaystyle S^{(3)}_{2}+D^{(3)}_2$ $\displaystyle =$ $\displaystyle \left( \begin{array}{cccccc} \times & \times & \times & 0 & 0 & 0...
...&  & 0 &&&&  &&0&&&  &&&d_1 && &&&&d_2&  &&&&& d_3 \end{array}\right)$  
  $\displaystyle \vert\vert$    
$\displaystyle \hat{S}^{(3)}_2+\hat{D}^{(3)}_2$ $\displaystyle =$ $\displaystyle \left( \begin{array}{cclccc} \times & \times & \times & 0 & 0 & 0...
... & 0 &&&&  &&d_1&&&  &&&d_1 && &&&&d_2&  &&&&& d_3 \end{array}\right)$  
       


  $\displaystyle \downarrow$ $\displaystyle G^{(3)}_{3}$  
$\displaystyle S^{(3)}_{3}+D^{(3)}_3$ $\displaystyle =$ $\displaystyle \left( \begin{array}{cccccc} \times & \times & \boxtimes & \boxti...
... & 0 &&&&  &&d_1&&&  &&&d_1 && &&&&d_2&  &&&&& d_3 \end{array}\right)$  
  $\displaystyle \vert\vert$    
$\displaystyle \hat{S}^{(3)}_3+\hat{D}^{(3)}_3$ $\displaystyle =$ $\displaystyle \left( \begin{array}{ccclcc} \times & \times & \boxtimes & \boxti...
... & 0 &&&&  &&d_1&&&  &&&d_2 && &&&&d_2&  &&&&& d_3 \end{array}\right)$  
       
  $\displaystyle \downarrow$ $\displaystyle G^{(3)}_{4}$  
       
$\displaystyle S^{(3)}_{4}+D^{(3)}_4$ $\displaystyle =$ $\displaystyle \left( \begin{array}{cccccc} \times & \times & \boxtimes & \boxti...
... & 0 &&&&  &&d_1&&&  &&&d_2 && &&&&d_2&  &&&&& d_3 \end{array}\right)$  
  $\displaystyle \vert\vert$    
$\displaystyle \hat{S}^{(3)}_4+\hat{D}^{(3)}_4$ $\displaystyle =$ $\displaystyle \left( \begin{array}{cccclc} \times & \times & \boxtimes & \boxti...
... & 0 &&&&  &&d_1&&&  &&&d_2 && &&&&d_3&  &&&&& d_3 \end{array}\right)$  
       
  $\displaystyle \downarrow$ $\displaystyle G^{(3)}_{5}$  
       
$\displaystyle S^{(3)}_{5}+D^{(3)}_5$ $\displaystyle =$ $\displaystyle \left( \begin{array}{cccccc} \times & \times & \boxtimes & \boxti...
... & 0 &&&&  &&d_1&&&  &&&d_2 && &&&&d_3&  &&&&& d_3 \end{array}\right)$  
  $\displaystyle \vert\vert$    
$\displaystyle \hat{S}^{(3)}_5+\hat{D}^{(3)}_5$ $\displaystyle =$ $\displaystyle \left( \begin{array}{cccccl} \times & \times & \boxtimes & \boxti...
... & 0 &&&&  &&d_1&&&  &&&d_2 && &&&&d_3&  &&&&& d_4 \end{array}\right)$  


next up previous
Next: The last step Up: The algorithm Previous: The first step
Raf Vandebril 2004-08-03