A Refined Jacobi-Davidson Method and Its Correction Equation

Similar documents
Arnoldi Methods in SLEPc

A HARMONIC RESTARTED ARNOLDI ALGORITHM FOR CALCULATING EIGENVALUES AND DETERMINING MULTIPLICITY

of dimension n 1 n 2, one defines the matrix determinants

HARMONIC RAYLEIGH RITZ EXTRACTION FOR THE MULTIPARAMETER EIGENVALUE PROBLEM

Alternative correction equations in the Jacobi-Davidson method

Matrix Algorithms. Volume II: Eigensystems. G. W. Stewart H1HJ1L. University of Maryland College Park, Maryland

ECS231 Handout Subspace projection methods for Solving Large-Scale Eigenvalue Problems. Part I: Review of basic theory of eigenvalue problems

Numerical Methods in Matrix Computations

problem Au = u by constructing an orthonormal basis V k = [v 1 ; : : : ; v k ], at each k th iteration step, and then nding an approximation for the e

EIGIFP: A MATLAB Program for Solving Large Symmetric Generalized Eigenvalue Problems

Application of Lanczos and Schur vectors in structural dynamics

Index. for generalized eigenvalue problem, butterfly form, 211

Iterative methods for symmetric eigenvalue problems

ITERATIVE PROJECTION METHODS FOR SPARSE LINEAR SYSTEMS AND EIGENPROBLEMS CHAPTER 11 : JACOBI DAVIDSON METHOD

Alternative correction equations in the Jacobi-Davidson method. Mathematical Institute. Menno Genseberger and Gerard L. G.

FEM and sparse linear system solving

Key words. conjugate gradients, normwise backward error, incremental norm estimation.

QR-decomposition. The QR-decomposition of an n k matrix A, k n, is an n n unitary matrix Q and an n k upper triangular matrix R for which A = QR

A JACOBI-DAVIDSON ITERATION METHOD FOR LINEAR EIGENVALUE PROBLEMS. GERARD L.G. SLEIJPEN y AND HENK A. VAN DER VORST y

4.8 Arnoldi Iteration, Krylov Subspaces and GMRES

EIGENVALUE PROBLEMS. EIGENVALUE PROBLEMS p. 1/4

On the Modification of an Eigenvalue Problem that Preserves an Eigenspace

RANA03-02 January Jacobi-Davidson methods and preconditioning with applications in pole-zero analysis

Davidson Method CHAPTER 3 : JACOBI DAVIDSON METHOD

A Jacobi Davidson-type projection method for nonlinear eigenvalue problems

AMS526: Numerical Analysis I (Numerical Linear Algebra) Lecture 23: GMRES and Other Krylov Subspace Methods; Preconditioning

DELFT UNIVERSITY OF TECHNOLOGY

APPLIED NUMERICAL LINEAR ALGEBRA

Krylov subspace projection methods

Eigenvalue Problems CHAPTER 1 : PRELIMINARIES

1. Introduction. In this paper we consider the large and sparse eigenvalue problem. Ax = λx (1.1) T (λ)x = 0 (1.2)

MICHIEL E. HOCHSTENBACH

PERTURBED ARNOLDI FOR COMPUTING MULTIPLE EIGENVALUES

Computation of eigenvalues and singular values Recall that your solutions to these questions will not be collected or evaluated.

Numerical Methods I Eigenvalue Problems

LARGE SPARSE EIGENVALUE PROBLEMS. General Tools for Solving Large Eigen-Problems

Chapter 3 Transformations

AMS526: Numerical Analysis I (Numerical Linear Algebra)

CONTROLLING INNER ITERATIONS IN THE JACOBI DAVIDSON METHOD

Numerical Methods for Solving Large Scale Eigenvalue Problems

LARGE SPARSE EIGENVALUE PROBLEMS

c 2006 Society for Industrial and Applied Mathematics

An Arnoldi Method for Nonlinear Symmetric Eigenvalue Problems

Numerical Methods - Numerical Linear Algebra

Approximating the matrix exponential of an advection-diffusion operator using the incomplete orthogonalization method

The Lanczos and conjugate gradient algorithms

Preconditioned inverse iteration and shift-invert Arnoldi method

A hybrid reordered Arnoldi method to accelerate PageRank computations

DELFT UNIVERSITY OF TECHNOLOGY

MATH 304 Linear Algebra Lecture 34: Review for Test 2.

