Tuning the multi-shift convergence behavior

In these first experiments we construct several matrices, with specific eigenvalues, and we choose the diagonal for the reduction in such a way that it will reveal parts of the spectrum. In the following examples the eigenvalues $ \Lambda=[\lambda_1,\ldots,\lambda_n]$ of the matrix are given and the matrix itself is constructed as $ A=Q^T\diag (\Lambda)Q$, where $ Q$ is the orthogonal matrix coming from the $ QR$-factorization of a random matrix. For every example we give the eigenvalues, the diagonal and the number of Householder and Givens transformations performed before the reduction algorithm separated a block containing the desired eigenvalues. A block is separated if the norm of the off-diagonal block is relatively less than $ 10^{(-10)}$. Also the maximum absolute error between the real and the computed eigenvalues is given.

  1. $ \Lambda=[rand(10,1);100]$ and $ d=zeros(11,1)$.
    Number of Householder transformations: $ 6$
    Number of Givens transformations: $ 21$
    Separated eigenvalue: $ 100$
    Maximum absolute error: $ 4.2633e-14$

  2. $ \Lambda=[rand(100,1);100]$ and $ d=zeros(101,1)$
    Number of Householder transformations: $ 6$
    Number of Givens transformations: $ 21$
    Separated eigenvalue: $ 100$
    Maximum absolute error: $ 1.4211e-14 $

  3. $ \Lambda=[rand(100,1);100;101;102]$ and $ d=zeros(103,1)$
    Number of Householder transformations: $ 10$
    Number of Givens transformations: $ 55$
    Separated eigenvalues: $ 100,101,102$
    Maximum absolute error: $ 5.6843e-14$

  4. $ \Lambda=[1;100+rand(10,1)]$ and $ d=100*ones(11,1)$
    Number of Householder transformations: $ 6$
    Number of Givens transformations: $ 21$
    Separated eigenvalue: $ 1$
    Maximum absolute error: $ 1.4211e-14 $

  5. $ \Lambda=[1;100+rand(100,1)]$ and $ d=100*ones(101,1)$
    Number of Householder transformations: $ 6$
    Number of Givens transformations: $ 21$
    Separated eigenvalues: $ 1$
    Maximum absolute error: $ 1.4211e-14 $

  6. $ \Lambda=[1;2;3;100+rand(100,1)]$ and $ d=100*ones(103,1)$
    Number of Householder transformations: $ 11$
    Number of Givens transformations: $ 66$
    Separated eigenvalue: $ 1,2,3$
    Maximum absolute error: $ 6.7502e-14$

  7. $ \Lambda=[ones(50,1)+rand(50,1);100;10000*ones(50,1)+rand(50,1)]$ and
    $ d=[10000,1,10000,1,\ldots,10000,1,10000]$
    Number of Householder transformations: $ 12$
    Number of Givens transformations: $ 78$
    Separated eigenvalue: $ 100$
    Maximum absolute error: $ 1.8190e-12 $

  8. $ \Lambda=[1;2;3;100+rand(100,1);10000;10001;10002]$ and
    $ d=[zeros(6,1);ones(96,1)*100]$
    First there is convergence to the cluster with the largest eigenvalues:
    Number of Householder transformations: $ 10$
    Number of Givens transformations: $ 55$
    Separated eigenvalues: $ 1001,1002,1003$
    Maximum absolute error: $ 3.6380e-12$
    Secondly there is convergence to the cluster with the smallest eigenvalues
    Extra number of Householder transformations: $ 15$
    Extra number of Givens transformations: $ 170$
    Separated eigenvalues: $ 1,2,3$
    Maximum absolute error: $ 1.5099e-14 $

The examples illustrate clearly, that the convergence behavior can be tuned, by choosing different diagonal values, for reducing the matrix to semiseparable plus diagonal form.

Raf Vandebril 2006-03-30