next up previous contents index
Next: Stewart's devil's stairs Up: Tests on the symmetric Previous: Tests on the symmetric   Contents   Index


The block experiment

This experiment is taken from [140, p. 153]. Suppose we have a symmetric matrix $ A^{(0)}$ of dimension $ n$ and we construct the following matrices $ T(m,\delta)$ using $ A^{(0)}$, where $ m$ denotes the number of blocks, and $ \delta $ are the small subdiagonal elements, between the blocks. For example:

% latex2html id marker 39431
$\displaystyle T(3,\delta) = \left( \begin{array}{c...
... & & & A^{(0)}&\\  &&&&&&&&\\  \end{array} \right) \qquad \blacksquare=\delta .$    

We get the following results: For $ n=10$ we compare for the semiseparable and the tridiagonal approach the maximum number of iterations for any eigenvalue to converge. This is done for a varying size of $ \delta $, $ A^{(0)}$ has eigenvalues $ 1:10$. Both of the algorithms use the same normal deflation criterion.

The difficulty in this experiment are the small off-diagonal elements. The reduction to the tridiagonal form will leave these elements quite small, in this way our resulting tridiagonal matrix is almost a block diagonal. The algorithm we perform now, will not deflate the blocks. In this way we can see the difficulties the implicit $ QR$-algorithm encounters, trying to solve this problem. The semiseparable approach will perform better, because the reduction to semiseparable form, will already rearrange these small elements, because of the $ QL$ steps performed while reducing these matrices. In this way the overall number of steps before convergence can occur is less than the corresponding number of steps of the tridiagonal approach.

For $ m=10$:

$ \delta $ $ {\rule[0.2cm]{0cm}{0.2cm} 10^{ -13}} $ $ 10^{-12}$ $ 10^{-11}$ $ 10^{-10}$ $ 10^{-9} $ $ 10^{-8}$ $ 10^{-7} $
semiseparable $ QR$ 3 3 2 2 2 3 3
tridiagonal $ QR$ 4 4 4 4 4 4 3


For $ m=25$:
$ \delta $ $ 10^{-15}$ $ 10^{-14}$ $ 10^{-13}$ $ 10^{-12}$ $ 10^{-11}$  
semiseparable $ QR$ 4 4 4 3 3  
tridiagonal $ QR$ 4 5 5 4 4  
$ \delta $ $ 10^{-10}$ $ 10^{-9} $ $ 10^{-8}$ $ 10^{-7} $    
semiseparable $ QR$ 3 2 2 2    
tridiagonal $ QR$ 3 4 2 3    


For $ m=40$
$ \delta $ $ 10^{-19}$ $ 10^{-18}$ $ 10^{-17}$ $ 10^{-16}$ $ 10^{-15}$ $ 10^{-14}$ $ 10^{-13}$  
semiseparable $ QR$ 4 5 4 4 4 4 4  
tridiagonal $ QR$ 4 5 4 5 5 4 4  
$ \delta $ $ 10^{-12}$ $ 10^{-11}$ $ 10^{-10}$ $ 10^{-9} $ $ 10^{-8}$ $ 10^{-7} $    
semiseparable $ QR$ 3 1 1 1 3 3    
tridiagonal $ QR$ 4 5 4 4 4 5    


It can be seen clearly that the tridiagonal approach has more difficulties in finding particular eigenvalues. Figure 9.1 gives a comparison in the complete number of $ QR$-steps for the last experiment ($ m=40$).

Figure 9.1: Total number of steps compared to several values of $ \delta $.

The figure shows that the semiseparable approach needs less iterations than the traditional approach. The matrices involved are of size $ 400$. It can be seen that for $ \delta $ in the neighborhood of $ 10^{-10}$ the number of $ QR$-steps with the semiseparable approach are even less than $ 400$. This can also be seen in the table for $ m=40$.


next up previous contents index
Next: Stewart's devil's stairs Up: Tests on the symmetric Previous: Tests on the symmetric   Contents   Index
Raf Vandebril 2004-05-03