Math 2.0

Numerical analysis Iterative methods for linear systems Theorem

Generalized minimal residual method

Builds on Invertible matrixKrylov subspaceArnoldi iterationLeast squaresCondition numberEigenvalueConjugate gradient methodPreconditionerIterative method

Statement

Let AA be an invertible complex n×nn \times n matrix, let b∈ℂnb \in \C^n, let x0∈ℂnx_0 \in \C^n, and let r0=b−Ax0≠0r_0 = b - A x_0 \ne 0. For k≥1k \ge 1, the kk-th iterate of the generalized minimal residual method (GMRES) is the vector xk∈x0+𝒦k(A,r0)x_k \in x_0 + \mathcal{K}_k(A, r_0) that minimizes ∥b−Ax∥2\norm{b - A x}_2 there. Here 𝒦k\mathcal{K}_k is the Krylov subspace.

  1. xkx_k exists and is unique, and ∥rk∥2≤∥rk−1∥2\norm{r_k}_2 \le \norm{r_{k-1}}_2, where rk=b−Axkr_k = b - A x_k.
  2. Run kk steps of the Arnoldi iteration from r0r_0, giving Qk+1Q_{k+1} and H~k\tilde{H}_k, and let β=∥r0∥2\beta = \norm{r_0}_2. Then xk=x0+Qkykx_k = x_0 + Q_k y_k, where yky_k minimizes ∥βe1−H~ky∥2\norm{\beta e_1 - \tilde{H}_k y}_2 over y∈ℂky \in \C^k.
  3. Some rkr_k with k≤nk \le n is zero, so GMRES finds A−1bA^{-1} b in at most nn steps in exact arithmetic.
  4. Let PkP_k be the set of polynomials pp of degree at most kk with p(0)=1p(0) = 1. If A=VΛV−1A = V \Lambda V^{-1} with Λ\Lambda diagonal, then ∥rk∥2∥r0∥2≤κ2(V)min⁡p∈Pkmax⁡λ∣p(λ)∣,\frac{\norm{r_k}_2}{\norm{r_0}_2} \le \kappa_2(V) \min_{p \in P_k} \max_{\lambda} \abs{p(\lambda)}, where λ\lambda runs over the eigenvalues of AA.

Remarks

Every x∈x0+𝒦k(A,r0)x \in x_0 + \mathcal{K}_k(A, r_0) has residual p(A)r0p(A) r_0 for a polynomial pp of degree at most kk with p(0)=1p(0) = 1, which gives clause 4. Clause 1 holds because the search spaces grow, and clause 2 follows from AQk=Qk+1H~kA Q_k = Q_{k+1} \tilde{H}_k and the orthonormality of the columns of Qk+1Q_{k+1}. For clause 3, if 𝒦k(A,r0)\mathcal{K}_k(A, r_0) becomes invariant under AA, then it contains A−1r0A^{-1} r_0 and the residual vanishes. Clause 2 turns the large minimization into a small least squares problem with a Hessenberg matrix, solved by Givens rotations. Example: if A=I+NA = I + N with N2=0N^2 = 0, then p(t)=(1−t)2p(t) = (1 - t)^2 vanishes on AA, so r2=0r_2 = 0 for any bb. The constant κ2(V)\kappa_2(V) is the condition number of the eigenvector matrix; for normal AA it equals 11. For highly non-normal AA, the eigenvalues alone do not decide the convergence.

Going deeper

For a student

GMRES is the residual-minimizing iterative method for general nonsymmetric systems, while the conjugate gradient method minimizes the energy norm for symmetric positive definite ones. Since Arnoldi needs all basis vectors, the cost per step grows; restarted GMRES(mm) throws them away every mm steps, and it may then stagnate. It is almost always used with a preconditioner, often an incomplete LU factorization. The method is due to Saad and Schultz.

Reading path

To understand this page from the ground up, read these 46 pages in order. The foundations come first.

  1. Chebyshev polynomials object
  2. Condition number concept
  3. Eigenvalue concept
  4. Hermitian matrix concept
  5. Hessenberg matrix concept
  6. Incomplete Cholesky factorization concept
  7. Invertible matrix concept
  8. Iterative method concept
  9. Krylov subspace concept
  10. Matrix definition
  11. Orthonormal basis concept
  12. Positive definite matrix concept
  13. Preconditioner concept
  14. Spectral radius concept
  15. Symmetric matrix concept
  16. System of linear equations concept
  17. Tridiagonal matrix concept
  18. Vector space definition
  19. Modified Richardson iteration statement
  20. Transpose definition
  21. Lanczos algorithm statement
  22. Inner product definition
  23. Linear combination definition
  24. Linear map definition
  25. Linear subspace definition
  26. Norm definition
  27. Inner product space definition
  28. Orthogonal vectors definition
  29. Linear independence definition
  30. Endomorphism definition
  31. Linear span definition
  32. Chebyshev iteration statement
  33. Sum of subspaces definition
  34. Orthonormal family definition
  35. Norm induced by an inner product definition
  36. Orthogonal complement definition
  37. Direct sum of subspaces definition
  38. Conjugate gradient method statement
  39. Gram–Schmidt process concept
  40. A space is the direct sum of a subspace and its orthogonal complement statement
  41. Projection definition
  42. Orthogonal projection definition
  43. Arnoldi iteration statement
  44. Orthogonal projection is the closest point statement
  45. Least squares concept
  46. Generalized minimal residual method statement

Where this leads

3 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Generalized_minimal_residual_method
About this page
TagA3FR6PNEPB
URIm2://A3FR6PNEPB
Kindstatement, theorem
WritingW0 stub
MSC65F10
StatusThis copy of the site has no build data. Run m2 status A3FR6PNEPB.
AboutIterative method, Krylov subspace
UsesInvertible matrix, Krylov subspace, Arnoldi iteration, Least squares, Condition number, Eigenvalue, Conjugate gradient method, Preconditioner, Iterative method
Same as

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Used by