next up previous
Next: A review of the Up: The reduction towards tridiagonal Previous: The algorithms and the

Convergence properties

The reduction to tridiagonal form has one important convergence behavior inside the reduction algorithm. The part of the matrix already in tridiagonal form has as eigenvalues the Lanczos-Ritz values with respect to the Krylov subspace with initial starting vector $ e_1$. By applying an extra initial transformation, one can change the starting vector $ e_1$ and thereby changing the convergence properties of the Lanczos behavior.

This property is shared by the reduction to semiseparable form. The part of the matrix already in semiseparable form has also the Lanczos Ritz values as eigenvalues, w.r.t. the same Krylov subspace as mentioned above. The convergence behavior can be altered in a similar way by applying an initial transformation.

As both algorithms share this property we will not investigate it further. However, the reduction to semiseparable form inherits an extra convergence property. The extra Givens transformations, creating the overhead of $ 9n^2$ operations, perform in fact a step of subspace iteration on the part of the matrix already in semiseparable form. For a more elaborate convergence analysis we refer the reader to [11]. This subspace iteration step will tend to make the resulting semiseparable matrix block diagonal, thereby revealing possible clusters and gaps in the spectrum of the original matrix. We shall demonstrate this convergence behavior with an example.

In the following experiment we want to illustrate the interplay between the Lanczos convergence behavior and the nested subspace iteration of the new method. We want to focus attention on the deflation possibilities of the new algorithm.

Let us construct a symmetric matrix having the eigenvalues as shown in Figure 1.

Figure 1: Eigenvalues of the symmetric matrix of Experiment 1: 3 clusters
% latex2html id marker 957
\includegraphics[scale=0.65]{exp02.eps}

There are three clusters of eigenvalues where the relative gap between the first and second cluster is equal to $ 0.5$ and the same as the relative gap between the second and third cluster. The first cluster has 20 eigenvalues geometrically distributed between $ 1$ and $ 10^{-2}$, the second cluster 20 eigenvalues between $ 5\cdot 10^{-3}$ and $ 5\cdot 10^{-5}$ and the third 60 eigenvalues between $ 2.5\cdot 10^{-5}$ and $ 2.5\cdot 10^{-7}$.

Let us first look at Figure 2 showing the behavior of the Ritz values for this example. In each step of the reduction algorithm ($ x$-axis), a cross is placed if a Ritz value of the already semiseparable part of the matrix approximates a real eigenvalue up to $ 8$ correct digits.

Figure 2: Behavior of the Ritz values
% latex2html id marker 979
\includegraphics[scale=0.65]{exp01.eps}

Note that the same behavior is also obtained when using the classical tridiagonalization approach. However, the tridiagonal matrix obtained using this approach does not give a clear indication of the possible clusters or of deflation possibilities, i.e., no subdiagonal element becomes very small in magnitude. One might however chose a different initial transformation $ Q_0$ as mentioned before, to increase the Lanczos convergence behavior towards the last cluster, but one will not be able to recognize two clusters in the tridiagonal matrix. The magnitude of the subdiagonal elements is plotted in Figure 3.

Figure 3: Magnitude of subdiagonal elements of similar tridiagonal matrix
% latex2html id marker 985
\includegraphics[scale=0.65]{exp03.eps}

During the execution of the algorithm to obtain a similar semiseparable matrix, there will be a clear point where a diagonal block corresponding to the first cluster can be deflated and another point where a diagonal block corresponding to the second cluster can be deflated. Looking at Figure 2, we see that the eigenvalues of the first cluster are approximated well by the Lanczos-Ritz values from step 25 on. This means that at that moment the subspace iteration where the subspace has dimension $ 20$ will converge towards the subspace corresponding to the first cluster. The convergence factor will be $ 0.5$. This can clearly be seen in Figure 4. This figure shows for each step $ j=1,2,\ldots,n-1$ in the algorithm the norms of the subdiagonal blocks $ S(i:n,1:i-1)$ for $ i=n-j:n$. Each line in the plot indicates the change of the norm at each step of the algorithm. The line indicated by ``o'' corresponds to the norm of the subdiagonal block $ S(81:100,1:80)$.