ABSTRACT. Professor G.W. Stewart

Applied Mathematics 205. Unit V: Eigenvalue Problems. Lecturer: Dr. David Knezevic

Controlling inner iterations in the Jacobi Davidson method

Universiteit-Utrecht. Department. of Mathematics. Jacobi-Davidson algorithms for various. eigenproblems. - A working document -

Key words. linear equations, polynomial preconditioning, nonsymmetric Lanczos, BiCGStab, IDR

The quadratic eigenvalue problem (QEP) is to find scalars λ and nonzero vectors u satisfying

An Asynchronous Algorithm on NetSolve Global Computing System

Deflation for inversion with multiple right-hand sides in QCD

A Jacobi Davidson Method for Nonlinear Eigenproblems

A Jacobi Davidson type method for the product eigenvalue problem

Polynomial Jacobi Davidson Method for Large/Sparse Eigenvalue Problems

DELFT UNIVERSITY OF TECHNOLOGY

Linear Algebra and its Applications

Jacobi s Ideas on Eigenvalue Computation in a modern context

Bounding the Spectrum of Large Hermitian Matrices

HOMOGENEOUS JACOBI DAVIDSON. 1. Introduction. We study a homogeneous Jacobi Davidson variant for the polynomial eigenproblem

Charles University Faculty of Mathematics and Physics DOCTORAL THESIS. Krylov subspace approximations in linear algebraic problems

arxiv: v1 [math.na] 1 Sep 2018

A Domain Decomposition Based Jacobi-Davidson Algorithm for Quantum Dot Simulation

EINDHOVEN UNIVERSITY OF TECHNOLOGY Department ofmathematics and Computing Science

Contents. 1 Repeated Gram Schmidt Local errors Propagation of the errors... 3

ON ORTHOGONAL REDUCTION TO HESSENBERG FORM WITH SMALL BANDWIDTH

Math 102, Winter Final Exam Review. Chapter 1. Matrices and Gaussian Elimination

The Conjugate Gradient Method

Augmented GMRES-type methods

5.3 The Power Method Approximation of the Eigenvalue of Largest Module

Math 411 Preliminaries

Course Notes: Week 1

Krylov Subspace Methods that Are Based on the Minimization of the Residual

S.F. Xu (Department of Mathematics, Peking University, Beijing)

Henk van der Vorst. Abstract. We discuss a novel approach for the computation of a number of eigenvalues and eigenvectors

Solution of eigenvalue problems. Subspace iteration, The symmetric Lanczos algorithm. Harmonic Ritz values, Jacobi-Davidson s method

Eigenvalue Problems. Eigenvalue problems occur in many areas of science and engineering, such as structural analysis

AN INEXACT INVERSE ITERATION FOR COMPUTING THE SMALLEST EIGENVALUE OF AN IRREDUCIBLE M-MATRIX. 1. Introduction. We consider the eigenvalue problem

On prescribing Ritz values and GMRES residual norms generated by Arnoldi processes

Linear Algebra and its Applications

I. Multiple Choice Questions (Answer any eight)

Jacobi-Davidson methods and preconditioning with applications in pole-zero analysis Rommes, J.; Vorst, van der, H.A.; ter Maten, E.J.W.

Iterative Methods for Linear Systems of Equations

Parallel Singular Value Decomposition. Jiaxing Tan

Domain decomposition on different levels of the Jacobi-Davidson method

A filter diagonalization for generalized eigenvalue problems based on the Sakurai-Sugiura projection method

MATH 304 Linear Algebra Lecture 23: Diagonalization. Review for Test 2.

Max Planck Institute Magdeburg Preprints

A DIVIDE-AND-CONQUER METHOD FOR THE TAKAGI FACTORIZATION

Harmonic Projection Methods for Large Non-symmetric Eigenvalue Problems

The amount of work to construct each new guess from the previous one should be a small multiple of the number of nonzeros in A.

Preliminary/Qualifying Exam in Numerical Analysis (Math 502a) Spring 2012

6.4 Krylov Subspaces and Conjugate Gradients

CONTROLLING INNER ITERATIONS IN THE JACOBI DAVIDSON METHOD

Transcription:

Available online at www.sciencedirectcom An Intemational Journal computers & oc,..c, mathematics with applications Computers and Mathematics with Applications 49 (2005) 417-427 www.elsevier.com/locate/camwa A Refined Jacobi-Davidson Method and Its Correction Equation SHAOQIANG FENG Department of Applied Mathematics Dalian University of Technology Dalian 116024, P.R. China sqf eng@263, net ZHONGXIAO JIA Department of Mathematical Sciences Tsinghua University Beijing 100084, P.R. China (Received February 2002; accepted January 2003) Abstract--A central problem in the Jacobi-Davidson method is to expand a projection subspace by solving a certain correction equation. It has been commonly accepted that the correction equation always has a solution. However, it is proved in this paper that this is not true. Conditions are given to decide when it has a unique solution or many solutions or no solution. A refined Jacobi-Davidson method is proposed to overcome the possible nonconvergence of Ritz vectors by computing certain refined approximation eigenvectors from the subspace. A corresponding correction equation is derived for the refined method. Numerical experiments are conducted and efficiency of the refined method is confirmed. (~) 2005 Elsevier Ltd. All rights reserved. Keywords--Jacobi-Davidson method, Refined Jacobi-Davidson method, Ritz value, Ritz vector, Refined eigenvector approximation, Correction equation, Rayleigh quotient. 1. INTRODUCTION Consider the large unsymmetric linear eigenproblem A~ = A~, (1) where A is an n x n large and sparse matrix. We are interested in computing some selected eigenvalues of A and associated eigenvectors. For this kind of problem, one must resort to pro- jection methods [1,2]. Conventional projection methods use Ritz pairs to approximate required eigenpairs. Under the natural hypothesis that the distance between a required eigenvector and the projection subspace tends to zero, it has been proved that there exists a Ritz value that converges to the wanted eigenvalue, and on the other hand, the associated Ritz vector may not Supported by the Special Funds for the State Major Basic Research Project (1999032805), the Foundation for Key Young Scholars in Chinese Universities, and the National Natural Science Foundation of China (No. 10471074). 0898-1221/05/$ - see front matter (~) 2005 Elsevier Ltd. All rights reserved. Typeset by.aa~-tex doi:10.1016/j.camwa.2003.01.018

