Next: A review of the
Up: The reduction towards tridiagonal
Previous: The algorithms and the
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
. By applying an extra initial
transformation, one can change the starting vector
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
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
|
|
There are three clusters of eigenvalues where the relative gap between the first and second cluster
is equal to
and the same as the relative gap between the second and third cluster.
The first cluster has 20 eigenvalues geometrically distributed between
and
,
the second cluster 20 eigenvalues between
and
and the
third 60 eigenvalues between
and
.
Let us first look at Figure 2 showing the behavior of the
Ritz values for this example. In each step of the reduction algorithm
(
-axis), a cross is placed if a Ritz value of the already
semiseparable part of the matrix approximates a
real eigenvalue up to
correct digits.
Figure 2:
Behavior of the Ritz values
|
|
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
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
|
|
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
will converge towards the subspace corresponding to the first cluster. The
convergence factor will be
. This can clearly be seen in
Figure 4. This figure shows for each step
in the
algorithm the norms of the subdiagonal blocks
for
.
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
.
Figure 4:
Norms of subdiagonal matrices during the semiseparable reduction
|
|
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
. The parallel lines in the figure
having a smaller slope correspond to the subspace convergence behavior inside
each of the clusters. Hence, at step
a first diagonal
block can be deflated while at step
the next diagonal
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
algorithm cannot solve. We consider the following matrix:
, where
,
and  |
|
The eigenvalues of the matrix
are the following:
The eigenvalues computed by the routine
in Matlab gives the following results:
One can see that the eigenvalue solver of Matlab, was only able to calculate one eigenvalue correctly.
When we reduce the matrix
to semiseparable form we get the following matrix:
One eigenvalue already converged, and computing the eigenvalues of the upper left
by
block, we get the following eigenvalues:
So all the eigenvalues can be computed when first using the reduction to semiseparable
form, and this up to at least
correct digits.
Calculating the eigenvalues of the matrix
with
both algorithms give accurate results.
The eigenvalue solver of Matlab gives the following result:
and the results based on the construction of the semiseparable matrix are exactly the
same up to sixteen digits.
Next: A review of the
Up: The reduction towards tridiagonal
Previous: The algorithms and the
Raf Vandebril
2004-06-04