Multigrid method Created 2026-10-06 Updated 2026-10-31
A multigrid method solves a linear system by combining local relaxation with coarse-grid correction on a hierarchy of meshes. The key is to divide the work by scale: a suitable relaxation removes rapidly oscillating approximation error, while coarse-grid correction addresses slowly varying approximation error that relaxation barely changes. A broad error hump occupies many fine-grid points but fewer coarse-grid points; it becomes easier to resolve by relaxation after enough coarsening. This complementary action is why multigrid methods are useful for large finite difference method and finite element method systems.
For a concrete model, take the one-dimensional Poisson equation with homogeneous Dirichlet boundary conditions:Use interior points , , and the centered finite difference systemThus is a symmetric matrix and a positive-definite matrix. The minus sign in fixes this positive convention; changing both and to their negatives leaves the relaxation update unchanged. For , the linear system has the exact discrete solution , since the centered finite difference is exact on this quadratic polynomial. In general, the exact discrete solution need not equal the sampled continuous solution: solving the linear system removes algebraic approximation error, not the global discretization error.
Let solve , let be the current approximation, and define the signed approximation error . The linear-system residual is , so . In particular, a linear-system residual is available without knowing ; it supplies the right-hand side for a correction equation. With , a weighted Jacobi method sweep isThe sine eigenvectors shared by and the iteration matrix are , . Their eigenvalues areFor , one weighted Jacobi method sweep with multiplies the lowest Fourier frequency mode by about , but the highest Fourier frequency mode by about . Four sweeps retain about of the first amplitude and of the second. The sign reversal of the second amplitude is harmless when its magnitude shrinks. However, the plain Jacobi method, , has factor : at it is about . A nearly alternating mode near the grid's Nyquist limit therefore persists almost as strongly as the smoothest mode. Plain Jacobi method convergence on a fixed Dirichlet boundary condition grid does not imply effective smoothing.[ref] The high-frequency smoothing factor of weighted Jacobi is uniformly at most for and ; the exact finite-grid high-frequency Jacobi smoothing optimum distinguishes this convenient uniform choice from the finite-grid optimum.[ref]
Analytic Poisson error modes: weighted Jacobi damps short wavelengths while plain Jacobi struggles near the Nyquist limit
. Details. One two-grid cycle applies a few weighted Jacobi method sweeps, computes the linear-system residual, performs coarse-grid correction, and applies a few more sweeps. The first relaxation makes the remaining approximation error easier to represent on a coarse mesh; the last relaxation damps oscillatory components left after the transferred correction. In a geometric multigrid V-cycle, replace the expensive exact coarse solve by one recursive cycle on the coarse correction equation, starting its correction from zero. Repeat until a tiny coarsest linear system can be solved directly, then return through the levels by adding each interpolated correction and post-smoothing. The descent and return give the cycle its V shape.[ref]
For this one-dimensional model, fixed sweep counts and bounded local finite difference and transfer work give a geometric multigrid V-cycle cost proportional to , hence in Big O notation. A fixed error reduction also needs a contraction factor bounded below one independently of ; per-cycle work alone does not establish that. Starting from arbitrary approximation error and demanding a relative reduction generally adds a factor proportional to in the cycle count. Full multigrid uses coarse solutions as initial guesses on successively finer meshes to target the global discretization error efficiently. The two-grid Poisson factor with weighted Jacobi illustrates favorable convergence for this model. Other partial differential equations, strong anisotropy, or poorly chosen coarse spaces and relaxation can defeat these choices; a linear-work guarantee for arbitrary linear systems does not follow.
A historical example of the multilevel viewpoint is Achi Brandt's April 1977 paper, which analyzes adaptive meshes and reports numerical experiments on linear and nonlinear boundary value problems. This is a documented development of the approach, not a claim that the paper was its first invention.[ref] The figure above is generated from the displayed eigenvalues, with lines joining discrete nodes; it contains no experimental measurements.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 67 7 Solution Created 2026-10-03 Updated 2026-10-31
The multigrid method addresses a characteristic failure of single-grid relaxation: its cheapest updates rapidly remove oscillatory error but barely change smooth error. For example, the one-dimensional Poisson equation matrix has diagonal . The weighted Jacobi method with weight has Fourier error factorAt low physical frequency, and this factor is , requiring sweeps for a fixed error reduction. With , high grid frequencies are multiplied by at most in modulus. Smooth error on a fine mesh is well represented on a coarser mesh, where it is relatively more oscillatory and hence cheaper to remove. These two complementary mechanisms motivate smoothing and coarse-grid correction.
Write the discrete problem as . For an approximation , the residual is and the error satisfies . It is this error equation that is transferred to a coarse grid; restricting the approximate solution alone would not solve the missing error. With prolongation and restriction , solveFor nested Cartesian grids with , linear interpolation copies a coarse value at a coincident fine node and averages the two nearest coarse values at an intermediate node. Its two-dimensional counterpart is bilinear interpolation. Full-weighting restriction uses weights in one dimension andin two dimensions. With these choices in ordinary coordinate inner products. A Galerkin coarse-grid operator is ; alternatively one can rediscretize the PDE on the coarse mesh when that choice remains compatible with the transfers.
For a symmetric positive-definite fine operator and , the exact correction matrix isIt satisfies and . Thus it removes the coarse-space component of the error and is an orthogonal projection in the energy inner product. With pre- and post-smoothing matrices , the exact two-grid error matrix is . Effective smoothing on the complementary space and accurate coarse representation of smooth error are both needed for contraction.
A concrete harmonic calculation makes the mechanism quantitative. On the one-dimensional constant-coefficient problem, couple the two harmonics and , put and , and use the above transfers. Linear interpolation has harmonic weights , while the fine operator has diagonal symbol . Therefore its Galerkin correction on this pair isOne pre- and one post-sweep of weighted Jacobi with gives , . This rank-one matrix has eigenvalues zero andThe two-grid Poisson factor with weighted Jacobi is therefore mesh-independent in this model. A periodic constant nullspace must first be removed; a Dirichlet problem has no such nullspace. This is evidence for the design, not a claim that the same factor applies to every PDE or every smoother.
The geometric multigrid V-cycle replaces the exact coarse solve by one recursively defined coarse cycle. A complete implementation on level proceeds as follows:
- On the coarsest level, solve directly and return.
- Otherwise perform a fixed number of pre-smoothing sweeps, for example .
- Compute the current residual and restrict it: .
- Initialize the coarse error approximation at zero and apply one V-cycle to .
- Prolong and add the correction: .
- Perform post-smoothing sweeps and return the improved approximation.
Boundary values of the solution are imposed on the fine level; the error equation has homogeneous boundary conditions when those values were already imposed exactly. Residuals must be computed after pre-smoothing, not before. The zero initialization on each recursive error solve makes the cycle an error correction rather than an accidental addition of an old coarse solution. For an energy-symmetric cycle usable in conjugate gradient method, choose compatible adjoint transfers and symmetric smoothing, such as forward Gauss-Seidel before correction and its backward sweep afterward.
With bounded stencil size and fixed sweep counts, a sweep, residual calculation or transfer costs . Uniform coarsening gives , soIf the full V-cycle has an error reduction factor independent of mesh size, reducing an arbitrary initial algebraic error by a factor takes cycles and work. Linear work per cycle alone does not prove the mesh-independent factor; it rests on the smoothing and approximation properties just illustrated. Full multigrid starts on a coarse mesh, interpolates its solution to each successive finer mesh, and uses a few cycles per level. When the interpolation accuracy and cycle contraction match the discretization error, this reaches discretization-level accuracy in work.
Performance depends on the operator. Strong anisotropy can leave error oscillatory in one direction but weakly penalized by the differential operator, defeating point smoothing; line or plane relaxation and selective coarsening address this. Large coefficient jumps demand compatible coarse spaces. Nonrectangular meshes motivate algebraic rather than purely geometric coarsening. Nonlinear problems use a full-approximation formulation instead of the linear residual correction verbatim. Singular Neumann or periodic operators need right-hand-side compatibility and consistent nullspace treatment on every level. Multigrid is fast because its components address different error scales, not because coarsening alone guarantees a good solver.
