Accuracy, experiment 2

In the following set of experiments we compute a relative error involving the eigenvalues and eigenvectors. We solve in fact the first problem involving the quasiseparable matrix $ A$ of the two equivalent problems:
$\displaystyle A\mathbf{y}$ $\displaystyle =$ $\displaystyle \lambda \mathbf{y},$  
$\displaystyle L^{-1} T L^{-T} (L^T \mathbf{x} )$ $\displaystyle =$ $\displaystyle \lambda (L^T \mathbf{x} ).$  

We compute hence the eigenvalues $ \lambda_i$ corresponding to the eigenvectors $ \mathbf{y}_i$. To obtain the eigenvectors $ \mathbf{x}_i$ of the generalized eigenvalue problem, we need to compute the following:

$\displaystyle \mathbf{x}_i = L^{-T} \mathbf{y}.$    

As we know from the theoretical results, the matrix $ L^{-T}$ is an upper triangular semiseparable matrix. Moreover the representation in terms of Givens transformations and a vector is known. The multiplication between the matrix $ L^{-T}\mathbf{y}$ can easily be performed in $ O(n)$ operations (see e.g.[28]).

For the following set of experiments we took matrix sizes ranging from $ 100$ to $ 2000$ and $ 5$ experiments for each size were considered. The tridiagonal matrix $ T$ has random diagonal and subdiagonal elements. The matrix $ S$ has random subdiagonal elements and the diagonal elements were taken $ S(i,i)=2*\max(S(i,i-1),S(i,i+1))+1$, in order to make the matrix positive definite and well conditioned.

We considered the following relative backward error:

$\displaystyle \max_i \left( \frac{\Vert T\mathbf{x}_i - \lambda_i S \mathbf{x}_...
...\mathbf{x}_i\Vert _2+\vert\lambda_i\vert\;\Vert S\mathbf{x}_i\Vert _2)}\right),$    

where the eigenvectors $ \mathbf{x}_i=L^{-T}\mathbf{y}_i$ and the eigenvalues $ \lambda_i$ and eigenvectors $ \mathbf{y}_i$ were computed using the presented method.

Figure 3: Accuracy of the eigenvalues/eigenvectors
\includegraphics[scale=0.6]{acc2}

Raphael Vandebril 2007-07-17