418 S. FENG AND Z, JIA converge [3-5]. To overcome the possible nonconvergence of Ritz vectors, a class of refined projection methods has been proposed [4,6-9]. The refined methods only retain Ritz values, but instead of computing Ritz vectors, they seek a refined eigenvector approximation for each Ritz value that minimizes the norm of the residual formed with the Ritz value over the subspace involved. The convergence of refined eigenvector approximations and the refined projection methods has been analyzed [4,5,10,11]. The results show that as long as the distance between the desired eigenvector and the projection subspace approaches zero, the Ritz value and the associated refined vector will all converge. Various resulting refined algorithms have shown their superiority to their conventional counterparts [6-9]. Stewart [2] and VanderVorst [12] in their books both make a detailed discussion on the refined projection methods. The Jacobi-Davidson method [13] is one of the most commonly used projection methods. To overcome the stagnation problem of the Davidson method [14] when expanding a projection subspace, Sleijpen and Van der Vorst propose to seek new information of the desired eigenvector in the orthogonal complement of the approximate eigenvector. They compute a correction vector t from the correction equation (In- ~5~*)(A- AIn)(I~ - ~5~5") t = -r, (2) where (A, ~5) is an approximate eigenpair in the current subspace 1)k, r = A95 - ~5 is its residual, and the superscript * denotes the conjugate transpose of a matrix or vector. Throughout the paper, denote by Ilxll = (x,x) 1/2 the usual Euclidean norm. The projection subspace )2k can then be expanded to Vk+l with t, with respect to which a (hopefully) better approximation of the eigenpair can be computed. In Section 2, we briefly review the Jacobi-Davidson method. In Section 3, we review the refined projection methods and propose a refined Jacobi-Davidson method. We derive a corresponding correction equation for the refined method. Because the refined eigenvector approximation is more accurate than the Ritz vector, the resulting expanded subspace is shown to contain richer information on the required eigenvector than the subspace expanded for the Jacobi-Davidson method, so that the refined method finds a better eigenpair approximation with respect to a better subspace in the next step than the Jacobi-Davidson method. In Section 4, we make a careful analysis for the solution of the correction equation. In Section 5, we report numerical experiments to compare the new refined Jacobi-Davidson algorithm with the algorithm of Sleijpen and Van der Vorst, and the results illustrate the superiority of the refined algorithm. 2.1. The Davidson Method 2. THE JACOBI-DAVIDSON METHOD Suppose we have some subspace Yk of dimension k, over which the matrix A has a Ritz value and a corresponding Ritz vector ~5. Let us assume that an orthonormal basis for Vk is given by the vectors vl, v2,..., vk. Quite naturally, the problem of how to expand the subspace to seek a successful update for ~5 arises. To that end, Davidson, in his paper [14], proposes computing t from (DA -- ~I)t = r, where DA is the diagonal of the matrix A and r is the defect r = A~5 - A~5. The vector t is made orthogonal to the basis vectors vl, v2,...,vk, and the resulting vector is chosen as the new basis vector Vk+l, by which subspace Vk is expanded to 12k+l. It has been reported that this method can be quite successful in finding dominant eigenvalues of (strongly) diagonally dominant matrices. If we use the identity matrix I in place of the matrix DA -- ~I, the Davidson method will become the Arnoldi method [1], but it is more expensive. Therefore, it is the matrix DA - AI that results in the success of the method. The matrix (DA - ~!) -1 can be thought of as a preconditioning matrix of the vector r, so the Davidson method is a preconditioned Arnoldi method in deed. Now people have proposed many complicated preconditioning matrices in order to improve the method to solve difficult problems [15,16].

AI)z AI)~. A Refined Jacobi-Davidson Method 419 However, a better preconditioning matrix usually results in the slow convergence or even stagnation. The Jacobi-Davidson method to be introduced below will remedy the weakness to some degree. 2.2. The Jacobi-Davidson Method The Jacobi-Davidson method [13] is a significant improvement over the Davidson method. It was proposed by Sleijpen and Van der Vorst by combining the idea of Jacobi's approach for linear systems and the Davidson method. The method seeks a correction of the approximate eigenvector ~k in its orthogonal complement subspace, with which subspace Vk is expanded to ~)k+l. Then a new Ritz pair is computed with respect to ])k+l and is taken as an approximation of the desired eigenpair. This method is fairly stable compared with the Davidson method. In order to expand the subspace ];k effectively, noting that ~5 is already in l)k, we would seek a vector from span{95} ± and add it to l)k. Assume that the eigenvector ~ can be decomposed into = ~5 + z (z A- 95). Then we have A (95 + z) = A (~5 + z), or equivalently, (A - = -(A - Noting (I - ~595")(A - AI)95 = r, (I - ~595")z --= z, we can get (I - ~5#*) (A - AI) (I - ~5~*) z -- -r. (3) Since A is not known, we use the Ritz value A in place of A (I-95~*) (A- il)(i-~*)z = -r. (4) Then the correction vector z is computed from above equation and is added to ])m. Expanding ];m in such a way can overcome breakdown in the Davidson method [12,13]. ALGORITHM 1. The Jacobi-Davidson method. 1. Given the subspace dimension m, select an initial vector v, compute vl = v/]]v]], wl = Avl, hll = V~Wl, set V1 = Iv1], W1 = [Wl], H1 = [hi1], u = Vl, ~ = hll, and compute r ~--- W 1 -- ~. 2. For k = 1,..., m - 1 do (a) Solve t i 95 from (I- ~*)(A- ~I)(I- #95")t =-r. (b) Orthogonalize t against Vk via modified Gram-Schmidt to get Vk+l, and expand Vk with this vector to Vk+l. (c) ~k+l = Avk+l, W~+I = [Wk,~k+l], Hk+l = [Hk, Y; ~k+l,vk+lwk+l]. (d) Compute the largest eigenpair (A, s) of Hk+l with ]]sll = 1. (e) ~ = Vk+lS, r = Wk+ls - A~, and test for convergence. If satisfied, then stop else continue. 3. Restart: Set V1 -- [~], W1 = [Wk+ls],//1 -- [A], and goto 2.

