next up previous
Next: Orthogonal similarity transformation to Up: THE LANCZOS-RITZ VALUES APPEARING Previous: Introduction


Definition and representation of semiseparable matrices

In the literature the class of semiseparable matrices is defined in slightly different ways. For an overview of different definitions, representations as well as their properties, we refer the interested reader to [20]. In this paper, semiseparable matrices are defined in the following way.

Definition 1   A matrix $ S$ is called a lower- (upper-)semiseparable matrix of semiseparability rank $ r$ if all submatrices which can be taken out of the lower (upper) triangular part of the matrix $ S$ have rank $ \leq r$ and there exists at least one submatrix having exact rank $ r$.

In the remainder of the paper, we will only consider symmetric semiseparable matrices of (lower- and upper-)semiseparability rank $ 1$.

In [20], we have shown that under weak assumptions (see Theorem 2.1), the matrix $ S$ can be represented by two (column-)vectors $ u$ and $ v$, called generators of the matrix $ S$:

$\displaystyle S=triu(u v^T)+tril(v u^T)$

where $ triu(A)$ and $ tril(A)$ denote respectively the strictly upper triangular part and the lower triangular part of the matrix $ A$.
\begin{theorem}
% latex2html id marker 92\index{Semiseparable matrix ! Represe...
...S(i,j)=0$\ $\Rightarrow$$S(i,1:i)=0$\ or $S(j:n,j)=0$.
\end{center}\end{theorem}

Can be found in [20]. $ \blacksquare$
Because the representation with the generators is cheap in terms of memory usage and it is easy to reconstruct arbitrary elements within the matrix, several algorithms for semiseparable matrices are based on this representation. However for several of these algorithms, this representation can lead to a big loss of accuracy when performing the computations in finite precision. This can be seen from the following example.

Example 1   Suppose we have a symmetric $ 5 \times 5$ matrix with the following eigenvalues: $ (1,2,3,100,10^5)$. Constructing a semiseparable matrix from it (the algorithm how to do so, will be explained later on) generates the following matrix:

% latex2html id marker 5183
$\displaystyle \left( \begin{array}{r-at-{.}lr-at-{.}lr-at-{....
...dot 10^{-12} &4&8030\cdot 10^{-8} &1&0000\cdot 10^{5} \\  \end{array} \right) .$    

Although this matrix is semiseparable it can clearly be seen that the lower right element already converged to the largest eigenvalue. Representing this matrix now with the generators $ u$ and $ v$ gives us the following vectors:

% latex2html id marker 5189
$\displaystyle u=\left( \begin{array}{rrrrr} 8.0861\...
...{11} & 8.0391\cdot 10^{10} & -1.0448\cdot 10^{8} & 1.0000 \end{array} \right)^T$    

and

% latex2html id marker 5191
$\displaystyle v=\left( \begin{array}{rrrrr} 1.5753\...
...\cdot 10^{-12} & 4.8030\cdot 10^{-8} & 1.0000\cdot 10^{5} \end{array} \right) .$    

Because the first element of $ v$ is of the order $ 10^{-12}$ and is constructed by summations of elements of order $ 1$, we can expect that this element has a precision of only $ 4$ significant decimal digits left. Using this number to reconstruct the elements within the matrix will only give these elements with a limited number of exact digits.

To overcome this problem we consider another representation. For a semiseparable matrix of dimension $ n$, this representation consists of $ n-1$ Givens transformations and a vector of length $ n$. The Givens transformations are denoted as $ G=[G_1,\ldots,G_{n-1}]$ and the vector as $ d=[d_1,\ldots,d_n]$.

The following figures denote how the semiseparable matrix can be reconstructed, using this information. The elements denoted by $ \boxtimes$ make up the semiseparable part of the matrix. The construction of the semiseparable matrix is for a matrix of size $ 5$. Initially one starts on the first 2 rows of the matrix. The element $ d_1$ is placed in the upper left position, then a Givens transformation is applied, and finally to complete the first step element $ d_2$ is added in position $ (2,1)$. Only the first two columns and rows are shown here.

% latex2html id marker 5221
$\displaystyle \left( \begin{array}{cc} d_1 & 0 \\  ...
... \left( \begin{array}{cc} \boxtimes& 0 \\  \boxtimes & d_2 \end{array} \right).$    

The second step consists of applying the Givens transformation $ G_2$ on the second and the third row, furthermore $ d_3$ is added in position $ (3,3)$. Here only the first three columns are shown and the second and third row. This leads to:

% latex2html id marker 5229
$\displaystyle \left( \begin{array}{ccc} \boxtimes &...
...} \boxtimes& \boxtimes & 0 \\  \boxtimes & \boxtimes & d_3 \end{array} \right).$    

This process can be repeated by applying the Givens transformation $ G_3$ on the third and the fourth row of the matrix, and afterwards adding the diagonal element $ d_4$. After applying all the Givens transformations and adding all the diagonal elements, the lower triangular part of a symmetric semiseparable matrix is constructed. Because of the symmetry also the upper triangular part is known.

Suppose the Givens and vector representation of a semiseparable matrix $ S$ is known. When denoting the Givens transformations as:

% latex2html id marker 5237
$\displaystyle G_{l}=\left( \begin{array}{cr} c_{l} & -s_{l} \\  s_{l} & c_{l} \end{array} \right).$ (1)

The elements $ S(i,j)$ with $ n>i \geq j$ are calculated in the following way:
$ S(i,j)=c_{i} s_{i-1} s_{i-2} \cdots s_{j} d_{j}$. When $ n=i$ we have $ S(i,j)=s_{n-1} s_{n-2} \cdots s_{j} d_{j}$. When $ n \geq j>i$, $ S(i,j)$ can be calculated in a similar way, because of the symmetry. The elements of the semiseparable matrix can therefore be calculated in a stable way.

Example 2 (Example 1 Continued)   The Givens-vector representation of the matrix in Example 1 is the following: (In the first row of $ G$ the elements $ c_1,\ldots,c_4$ are stored and in the second row the elements $ s_1,\ldots,s_4$.)

% latex2html id marker 5260
$\displaystyle G = \left(\begin{array}{r-at-{.}lr-at-{.}lr...
...dot 10^{-1} & -1&2997 \cdot 10^{-3} & 4&8030 \cdot 10^{-10} \end{array} \right)$    

and

% latex2html id marker 5262
$\displaystyle d=\left( \begin{array}{ccccc} 1.4012 & 2.2778 & 2.5026 & 1.0000 \cdot 10^{2} & 1.0000 \cdot 10^{5} \end{array} \right)$ (2)

All the elements of the semiseparable matrix can be reconstructed now with high relative precision.

Moreover this representation has another advantage connected to the $ QR$ factorization of this semiseparable matrix. Let $ \hat{G}_j$ represent the Givens transformation $ G_j$ embedded in an identity matrix of size $ n\times n$ such that the Givens transformation $ G_j$ is executed on rows $ j $ and $ j+1$. Then it is proven in [18] that the $ QR$ factorization of $ S$ can be written as:

$\displaystyle S$ $\displaystyle =$ $\displaystyle \hat{G}_{n-1} \cdots \hat{G}_2 \hat{G}_1 R$  
  $\displaystyle =$ $\displaystyle Q R$  

with $ R$ upper triangular.


next up previous
Next: Orthogonal similarity transformation to Up: THE LANCZOS-RITZ VALUES APPEARING Previous: Introduction
Raf Vandebril 2004-04-19