next up previous contents index
Next: Unreduced upper triangular semiseparable Up: An implicit -algorithm for Previous: An implicit -algorithm for   Contents   Index


The standard $ QR$-method for the calculation of the singular values

This section is based on [91, p. 448-460].

Let $ A\in \mathbb{R}^{m\times n}$. Without loss of generality, assume that $ m \geq n$. In a first phase the matrix $ A$ is transformed into a bidiagonal one by orthogonal transformations $ U_B$ and $ V_B$ to the left and to the right, respectively, i.e.,

% latex2html id marker 37993
$\displaystyle U_B^TAV_B = \left(\begin{array}{c}
B \\
0
\end{array}\right),$    with % latex2html id marker 37994
$\displaystyle B=\left(\begin{array}{ccccc}
d_1 & f...
...s & & \ddots &\ddots & f_{n-1} \\
0 & \cdots & & 0 & d_n
\end{array}\right).
$

Without loss of generality we can assume that all the elements $ f_i$ and $ d_i$ in the matrix $ B$ are different from zero [91, p. 454]. Knowing $ B,$ the $ QR$-method is applied to it. The latter method generates a sequence of bidiagonal matrices converging to a block diagonal one.

Here a short description of one iteration of the $ QR$-method is considered. More details can be found in [91, p. 452-456].

Let $ \tilde{V}_1 $ be the Givens rotation

\begin{displaymath}
% latex2html id marker 38010
\tilde{V}_1 = \left(
\begin{ar...
...ht)=
\left(
\begin{array}{c}
\times \\  0
\end{array}\right),
\end{displaymath}

where $ \kappa $ is a shift. We consider here the Wilkinson shift of the matrix $ B^TB$. Let $ V_1
= \diag(\tilde{V}_1,I_{n-2}), $ with $ I_k, k\ge 1, $ the identity matrix of order $ k. $ The matrix $ B$ is multiplied to the right by $ V_1$, introducing the bulge denoted by $ \otimes$ in the matrix $ B V_1, $

% latex2html id marker 38030
$\displaystyle %% B\leftarrow
BV_1=\left(\begin{arr...
... & \times & \times & 0 & \cdots \\
& & & \ddots & \ddots
\end{array}\right). $

The remaining part of the iteration is completed applying $ 2n-3
$ Givens rotations, $ U_1, \ldots, U_{n-1}, $ $ V_2,
\ldots, V_{n-1}$ moving the bulge along the bidiagonal and eventually removing it,

% latex2html id marker 38038
$\displaystyle %% B\leftarrow
U^TB V = %% \hat{B}=
...
... & \times & \\
& & & \times & \times \\
& & & & \times
\end{array}\right). $

Hence, the bidiagonal structure is preserved after one iteration of the $ QR$-method. It can be seen that $ Ve_1=V_1e_1,
$where $ e_1$ is the first vector of the canonical basis.

We will now relate the chasing algorithm presented above to the $ QR$-factorization of the related tridiagonal matrix $ B^TB$, because in the next part, we will describe a similar algorithm for upper triangular semiseparable matrices $ S_u$ and we will base this algorithm on a $ QR$-step applied to the semiseparable matrix $ S=S_u^T S_u$.

Suppose we have the bidiagonal matrix $ B$ and we want to compute its singular values. A naive way to do this consists of calculating the eigenvalues of the symmetric tridiagonal matrix $ T=B^TB$. In fact this is not a good idea, because it will square the condition number. Let us apply now one step of the $ QR$-algorithm to this tridiagonal matrix $ T$.

% latex2html id marker 38064
$\displaystyle \left\{ \begin{array}{rcl} B^TB- \kappa I & = & QR \\  \tilde{T} & = & RQ+\kappa I . \end{array} \right.$    

Let us compare this with the transformations applied to the matrix $ B$ as described above, $ B$ is transformed into another upper bidiagonal matrix $ \tilde{B}=U^TB V$. This means that we have the following two equations:

% latex2html id marker 38072
$\displaystyle \left\{ \begin{array}{rcl} \tilde{T}...
...T ( B^T B) Q \\  \tilde{B}^T\tilde{B} & = & V^T ( B^T B) V. \end{array} \right.$    

We know that $ Qe_1 = Ve_1$. Using the implicit $ Q$-theorem for tridiagonal matrices, we get the following result.

Theorem 78 (Implicit $ Q$-theorem, from [91, p. 416])   Suppose $ Q =[q_1,\ldots,q_n] $ and $ V =[v_1,\ldots,v_n] $ are orthogonal matrices with the property that both $ Q^T A Q =T$ and $ V^T A V =S$ are tridiagonal where $ A\in\mathbb{R}^{n\times n}$ is symmetric. Let $ k$ denote the small positive integer for which $ t_{k+1,k} =0$ with the convention that $ k=n$ if $ T$ is irreducible. If $ v_1 = q_1, $ then $ v_i=\pm q_i $ and $ \vert t_{i,i-1}\vert
= \vert s_{i,i-1}\vert$ for $ i=2,\ldots,k$. Moreover, if $ k< n, $ then $ s_{k+1,k} =0$.

We know that the matrices $ \tilde{T}$ and $ \tilde{B}^T\tilde{B}$ are essentially the same. This means that if $ \tilde{T}$ converged to an eigenvalue, then $ \tilde{B}$ converged to a singular value. Moreover, using the technique as described in the beginning of this section we can calculate the singular values, without explicitely forming the product $ B^TB$, which would have squared the condition number of the matrix.

Summarizing, the $ QR$-method for computing the singular values of a matrix $ A\in \mathbb{R}^{m\times n}$ can be divided into two phases.

Phase 1
Reduction of $ A$ into a bidiagonal matrix $ B$ by means of orthogonal transformations.
Phase 2
The $ QR$-method to compute the singular values is applied to $ B. $

In the new method, the role of the bidiagonal matrices is played by upper triangular semiseparable matrices, which are the inverses of bidiagonal matrices, as proved in Theorem 17.

For this $ QR$-method there are some important issues. First of all the involved bidiagonal matrix is unreduced. Secondly, the knowledge of the first column of the orthogonal factor of the $ QR$-factorization of $ B^TB - \kappa I$, is very important and will make sure that the implicit $ Q$-theorem can be applied afterwards. Moreover, after each iteration of the $ QR$-method the bidiagonal structure of the involved matrices is preserved.

In this section we will derive what is meant with an unreduced upper triangular semiseparable matrix. We will prove that one iteration of the implicit $ QR$-method applied to an upper triangular semiseparable matrix $ S_u$ is uniquely determined by the first column of the orthogonal factor $ Q$ of the $ QR$-factorization of

$\displaystyle {S_u}^TS_u -\kappa I,$ (8.5)

where $ \kappa $ is a suitable shift. Exploiting the particular structure of matrix (8.5), we will show how the first column of $ Q$ can be computed without explicitly computing $ {S_u}^TS_u$. Finally we will make sure that the resulting matrix after one step of the implicit $ QR$-method is again an upper triangular semiseparable matrix.


next up previous contents index
Next: Unreduced upper triangular semiseparable Up: An implicit -algorithm for Previous: An implicit -algorithm for   Contents   Index
Raf Vandebril 2004-05-03