• No results found

4.2 MR and OR Approximations from Krylov Subspaces

4.2.2 Krylov Subspace Methods Based on Non-Orthogonal

The previous section showed how several well-known Krylov subspace algorithms for the iterative solution of (1.1) which use an orthogonal basis of Vm = Km(A, r0) result from specializing the basic algorithms of Chapters 2 and 3 to Krylov subspaces as correction spaces. In the same manner, we show in this section how Krylov subspace methods such as QMR/BCG and TFQMR/CGS, which use a non-orthogonal basis of the Krylov space, naturally fit into the framework of MR/OR approximations based on non-orthogonal bases

Algorithm 4.2.3 GMRES and FOM for Krylov spaces.

1 r0 := b − Ax0, β :=kr0k, v1 := r0

2 for j := 1 to m

3 w := Avm

4 for i = 1 to j

5 hi,j := (w , vi)

6 w := w − hi,jvi

7 end

8 hj+1,j :=kw k

9 vj+1 := w /hj+1,j

10 end

11 Compute ymMRto minimize kβu1(m+1)− eHmyk

12 Compute ymOR to solve Hmy = βu1(m)

13 xmMR:= x0+ VmymMR

14 xmOR:= x0+ VmymOR

discussed in Section 2.3.3.

To this end, let v1, v2, . . . , vL ∈ H be any set of linearly independent vectors such that {v1, v2, . . . , vm} form a basis of Vm = Km(A, r0) for m = 1, . . . , L (in particular, r0 = βv1 for some 06= β ∈ C). This basis leads naturally to a (quasi)-minimal residual as well as to a (quasi-) orthogonal residual method. Since, for every 1 ≤ m ≤ L, Avm ∈ span{v1, v2, . . . , vm+1}, where we set vL+1 = 0, there exists an upper Hessenberg matrix Hem ∈ C(m+1)×m such that—just as in (2.39) and in (4.3)—

AVm = VmHm+ [0, . . . , 0, ηm+1,mvm+1] = Vm+1Hem. (4.10) Just as in the Arnoldi decomposition (4.3) in the case of an orthogonal basis, the m-th column of eHm contains the coefficients of Avm ∈ Km+1(A, r0) with respect to the basis vectors v1, . . . , vm+1. We are thus in the situation of Section 2.3.3, with Vm = Km(A, r0) andWm= AVm. Defining the auxiliary inner products (·, ·)V on VL and (·, ·)v

on the coordinate space CL as in (2.68) and (2.67), respectively, we obtain the QMR approximation

xmQMR:= x0+ VmymQMR= x0+ vmQMR

of the solution A−1b by requiring that AvmQMR be the MR approximation to r0 with respect to the inner product (·, ·)V. Just as in Section 2.3.3, the coefficient vector ymQMR ∈ Cm is characterized as the unique solution of the least-squares problem (2.44). Merely translating Theorems 2.3.9 and 2.3.10 to Krylov subspace notation, we obtain

Theorem 4.2.5. The QMR iterates are the MR iterates with respect to the inner product (·, ·)V:

kb − AxmQMRkV = min

x∈x0+Km(A,r0)kb − Ax kV. (4.11)

In terms of the original norm in H , the MR and QMR residuals may be bounded by krmMRk ≤ krmQMRk ≤p

κ2(Mm)krmMRk, (4.12) in which κ2(Mm) denotes the (Euclidean) condition number of the (Hermitian positive definite) matrix Mm.

Theorem 4.2.6. The residual vectors of the QMR iterates are characterized by rmQMR⊥ Um,

where Um = {v = Vm+1y ∈ Km+1(A, r0) : y = Mm−1Hemz with z ∈ Cm} is an m-dimensional subspace of Km+1(A, r0) (for m = L, there holds UL = KL(A, r0)) and orthogonality is understood with respect to the original inner product (·, ·) on H . Conse-quently,

rmQMR = I− PWUmm r0, where PWUm

m denotes the oblique projection onto Wm= AKm(A, r0) orthogonal to Um. Again drawing from the abstract results in Section 2.3.3, the corresponding QOR approximations in the Krylov subspace case are defined by

xmQOR = x0+ VmymQOR, where the coordinate vector ymQOR ∈ Cm is determined by

0 = (βu1− eHmymQOR, uj)2 (j = 1, 2, . . . , m), i.e., HmymQOR= βu1 (4.13) under the usual assumption that Hm is nonsingular. In terms of the inner product (·, ·)V

on KL(A, r0) the QOR approximations are characterized by rmQOR= b − AxmQORV Km(A, r0),

i.e., the QOR iterates are the OR iterates with respect to the inner product (·, ·)V. Simi-larly to Theorem 2.3.10 there holds

Theorem 4.2.7. The residual vectors of the QOR iterates satisfy rmQOR ⊥ Tm,

where Tm = {v = Vm+1y ∈ Km+1(A, r0) : y = Mm−1[zT 0]T with z ∈ Cm} is an m-dimensional subspace of Km+1(A, r0) (for m = L, there holds TL = KL(A, r0)) and orthogonality is understood with respect to the original inner product (·, ·) on H . Conse-quently,

rmQOR= I− PWTmm r0, where PWTm

m denotes the oblique projection onto Wm = AKm(A, r0) orthogonal to Tm.

The QMR and QOR iterates being identified as MR and OR iterates with respect to the inner product (·, ·)V implies that the assertions of Corollaries 4.2.1 and 4.2.4 are valid for any pair of QMR/QOR methods. The crucial angles ϕm of (4.8), however, are now defined with respect to (·, ·)V.