Figure 4: Norms of subdiagonal matrices during the semiseparable reduction
% latex2html id marker 1001
\includegraphics[scale=0.65]{exp04.eps}

For the eigenvalues of the second cluster a similar convergence behavior occurs around step 45. The line indicated by ``*'' corresponds to the norm of the subdiagonal block $ S(61:100,1:60)$. The parallel lines in the figure having a smaller slope correspond to the subspace convergence behavior inside each of the clusters. Hence, at step $ 68$ a first diagonal $ 20 \times 20$ block can be deflated while at step $ 80$ the next diagonal $ 20 \times 20$ block can be deflated. This example shows clearly the influence of the convergence of the Lanczos-Ritz values on the convergence behavior of the nested subspace iteration.

Moreover, the subspace iteration orders each step inside the reduction algorithms the eigenvalues in the already reduced part. This means that the matrices coming from the reduction algorithm have the eigenvalues ordered in some sense. This is also not shared by the tridiagonal approach, causing, for difficult matrices the semiseparable approach to be more accurate, as shown in the next example.

The following problems are taken from [2]. We consider some of the eigenvalue problems which the traditional $ QR$ algorithm cannot solve. We consider the following matrix: $ A=D P D$, where $ D=diag(10^{20},10^{10},1)$,

% latex2html id marker 1022
$\displaystyle A= \left(\begin{array}{ccc} 10^{40} &...
...19} \\  10^{29} & 10^{20} & 10^{9} \\  10^{19} & 10 ^{9} & 1 \end{array}\right)$    and % latex2html id marker 1023
$\displaystyle P= \left(\begin{array}{ccc} 1 & 0.1 & 0.1 \\  0.1 & 1 & 0.1 \\  0.1 & 0.1 & 1 \end{array}\right).$    

The eigenvalues of the matrix $ A$ are the following:

$\displaystyle \Lambda=[1.000000000000000\cdot 10^{40}, 9.9000000000000000\cdot 10^{19}, 9.818181818181818 \cdot 10^{-1}].$

The eigenvalues computed by the routine $ eig( \cdot )$ in Matlab gives the following results:

$\displaystyle [ -3.85544\cdot 10^{23}, 9.90002\cdot10^{-01},1.000000000000000\cdot10^{40}].$

One can see that the eigenvalue solver of Matlab, was only able to calculate one eigenvalue correctly. When we reduce the matrix $ A$ to semiseparable form we get the following matrix:

% latex2html id marker 1035
$\displaystyle \left(\begin{array}{lll} 1.1880000000...
...00000000000 \cdot 10^{9} & 1.000000000000000 \cdot 10^{40} \end{array}\right) .$    

One eigenvalue already converged, and computing the eigenvalues of the upper left $ 2$ by $ 2$ block, we get the following eigenvalues:

$\displaystyle \left[ 9.818181818181789 \cdot 10^{-1}, 9.900000000000000 \cdot 10^{19} \right].$    

So all the eigenvalues can be computed when first using the reduction to semiseparable form, and this up to at least $ 14$ correct digits.

Calculating the eigenvalues of the matrix $ JAJ$ with

% latex2html id marker 1047
$\displaystyle J= \left(\begin{array}{ccc} 0 & 0 & 1 \\  0 & 1 & 0 \\  1 & 0 & 0 \end{array}\right),$    

both algorithms give accurate results. The eigenvalue solver of Matlab gives the following result:

$\displaystyle \left[ 9.818181818181818 \cdot 10^{-1}, 9.900000000000000 \cdot 10^{19} , 1.000000000000000 \cdot 10^{40} \right].$    

and the results based on the construction of the semiseparable matrix are exactly the same up to sixteen digits.


next up previous
Next: A review of the Up: The reduction towards tridiagonal Previous: The algorithms and the
Raf Vandebril 2004-06-04