Generalized Minimal Residual Method - The Method

The Method

Denote the Euclidean norm of any vector v by ||v||. Denote the system of linear equations to be solved by

The matrix A is assumed to be invertible of size m-by-m. Furthermore, it is assumed that b is normalized, i.e., that ||b|| = 1.

The nth Krylov subspace for this problem is

GMRES approximates the exact solution of Ax = b by the vector xnKn that minimizes the Euclidean norm of the residual Axnb.

The vectors b, Ab, …, An−1b might be almost linearly dependent, so instead of this basis, the Arnoldi iteration is used to find orthonormal vectors

which form a basis for Kn. Hence, the vector xnKn can be written as xn = Qnyn with ynRn, where Qn is the m-by-n matrix formed by q1, …, qn.

The Arnoldi process also produces an (n+1)-by-n upper Hessenberg matrix with

Because is orthogonal, we have

where

is the first vector in the standard basis of Rn+1, and

being the first trial vector (usually zero). Hence, can be found by minimizing the Euclidean norm of the residual

This is a linear least squares problem of size n.

This yields the GMRES method. At every step of the iteration:

  1. do one step of the Arnoldi method;
  2. find the which minimizes ||rn||;
  3. compute ;
  4. repeat if the residual is not yet small enough.

At every iteration, a matrix-vector product Aqn must be computed. This costs about 2m2 floating-point operations for general dense matrices of size m, but the cost can decrease to O(m) for sparse matrices. In addition to the matrix-vector product, O(n m) floating-point operations must be computed at the nth iteration.

Read more about this topic:  Generalized Minimal Residual Method

Famous quotes containing the word method:

    “English! they are barbarians; they don’t believe in the great God.” I told him, “Excuse me, Sir. We do believe in God, and in Jesus Christ too.” “Um,” says he, “and in the Pope?” “No.” “And why?” This was a puzzling question in these circumstances.... I thought I would try a method of my own, and very gravely replied, “Because we are too far off.” A very new argument against the universal infallibility of the Pope.
    James Boswell (1740–1795)

    In child rearing it would unquestionably be easier if a child were to do something because we say so. The authoritarian method does expedite things, but it does not produce independent functioning. If a child has not mastered the underlying principles of human interactions and merely conforms out of coercion or conditioning, he has no tools to use, no resources to apply in the next situation that confronts him.
    Elaine Heffner (20th century)