The motivation for using non-orthogonal bases comes from the potential savings in storage and computation when using algorithms for generating a basis ofKm(A, r0) which lead to a Hessenberg matrix in relation (4.10) with a small number of bands. A tridiag-onal Hessenberg matrix can be achieved using the non-Hermitian Lanczos process. The non-Hermitian variant of the Lanczos process is almost as economical as its Hermitian counterpart, requiring in addition the generation of a basis of a Krylov space with respect to the adjoint A and thus storage for several additional vectors and, what can be expen-sive, multiplication by A at each step. The result are two biorthogonal, in general not orthogonal, bases. The non-Hermitian Lanczos process may break down before the Krylov space becomes stationary, and in finite arithmetic this leads to numerical instabilities in the case on near-breakdowns. This problem is addressed by so-called look-ahead tech-niques for the non-Hermitian Lanczos process (cf. Freund, Gutknecht & Nachtigal (1993), Gutknecht (1997) and the references therein), which result in a pair of block-biorthogonal bases and a Hessenberg matrix which is as close to tridiagonal form as possible while maintaining stability.

Remark 4.2.8. We have mentioned that Krylov subspace QMR/QOR methods have the advantage of being able to work with an arbitrary basis of the Krylov space, in particular also with a non-orthogonal basis. As the bounds (4.12) show, how close the QMR iterates come to also minimizing the residual in the original norm depends on the Euclidean condition number of the Gram matrices Mm, i.e., on the largest and smallest singular value of Vm = [v1, . . . , vm] (interpreted as an operator from Cm to Km(A, r0)). The largest singular value of Vm is bounded by √

m if the basis vectors are normalized with respect to the original norm. When the look-ahead Lanczos algorithm is used to generate the basis, bounds on the smallest singular value may be obtained depending on the look-ahead strategy being followed.

Example: QMR/BCG and TFQMR/CGS

We now consider two particular examples of Krylov subspace QMR/QOR algorithms, the QMR method of Freund & Nachtigal (1991) and the TFQMR and CGS methods due to Freund (Freund 1993, Freund 1994) and Sonneveld (1989), respectively. As another QMR/QOR pair, we mention the QMRBICGSTAB method of Chan, Gallopoulos, Si-moncini, Szeto & Tong (1994) and BICGSTAB developed by van der Vorst (1992) and Gutknecht (1993b).

The QMR algorithm of Freund and Nachtigal proceeds exactly as described above, with the basis of the Krylov space generated by the look-ahead Lanczos algorithm. The QOR counterpart of Freund and Nachtigal’s QMR is the BCG algorithm, the iterates of which are characterized by

xBCG ∈ x0+Km(A, r0), rmBCG ⊥ Km(A,re0).

The algorithm proceeds by generating a basis of the Krylov space Km(A,er0), whereer0 is an arbitrary starting vector, simultaneously with a basis Vm of Km(A, r0) in such a way

that these two bases are biorthogonal. If y ∈ Cm denotes the coefficient vector of the BCG approximation with respect to Vm, then the biorthogonality requirement implies

rmBCG = Vm+1(βu1− eHmy )⊥ Km(A,re0)

⇔ rmBCGV Vm

⇔ Hmy = βu1.

The last equality identifies xBCG as the m-th QOR iterate.

To treat the TFQMR/CGS pair, recall that the residual of any Krylov subspace ap-proximation can be expressed as rm = φm(A)r0 in terms of a polynomial φm of degree m satisfying φm(0) = 1. Sonneveld (1989) defined the CGS iterate xmCGS ∈ x0+K2m(A, r0) such that

rmCGS = [φm(A)]2r0, where rmBCG = φm(A)r0.

It is shown in Freund (1993) that xmCGS = x0+ Y2mz2m for a coefficient vector z2m ∈ C2m, whereK2m(A, r0) = span{y1, . . . , y2m}. Moreover, there exists a sequence {wn} such that r0 = βw1 and

AYn= Wn+1Hen, n = 1, . . . , 2L.

In terms of this sequence, there holds

rmCGS = W2m+1

βu1− eH2mz2m , where H2mz2m= βu1, i.e.,

rmCGSW span{w1, . . . , w2m} = AK2m(A, r0),

which identifies CGS as an OR method. The corresponding MR method is Freund’s transpose-free QMR method TFQMR (cf. Freund (1993),Freund (1994)), the iterates of which are defined as

xnTFQMR = x0+ Ynzn, n = 1, . . . , 2L, where the coefficient vector zn∈ Cn solves the least-squares problem

kβu1− eHnznk2 → min

z∈Cn. In other words,

krnTFQMRkW = min

x∈x0+Kn(A,r0)kb − Ax kW. Comparison of Residuals

The availability of a sequence of vectors{evj}j≥1 which is biorthogonal to the Krylov basis {vj} permits a convenient representation of the QOR residual via (2.48). If

(vj,vek) = δjkdj, j, k = 1, . . . , L,

and if both sequences are normalized to one, then, since the MR-residual at step m− 1 lies in Wm−1 ⊂ Vm, we have rmMR−1 = Pm

j=1(rmMR−1,vej/dj)vj. Inserting r − w = rmMR−1 in (2.48) then yields

rmQOR = (rm−1MR,wbm+1)Vvm+1 = vm+1

m

X

j=1

gj

dj(rm−1MR,evj)vj,

which, after taking norms and applying the Cauchy-Schwarz inequality, becomes krmQORk ≤ krmMR−1k

m

X

j=1

|gj|

|dj|.

This bound is a slightly improved version of a bound by Hochbruck & Lubich (1998).