next up previous contents index
Next: Retrieving the representation from Up: The representation of semiseparable Previous: Other types of representations   Contents   Index


Some examples

The reader can try to decide whether the following matrices are representable with the generator representation, the diagonal subdiagonal representation or the Givens-vector representation. With $ \diag(v)$ we denote the diagonal matrix with as diagonal elements the elements coming from the vector $ v$.
$\displaystyle D_1$ $\displaystyle =$ $\displaystyle \diag([1,1,1,1,1])$ (2.4)
$\displaystyle D_2$ $\displaystyle =$ $\displaystyle \diag([0,1,1,1,1])$ (2.5)
$\displaystyle S_1$ $\displaystyle =$ $\displaystyle \left( \begin{array}{ccc}
1 & 0 & 0\\
0 & 1 & 1\\
0 & 1 & 0\\
\end{array} \right)$ (2.6)
$\displaystyle S_2$ $\displaystyle =$ % latex2html id marker 31631
$\displaystyle \left( \begin{array}{cccc}
0 & 0 & 0...
... & 0 & 1 & 1\\
0 & 0 & 1 & 0\\
\end{array} \right) <tex2html_comment_mark>519$ (2.7)


$\displaystyle S_3$ $\displaystyle =$ $\displaystyle \left( \begin{array}{ccc}
0 & 1 & 0\\
1 & 0 & 0\\
0 & 0 & 1\\
\end{array} \right)$ (2.8)
$\displaystyle S_4$ $\displaystyle =$ $\displaystyle \left( \begin{array}{ccc}
0 & 1 & 1\\
1 & 0 & 0\\
1 & 0 & 1\\
\end{array} \right)$ (2.9)
$\displaystyle S_5$ $\displaystyle =$ $\displaystyle \left( \begin{array}{cccc}
1 & 0 & 1 & 1\\
0 & 0 & 0 & 0\\
1 & 0 & 1 & 1\\
1 & 0 & 1 & 0
\end{array} \right)$ (2.10)

The results can be found in the next table.

matrix singular? representation representation representation
    $ u$ and $ v$ $ d$ and $ d^{(s)}$ $ d$ and $ G$
matrix 2.4 no no yes yes
matrix 2.5 yes no yes yes
matrix 2.6 no no yes yes
matrix 2.7 yes no yes yes
matrix 2.8 no no yes yes
matrix 2.9 no yes no yes
matrix 2.10 yes yes no yes

One can clearly see that the Givens-vector representation is the most general one. Moreover, this representation is still an tex2html_wrap_inline$O(n)$ representation.

In the following examples the Givens-vector representation of several different semiseparable matrices is given. The construction of this representation is the subject of the next section.


$\displaystyle \left( \begin{array}{ccc}
1 & 1 & 1 \\
1 & 1 & 1 \\
1 & 1 & 1 \\
\end{array} \right)$ $\displaystyle \leftrightarrow$ \begin{displaymath}\begin{array}{rcl}
G & = &
\left( \begin{array}{cc}
\sqrt{3}/...
...ght) \\
d & = & \left( \sqrt{3},\sqrt{2},1 \right)
\end{array}\end{displaymath}  
$\displaystyle \left( \begin{array}{ccc}
1 & 0 & 0 \\
0 & 2 & 0 \\
0 & 0 & 3 \\
\end{array} \right)$ $\displaystyle \leftrightarrow$ \begin{displaymath}\begin{array}{rcl}
G & = &
\left( \begin{array}{cc}
1 & 1 \\ ...
...end{array} \right) \\
d & = & \left( 1,2,3 \right)
\end{array}\end{displaymath}  
% latex2html id marker 31722
$\displaystyle %%
\left( \begin{array}{ccc}
1 & 0 & 1 \\
0 & 0 & 1 \\
1 & 1 & 1 \\
\end{array} \right)$ $\displaystyle \leftrightarrow$ \begin{displaymath}\begin{array}{rcl}
G & = &
\left( \begin{array}{cc}
\sqrt{2}/...
...ay} \right) \\
d & = & \left( \sqrt{2},1,1 \right)
\end{array}\end{displaymath}  
% latex2html id marker 31728
$\displaystyle %%
\left( \begin{array}{ccc}
1 & 1 & 1 \\
1 & 0 & 0 \\
1 & 0 & 1 \\
\end{array} \right)$ $\displaystyle \leftrightarrow$ \begin{displaymath}\begin{array}{rcl}
G & = &
\left( \begin{array}{cc}
\sqrt{3}/...
...ght) \\
d & = & \left( \sqrt{3},0,\sqrt{2} \right)
\end{array}\end{displaymath}  
% latex2html id marker 31734
$\displaystyle %%
\left( \begin{array}{ccc}
1 & 0 & 1 \\
0 & 0 & 0 \\
1 & 0 & 1 \\
\end{array} \right)$ $\displaystyle \leftrightarrow$ \begin{displaymath}
% latex2html id marker 31738
\begin{array}{rcl}
G & = &
\lef...
...ft( \sqrt{2},0,1 \right)
\end{array} <tex2html_comment_mark>551\end{displaymath}  