420 S. FENG AND Z. JIA 3. THE REFINED JACOBI-DAVIDSON METHOD 3.1. Refined Projection Method Given a subspace 12k of dimension k, let Vk be an n x k matrix whose columns form an orthonormal basis of l?k. Then Hk = V~AVk is the projection matrix of A with respect to the subspace 12k under the basis Vk. If the pair (~, ~) satisfies vk, ll ll = 1, A~5 - ~5 ± "Pk, (5) it is called the Ritz pair of A with respect to the subspace Vk. The Ritz value ~ is the eigenvalue of Hk, and the Ritz vector ~5 = Vks, where s is the eigenvector of Hk associated with ~. As was pointed out before, under the assumption that the deviation of qo from /)k tends to zero, ~3 may not converge even though ~ converges. To correct this problem, Jia has proposed a refined projection method [6] as follows: it retains ~ and seeks a new unit norm vector ~ E )?k satisfying the optimality property ~,e'v.~,lb, ll=l (6) to approximate ~. So fi is the best approximation to ~ from ]?k with respect to ~ and the Euclidean norm. We call ~ a refined Ritz vector or more generally a refined eigenvector approximation. Assume z to be the right singular vector associated with the smallest singular value of the matrix AVk - ~Vk. Then it is readily shown that (A - ~I) '5 =Crmin(AYk-~Vk), ~=Vkz. It is proved [11] that ~ 7~ ~3 unless H(A - ),I)~311 = 0, i.e., the Ritz pair is an exact eigenpair of A. Furthermore, if ]I(A - ),I)q31] 0, then if at least one other Ritz value is very ill conditioned, then I( may occur. Therefore, ~ can be much more accurate than q3. Moreover, we can also use Rayleigh quotient p -- ~*A~ to approximate the eigenvalue instead of ),. Since I] (A- pi)~ll < I] (A-~I)fill, p can be a more accurate approximation to )~ than ~. 3.2. The Refined Jacobi-Davidson Method Now let us derive a refined Jacobi-Davidson method and an associated correction equation. Define B -- (I - ~*)A(I - ~*). Then we have A = B + A~5* + fi~*a - pfifi*, p = ~*Afi. (8) Similar to the Jacobi-Davidson method, we want to find a good vector in span(g} ± to expand the subspace ~)k. Let ~ ----- 5 + v (with v _L ~). Then A(~+v)=A(~+v). (9)

