next up previous contents index
Next: Connection between the generator Up: The generator definition, investigated Previous: Common misunderstandings about generator   Contents   Index

A theoretical problem, with numerical consequences

The following example deals with the numerical instability of the representation with generators. After the example we will show that this numerical problem is a consequence of a problem in the definition.

Example 11   Suppose a symmetric $ 5 \times 5$ matrix $ A$ is given with the following eigenvalues: $ (1,2,3,100,10^4)$. Reducing the matrix $ A$ to a similar symmetric semiseparable matrix (the procedure for doing that is explained in Part III of the thesis) generates the following matrix $ S$ (using $ 16$ decimal digits of precision in MATLAB):

% latex2html id marker 30525
$\displaystyle \left( <tex2html_comment_mark>373 \b...
... -8.1957\cdot 10^{-5} & \hspace{0.22cm} 1.0000\cdot 10^{4} \end{array} \right).$    

Although this matrix is semiseparable it can clearly be seen that the last entry of the diagonal already approximates the largest eigenvalue. Representing this matrix with the traditional generators $ u$ and $ v$ gives us the following vectors for $ u$ and $ v$ respectively:

% latex2html id marker 30535
$\displaystyle \left( \begin{array}{rrrrr} 3.1029\c...
...^{9} & -1.5302\cdot 10^{9} & -1.2128\cdot 10^{6} & 1.0000 \end{array} \right)^T$    

and

% latex2html id marker 30537
$\displaystyle \left( <tex2html_comment_mark>380 \b...
...cdot 10^{-9} & -8.1957\cdot 10^{-5} & 1.0000\cdot 10^{4} \end{array} \right)^T.$    

Because the second element of $ v$ is of the order $ 10^{-10}$ and is constructed by summations of elements of order $ 1$, we can expect that this element has a precision of only $ 6$ significant decimal digits left. Trying to reconstruct the matrix $ S$ with the given generators $ u$ and $ v$ will therefore create large relative errors in the matrix (e.g., up to $ \approx 10^{-2}$). This means that this representation looses approximately $ 14$ decimal digits. The digit loss in this example is unacceptable.

This problem can however be explained rather easily, and it is inherent to the representation connected with the definition. Because the diagonal matrices do not belong to the class of matrices representable by the generators $ u$ and $ v$, the representation of the matrix above can never be very well. Very large and very small numbers can be seen in the vectors $ u$ and $ v$ to try to compensate the fact that the matrix is almost block diagonal.

To investigate more in detail this numerical problem, we will first look at the class of tridiagonal matrices. A first important property of symmetric tridiagonal matrices, is that they are defined by the diagonal and subdiagonal elements. In fact storing $ 2n-1$ elements is enough to reconstruct the tridiagonal matrix. The following property is important in several applications. Suppose we have a symmetric tridiagonal matrix $ T\ifthenelse{\equal{c}{c}}{}{^{(c)}}\ifthenelse{\equal{c}{c}}{}{_{c}}
$ and apply the $ QR$ algorithm, to compute the eigenvalues of this matrix. Doing so we get a sequence of tridiagonal matrices

$\displaystyle T\ifthenelse{\equal{0}{c}}{}{^{(0)}}\ifthenelse{\equal{c}{c}}{}{_...
...se{\equal{n}{c}}{}{^{(n)}}\ifthenelse{\equal{c}{c}}{}{_{c}}
\rightarrow \cdots $

converging towards a (block) diagonal matrix. This diagonal matrix also belongs to the class of tridiagonal matrices. To formulate this more precisely, we need the definition of pointwise convergence:

Definition 22   The pointwise limit of a collection of matrices $ A_\epsilon \in
\mathbb{R}^{n\times n}$ (if it exists) for $ \epsilon \rightarrow \epsilon_0,$ with $ \epsilon,\epsilon_0 \in \mathbb{R}$ and with the matrices $ A_{\epsilon}$ as

% latex2html id marker 30582
$\displaystyle A_\epsilon=\left( \begin{array}{ccc}...
...\vdots \\  (a_{n,1})_\epsilon & \cdots & (a_{n,n})_\epsilon \end{array} \right)$    

is defined as:

% latex2html id marker 30584
$\displaystyle \lim_{\epsilon \rightarrow \epsilon_...
...& \lim_{\epsilon \rightarrow \epsilon_0}(a_{n,n})_\epsilon \end{array} \right).$    

Let us summarize the properties of tridiagonal matrices mentioned above in a corollary.

Corollary 23   For the class of symmetric tridiagonal matrices $ T\ifthenelse{\equal{c}{c}}{}{^{(c)}}\ifthenelse{\equal{c}{c}}{}{_{c}}
$ we have the following properties:

If we look again at the class of generator representable semiseparable matrices, we can clearly see that they can be represented by $ O(n)$ information. This is the main reason why authors chose this definition. Nevertheless, as we already mentioned, the set of diagonal matrices is not included in the class of generator representable semiseparable matrices, and we can easily construct a sequence of generator representable semiseparable matrices (e.g., via the $ QR$-algorithm) converging to a diagonal. This means that the class of generator representable semiseparable matrices is not closed under pointwise convergence. One might correctly wonder now, what is the connection between semiseparable and generator representable semiseparable matrices with respect to the pointwise limit.


next up previous contents index
Next: Connection between the generator Up: The generator definition, investigated Previous: Common misunderstandings about generator   Contents   Index
Raf Vandebril 2004-05-03