Some special examples

In this subsection we will apply the new method onto some specific generated examples, to illustrate the convergence behavior in case both shifts do not work separately, but interact with each other. See also Example 1. This means that for a matrix $ A$ convergence is forced by the shift $ \sigma_i$ to the block $ A(k+1:n,k+1:n)$, and the shift $ \kappa_i$ forces convergence to the block $ A(1:k,1:k)$. Hence the convergence behavior of both shifts coincides. This behavior can create very fast convergence, but it can also help convergence in difficult cases, where the traditional $ QR$-algorithm might fail.

For the first case we generated a random nonsymmetric matrix of size $ 100$ having one eigenvalue of size $ 10$ and $ 99$ eigenvalues close to $ 1$. These eigenvalues were constructed by adding a random perturbation of the size $ \approx 10^{-1}$ to $ 1$. This matrix is then processed by the new iteration and the traditional $ QR$-iteration.

For the first plotted figures (Figure 5) we assumed no initial knowledge on the eigenvalues and just ran both methods. The traditional $ QR$-method (shown in the right figure) uses the Rayleigh shift, and the new method (shown left) uses both bottom right and upper left element as a shift. In some cases both methods converge equally accurate but also in some cases we obtain the following results. The figures clearly illustrate that an initial badly chosen shift (e.g., close to $ 1$), creates poor convergence for the $ QR$-method, whereas the new method is less sensitive due both cooperating iterations at the top and bottom.

Figure 5: Convergence comparison
% latex2html id marker 4468
\includegraphics[width=0.45\textwidth]{tunedqrq} % latex2html id marker 4469
\includegraphics[width=0.45\textwidth]{tunedqr}

In the second figure (Figure 6), we repeat the same experiment, but we plot now an example in which both methods converge. It can be seen in the figures that the new approach converges almost twice as fast.

Figure 6: Convergence comparison
% latex2html id marker 4473
\includegraphics[width=0.45\textwidth]{tunedqrq2} % latex2html id marker 4474
\includegraphics[width=0.45\textwidth]{tunedqr2}

In the next example the difference is more clearly visible. We considered a matrix having two large clusters of $ 50$ eigenvalues, $ 50$ eigenvalues of size $ 1$ randomly disturbed by elements of size $ 10^{-1}$ and $ 50$ eigenvalues of size $ 10$ plus a random element of size $ 1$, in both cases we wanted to see if the methods revealed both clusters. The figures show that the new method has a higher convergence rate.

Figure 7: Convergence comparison
% latex2html id marker 4492
\includegraphics[width=0.45\textwidth]{tunedqrq3} % latex2html id marker 4493
\includegraphics[width=0.45\textwidth]{tunedqr3}

Of course there are many more similar experiments, but these illustrate the properties inherited by the new convergence behavior.

Raphael Vandebril 2007-12-10