% latex2html id marker 31741
$\displaystyle %%
\left( \begin{array}{ccc}
0 & 1 & 0 \\
1 & 0 & 0 \\
0 & 0 & 1 \\
\end{array} \right)$ $\displaystyle \leftrightarrow$ \begin{displaymath}\begin{array}{rcl}
G & = &
\left( \begin{array}{cc}
0 & 1 \\ ...
...end{array} \right) \\
d & = & \left( 1,0,1 \right)
\end{array}\end{displaymath}  
% latex2html id marker 31747
$\displaystyle %%
\left( \begin{array}{ccccc}
1 & 1...
...0 & 0 & 0 & 1 & 1 \\
1 & 0 & 1& 1 & 1 \\
1 & 0 & 1& 1 & 1
\end{array} \right)$ $\displaystyle \leftrightarrow$ \begin{displaymath}\begin{array}{rcl}
G & = &
\left( \begin{array}{cccc}
1/2 & \...
... \\
d & = & \left( 2,0,\sqrt{2},\sqrt{2},1 \right)
\end{array}\end{displaymath}  

In the following example, we construct the Givens-vector representation of a semiseparable matrix based on the diagonal and subdiagonal elements. In fact we already know that this naive procedure cannot work in all cases, because the diagonal subdiagonal representable matrices do not cover the complete set of semiseparable matrices. The following example shows that the procedure, just explained to determine the representation is not stable.

Example 17   Suppose we have a given semiseparable matrix,

% latex2html id marker 31754
$\displaystyle S= \left( \begin{array}{rrr} 1 & 1 & 0 \\  1 & 0 & 0 \\  0 & 0 & 1 \end{array} \right)$    

and we add random noise of the size $ 10^{-16}$ to this matrix. We will then construct the Givens-vector representation of this matrix, based on the diagonal and subdiagonal elements, and build up again the semiseparable matrix given the Givens-vector representation. We see that we get large errors even though there was only a small change of the size $ 10^{-16}$. The disturbed matrix $ A$ has the following form:

% latex2html id marker 31762
$\displaystyle \left( \begin{array}{lll} 1.0000 & 1...
...} \\  7.9193 \cdot 10^{-16}& 1.7626\cdot 10^{-16}& 1.0000 \end{array} \right) .$    

Calculating the Givens-vector representation in the way presented above, and then recalculating the semiseparable matrix gives the following result:

% latex2html id marker 31764
$\displaystyle \left( \begin{array}{lll} 1.0000 & 1...
...} \\  2.3877 \cdot 10^{-1}& 1.7626 \cdot 10^{-16}& 1.0000 \end{array} \right) .$    

This matrix has the element in position $ (3,1)$ recovered in a very inaccurate way. In the next section a more robust and stable algorithm will be presented, and we will reconsider this example.


next up previous contents index
Next: Retrieving the representation from Up: The representation of semiseparable Previous: Other types of representations   Contents   Index
Raf Vandebril 2004-05-03