Skip to contentScholarGate
LibraryBookshelfDeskReview StudioAssistant
Sign in
On this page
IntuitionHow it worksWhen to use itStrengths & limitationsCommon pitfallsApplicationsFrequently asked🔒 Read the full methodSourcesRelated methods
Cite this pageSpotted an issue on this page? Report or suggest a fix →
Home›Numerical Methods›GMRES
Machine learningKrylov Subspace Iterative

GMRES

Generalized Minimal Residual Method · Also known as: GMRES(m), restarted GMRES, Krylov-GMRES

GMRES (Generalized Minimal Residual) is an iterative method for solving large sparse non-symmetric or nonsymmetric linear systems Ax = b, developed by Saad and Schultz in 1986. It builds an orthonormal Krylov basis using Arnoldi's method and solves a least-squares problem to minimize residual at each iteration.

ScholarGate
  1. Machine learning
  2. v1
  3. 3 Sources
  4. PUBLISHED
Cite this page →
Tools & resources
Download slides
Learn & explore

Read the full method

Members only

Sign in with a free account to read this section.

Sign in

Method map

The neighbourhood of related methods — select a node to explore.

GMRES
Conjugate Gradient Method

When to use it

Use GMRES for non-symmetric or ill-conditioned systems where CG is not applicable. Essential for advection-dominated PDEs, coupled multiphysics problems, and indefinite matrices. Restart parameter m = 30–40 balances memory and convergence. For symmetric matrices, CG or MINRES are more efficient.

Strengths & limitations

Strengths
  • Handles arbitrary non-symmetric and complex matrices; makes no positivity assumptions
  • Monotonic reduction in residual norm guarantees progress; residual history is reliable
  • Flexible preconditioning available (FGMRES); works with left or right preconditioners
  • Proven convergence: eventually (possibly after many iterations) reaches any prescribed tolerance
Limitations
  • Full GMRES requires storing m Krylov vectors; memory demand scales as O(m·n), making it expensive for large m
  • Cost per iteration grows as O(k·n) for iteration k; restarting every m steps mitigates but incurs convergence penalty
  • Without preconditioning, convergence is often slow for ill-conditioned problems
  • Householder or Givens orthogonalization required for stability; adds computational overhead

Frequently asked

What is the Krylov subspace and why does Arnoldi orthogonalization matter?

The Krylov subspace K_k(A, r₀) = span{r₀, A r₀, A² r₀, …, A^{k-1} r₀} contains increasingly rich information about A. Arnoldi orthogonalization produces an orthonormal basis for this space, enabling stable least-squares minimization of residuals.

Why restart at all if full GMRES converges?

Full GMRES stores all k Krylov vectors, demanding O(k·n) memory and O(k²) operations per iteration. After m = 30–50 iterations, memory exceeds availability. Restarting discards old vectors and restarts the process, trading some convergence speed for feasibility on large systems.

What restart parameter m should I choose?

m = 30 is a practical default; increase to 50–100 if memory allows and convergence is slow, decrease to 10–20 if memory is tight. Problem-dependent: elliptic PDEs often converge in 10–20 iterations; advection-dominated or coupled systems may need 40–100.

How does left preconditioning differ from right preconditioning in GMRES?

Left preconditioning solves M⁻¹ A x = M⁻¹ b, improving conditioning of M⁻¹ A. Right preconditioning solves A M⁻¹ y = b with x = M⁻¹ y, leaving the spectrum of A M⁻¹ unchanged. Left improves convergence rate; right avoids applying M⁻¹ at the end. FGMRES allows flexible (variable) preconditioners in right positioning.

Sources

  1. Saad, Y., & Schultz, M. H. (1986). GMRES: A generalized minimal residual algorithm for solving nonsymmetric linear systems. SIAM Journal on Scientific and Statistical Computing, 7(3), 856–869. DOI: 10.1137/0907058 ↗
  2. Walker, H. F. (1988). Implementation of the GMRES method using Householder reflections. SIAM Journal on Scientific and Statistical Computing, 9(1), 152–163. DOI: 10.1137/0909010 ↗
  3. Saad, Y. (2003). Iterative Methods for Sparse Linear Systems (2nd ed.). SIAM. DOI: 10.1137/1.9780898718003 ↗

How to cite this page

ScholarGate. (2026, June 3). Generalized Minimal Residual Method. ScholarGate. https://scholargate.app/en/numerical-methods/gmres

Related methods

Conjugate Gradient Method

Which method?

Set this method beside its closest kin and read them side by side — the library lays the books on the table; the choice is yours.

  • Conjugate Gradient MethodNumerical Methods↔ compare
Compare side by side →

Referenced by

Conjugate Gradient Method

Similar methods

Conjugate Gradient MethodGalerkin MethodSingular Value DecompositionSpectral MethodsRunge-Kutta MethodFast Multipole MethodNewton-Raphson Power FlowFinite Element Analysis

Related reference concepts

Krylov Subspace MethodsIterative MethodsPreconditioningMultigrid MethodsStationary and Relaxation MethodsNumerical Linear Algebra and Eigenproblems in Physics

Spotted an issue on this page? Report or suggest a fix →

ScholarGate — GMRES (Generalized Minimal Residual Method). Retrieved 2026-07-21 from https://scholargate.app/en/numerical-methods/gmres · Dataset: https://doi.org/10.5281/zenodo.20539026
Quick facts
Originator
Youcef Saad and Martin H. Schultz
Subfamily
Krylov Subspace Iterative
Year
1986
Type
Iterative linear solver for non-symmetric systems
Related methods
Conjugate Gradient Method
ScholarGate

A content-first reference library for research methods — what each one is, how it works, and where it comes from.

Open data (CC-BY)

Explore

  • Library
  • Search the library…
  • Browse by field
  • Fields
  • Journey
  • Compare
  • Which method?

Reference

  • Subjects
  • Atlas
  • Glossary
  • Methodology
  • Philosophy

Your tools

  • Bookshelf
  • Desk
  • Chat

Company

  • About
  • Pricing
  • Contact
  • Suggest a method

Entries are compiled from published sources for reference. Verifying the accuracy and suitability of any information for your own use remains your responsibility.

© 2026 ScholarGate · A research-method reference library
  • Privacy
  • Cookies
  • Terms
  • Delete account