A Refined Jacobi-Davidson Method 421 Define? = A~ - p~, then 5"~ = 0. After inserting (8) into (9) and noting that B5 = 0, we get (B - M)v = -~ + (~ - p - (t*av) ~. Since ~*(B - )~I)v = 0, ~*~ = 0, it follows that the factor for ~ in the right-hand side must vanish. Hence, v should satisfy (B - M)v = -~. (10) In practice, ), is not known, and we must be content with replacing,~ by the Rayleigh quotient p of ft. Therefore, with v _L 5, we have (I - ~tfi*) (A - pi) (I - ~*) v = -~, v _k ~. (11) REMARKS. Compared with the correction equation (4) in the Jacobi-Davidson method, now the Ritz value ~ is replaced by the Rayleigh quotient p and the right-hand side is replaced by ~. We must point out that if ~ is replaced by Aft - ~fi in (11), then there is no solution to (11). The reason is that the left-hand side of (11) is orthogonal to ~ for any v but Aft - ~fi is not. From (11), we can get (A - pi)v = au - r, a = ~*(A - pi)v. (12) Since ~ = (A - pi)~, v = a(a - pi)-~t - ~. Moreover, ~ ~ ~;~ has no effect when expanding ])~. Therefore, as far as the expansion of Y~ is concerned, v is equivalent to = (A - pl)-~. (13) By a similar argument, we know that adding z in (4) to ])k amounts to expanding ~)k with Let us expand fi, ~5 as Then i i ~, 5 = E, ~ ~i" (16) Now on the one hand, since the residual norm of (p, fi) is smaller than that of (~,~), p is usually more accurate than ~. On the other hand, since ~ is generally a better approximation than ~5, we generally have 1711 > b?l I- This means that in such a way we can obtain a better k + 1-dimensional subspace ])k+l in the refined Jacobi-Davidson method than that in the Jacobi-Davidson method. From above, we have seen that for the refined method, each expansion of )2k needs to compute a refined eigenvector approximation. This will compute the singular values and the right singular vectors of AVk - ~Vk using at least 2nk 2 flops. If the dimension of the projection subspace increases to m, about (2/3) nm 3 flops are needed. This is expensive and comparable to the cost of the generation of orthonormal bases of ])k, k = 1,2,...,m. The method proposed by Jia in [17] can remedy the shortage. Let C = (AVm -~Vm)*(AVm-~Vm). Then we can compute the smallest singular value and associated right singular vector of AVk -- ~Vk accurately by solving the eigenproblem of matrix C[1 : k, 1 : k]. ALGORITHM 2. The refined Jacobi-Davidson method. 1. Given the subspace dimension m, select initial vector v, compute vl = v/llvll, wl = Avl, hll = v{wl, tll = W~Wl, set V1 = [Vl], W1 = [Wl], H1 -- [h11], T1 = [till, u -- Vl, p = h11, and compute ~ = wl - pu.

422 S. FENO AND Z. JIA 2. For k = 1,...,m- 1 do (a) Solve t _I_ ~, (I - tiff*) (A - pi) (I - ~*) t = -~. (b) Orthogonalize t against Vk by modified Gram-Schmidt to get Vk+l, then expand Vk to Vk+ 1. (c) wk+l = Ark+l, Wk+ = Hk+ = [Hk, V;wk+1;V;+lWk+l]. (d) Compute the largest eigenvalue A of Hk+l, set Tk+l = [Tk, W;wk+l, wk+lwk+l ], and compute the eigenvector z (with [[z[[ = 1) of Ck+l = Tk+l - AH~+ 1 -* - AHk+I + [A[2I associated with the smallest eigenvalue. (e) (t = Vk+lz, p = ~*A&, ~ = Wk+lz- p~, and test for convergence. Stop if convergence criteria satisfied. 3. Restart: Vl = [~], W1 = [Wk+lz], H1 = [p], T1 = [W;W1], goto 2. Now assuming only reed arithmetics arise in computing, we compare the main operations in two methods. First, we count up all the computation in Algorithm 1. At Step 2.a, one correction equation is solved to get a correction vector t, whose cost depends on the method of solving linear system. At Step 2.b, t is orthogonalized against Vk to form Vk+l, which costs 4nk flops. Step 2.c requires one matrix-vector multiplication and 4nk flops to accumulate Wk+l and Hk+l. At Step 2.d, the eigenpair (A, s) of Hk+l costs 25k 3 flops, after that we need 2nk flops to compute Ritz vector = Vk+is. Since ~-']k~=~ (10nk + 25k 3) ~ 5nm 2 + (25/4) m 4, each circle in Algorithm 1 requires m matrix-vector multiplications, the solutions of m correction equations, and about 5nm 2 (25/4) m 4 flops. Algorithm 2 differs from Algorithm 1 only on the computing of approximate eigenvector at Step 2.d. It forms Tk+l and computes the eigenpairs of Ck+l, which cost only 2nk+ 9k 3 flops since Tk+l and Ck+l are all symmetric matrices. On the other hand, since we do not need eigenvectors of Hk+l, we only need to compute eigenvalues of Hk+l with 10k 3 flops. Taking into account the other computations, we see that each circle of Algorithm 2 increases only about nm 2 - (3/2)m 4 flops, which is minor compared with the total cost. 4. SOLUTION OF THE CORRECTION EQUATION Equations (3) and (10) are always consistent, which can be seen from [13] and the previous derivation. So each of them has a solution. In the literature, it has been naturally thought that correction equation (4) has a solution when A is replaced by A. Unfortunately, it is not true. Note that (3) and (9) are singular linear systems. So we should naturally ask if it is definitely reasonable to replace A by A in (3) and by p in (10) as (4) and (11) are singular projected linear systems that have the same right-hand sides as (3) and (10) but different coefficient matrices, respectively. Therefore, we must be careful about these equations and should pay more attention to them. The following theorem reveals some important properties on the solution of correction equations. THEOREM 1. Assume that (p, u) is an approximate eigenpair of the matrix A with u 6 Vk and p = u*au, and select a matrix U± such that (u, U±) is unitary. Then the columns of U± form an orthonormal basis of span{u} ±. Set r = (A - pi)u. Then r A_ u, and there exists a unique b such that r = Uib. For the linear system (I - (A - pi) (I - = -r, t (17) there hold the following results: (I) equation (17) has no solution ifb ~ 7Z(Ur AU± - pl); (2) equation (17) has at 1east one solution if b 6 7~(UT AUz - pi); (3) equation (17) has a unique solution if and only if p is not an eigenvalue of U~_ AU..

A Refined Jacobi-Davidson Method 423 PROOF. From (u, U.L)(u, U.I_)* = I, we get so (17) can be transformed into I -u~* = VzU;_, (U± U~_AU_L UT - pi) t = -r. Set t = U.l_x. Then we have U± (U~_AU± - pi) x = -U±b. Since U~_U.L = I, the above equation is equivalent to (U~_AU± - pi) x = -b. This linear system has at least one solution if b E 7E(U~_AU.L - pi), and it has a unique solution if and only if b E TC(U~_AU.L - pi). Since the Ritz pair (~, ~5) and the refined eigenpalr approximation (p, ~) both satisfy the assumptions in the above theorem, the above results apply to (4) and (11). The results have clearly indicated that each of the correction equations may have no solution or infinitely many solutions, as opposed to that commonly accepted in the literature. Now two important and interesting problems arise. First, how to cheaply judge the existence of solution of two correction equations? Second, if no solution exists, how to effectively expand the projection subspace? We believe that resolving these two problems is significant for theoretically understanding the two methods and improving corresponding algorithms. 5. NUMERICAL EXPERIMENTS We will use two examples to compare two methods and illustrate the superiority of the refined Jacobi-Davidson method. From discussion in Section 3.2, the projection subspace can be expanded with (13). In order to make a fair comparison, we use LU factorization to compute the (exact) solution of (A - pi)v = ~t, and expand l;k with v and z in the refined method and its original counterpart, respectively. In Algorithms 1 and 2, only one eigenvalue is computed. In order to get several eigenvalues in tests, we exploit the technology of deflation. In the figures, each iteration is not one restart but one expansion of subspace. For all examples, we compute five eigenvalues, so we fix the minimum dimension and the maximum dimension of the projection subspace to be 10 and 15, respectively. EXAMPLE 1. This problem comes from [18], its MATLAB file name is DW2048. We use the same initial vector generated randomly in a uniform distribution in two algorithms, and we want to compute five eigenvalues near 0.96 and 0.94, respectively. Figures 1 and 2 show the convergence curves. From Figures 1 and 2, we see that residual norm of the refined algorithm decreases fast and converges to zero. When Jacobi-Davidson got the first eigenvaiue, refined Jacobi-Davidson has computed all five eigenvalues needed, as shown by Figure 1. Although in Figure 2, the Jacobi- Davidson computed the first eigenvalue successfully, the other four eigenvalues appeared only after many steps, while the refined Jacobi-Davidson delivered the other four eigenvalues very rapidly after the first eigenvalue converged.

. Tolerace 424 S. FENG AND Z. JIA 01 i i i i i ~ i i -10 : : Refined JacobiDavidson JacobiDavidson Tolerace -15 I I I I 0 2 4 6 8 10 12 14 16 o[ Figure 1. Example 1, two algorithms compute five eigenvalues neax 0.96. r T 1 1 T - - T r T 1 18-10 i * * Refined JacobiDavidson / JacobiDavidson -15 ~. L.. _ 0 2 4 6 8 10 12 14 16 Figure 2. Example 1, two algorithms compute five eigenvalues near 0.94. I 18 20

A Refined Jacobi-Davidson Method 425 2! ',,,,, I -4 --6-8... -10-12 ~ "7" Refined JacobiDavidson JacobiDavidson.. Tolerace 0 10 20 30 40 50 60 70 Figure 3. Example 2, two algorithms compute five eigenvalues near -12. r T r r r T T 1-2 -4-8 -8!... I -10 = : Refined JacobiDavidson JacobiDavidson... Tolerace -12 L ~ 0 10 20 30 40 50 60 70 80 90 Figure 4. Example 2, two algorithms compute five eigenvalues near -11.

426 S. FENG AND Z. JIA Table 1. Example 1, matrix DW2048. Left: five eigenvatues close to 0.96; right: five eigenvalues close to 0.94. iterl timel iter2 time2 A1 10 85.6 9 77.9 A2 15 129.2 10 85.9 ~3 15 129.3 10 86.1 A4 16 137.2 10 86.2 ~ 17 146.9 13 113.1 iterl timel iter2 time2 A1 16 140.5 5 44.3 A2 18 158.2 15 123.8 A3 18 158.4 15 134.0 A4 18 158.5 15 134.3 A5 19 168.3 15 134.5 Table 2. Example 2, Tolosamatrix. LeD: five eigenvalues close to -12; right: five eigenvalues close to -11. iterl time1 iter2 time2 kerl time1 iter2 time2 A1 57 228 32 132 A1 46 185 31 132 A 2 61 245 41 170 A2 49 198 31 132 A3 66 269 42 174 ~3 82 336 38 162 A4 66 269 45 187 A4 82 336 39 167 As 67 274 46 192 Aa 84 345 45 193 We also give the CPU timings and the number of iterations, iterl and time1 are CPU timings and number of iterations of Algorithm 1, and iter2 and time2 are CPU timings and number of iterations of Algorithm 2. EXAMPLE 2. This example is the Tolosa matrix from aerodynamics related to the stability analy- sis of a model of a plane in flight [18]. Here the order of matrix is 1000, we compute its eigenvalues near -12 and -11. The convergence curves are shown in Figures 3 and 4. In Figures 3 and 4, the residual norm of the refined algorithm started to decrease rapidly after four restarts (according to parameters selected, five iterations in the figure are equivalent to one restart). This shows that the projection subspace has already contained rich information on the desired eigenvectors. In contrast, the residual norms of the Jacobi-Davidson method did not decrease almost until eight restarts were done. REFERENCES 1. Y. Saad, Numerical Methods for Large Eigenvalue Problems, Manchester University Press, Manchester, UK, (1992). 2. G.W. Stewart, Matrix Algorithms: Vol. II, Eigensystems, SIAM, Philadelphia, PA, (2001). 3. Z. Jia, The convergence of generalized Lanczos methods for large unsymmetric eigenproblems, SIAM J. Matrix Anal. Appl. 16, 843-862, (1995). 4. Z. Jia, Composite orthogonal projection methods for large matrix eigenproblems, Science in China (Series A) 42, 577-585, (1999). 5. Z. Jia and G.W. Stewart, An analysis of the Rayleigh-Ritz method for approximating eigenspaces, Math. Comput. 71, 637447, (2001). 6. Z. Jia, Refined iterative algorithms based on Arnoldi's process for large unsymmetric eigenproblems, Linear Algebra Appt. 259, 1-23, (1997). 7. Z. Jia, A refined iterative algorithm based on the block Arnoldi process for large unsymmetric eigenproblems, Linear Algebra Appl. 270, 171-189, (1998). 8. Z. Jia, Polynomial characterizations of the approximate eigenvectors by the refined Arnoldi method and an implicitly restarted refined Arnoldi algorithm, Linear Algebra Appl. 287, 191-214, (1999). 9. Z. Jia, A refined subspace iteration algorithm for large sparse eigenproblems, Appl. Numer. Math. 32, 35-52, (2000). 10. Z. Jia, Residuals of refined projection methods for large eigenproblems, Computers Math. Applic. 41 (7/8), 813420, (2001). 11. Z. Jia, Some theoretical comparisons of refined Ritz vectors and Ritz vectors, Science China, Series A 40 (Suppl.), 222-233, (2004). 12. H.A. VanderVorst, Computational methods for large eigenvalue problems, In Handbook of Numerical Analysis, Volume VIII, (Edited by P.G. Ciarlet and J.L. Lions), pp. 3-179, North-Holland (Elsevier), Amsterdam, (2002).

A Refined Jazobi-Davidson Method 427 13. G.L.G. Sleijpen and H.A. VanderVorst, A Jacobi-Davidson iteration method for linear eigenvalue problems, SIAM J. Matrix Anal. Appl. 17, 401-425, (1996). 14. E.R. Davidson, The iterative calculation of a few of the lowest eigenvalues and corresponding eigenvectors of large real symmetric matrices, J. Comput. Phys. 17, 87-91, (1975). 15. R.B. Morgan and D.S. Scott, Generalizations of Davidson's method for computing eigenvalues of sparse symmetric matrices, SIAM J. Sci. Statist. Comput. 7, 817-825, (1986). 16. A. Stathopoulos, Y. Saad and C.F. Fischer, Robust preconditioning of large sparse symmetric eigenvalue problems, J. Comput. Appl. Math. 64, 197-215, (1995). 17. Z. Jia, Using cross-product matrices to compute the SVD, Technical Report, Department of Applied Mathematics, Dalian University of Technology, China, (2001). 18. Z. Bai, R. Barrett, D. Day, J. Demmel and J. Dongarra, Test matrix collection for non-hermitian eigenvalue problem, Technical Report, Department of Mathematics, University of Kentucky, (1995). 19. M. Crouzeix, B. Philippe and M. Sadkaae, The Davidson method, SIAM J. Sci. Comput. 15, 62-76, (1996).