From first principles
Derive the coarse-grid correction as a residual equation
Let a linear discretization satisfy
For an iterate \(\tilde u_h\) define error \(e_h=u_h-\tilde u_h\) and residual \(r_h=b_h-A_h\tilde u_h\). Subtracting the equations gives an exact identity:
A coarse mesh cannot represent arbitrary fine error. Suppose the error remaining after smoothing is approximated by \(Pe_H\), with prolongation \(P\) from coarse to fine. Choose coarse coefficients so the remaining residual is orthogonal to the coarse test directions; with restriction \(R=P^\mathsf T\) this condition becomes
Update the fine iterate by \(\tilde u_h\leftarrow\tilde u_h+Pe_H\). If the coarse solve is exact, this removes any error initially in the range of \(P\). Components outside that range must be reduced by smoothing or another correction. This separation explains why simply smoothing a fine mesh for longer can be inefficient when long-wavelength error survives each relaxation sweep.
Derivation and applications
Choose a Jacobi weight for the errors a coarse grid cannot resolve
A multigrid smoother should damp oscillations left invisible or ambiguous on the coarse mesh. Consider the uniform one-dimensional discretization of \(-u''\) with stencil \((-1,2,-1)/h^2\), away from boundaries or on a periodic grid. Let the error be a Fourier mode \(e_j=e^{ij\theta}\). The Jacobi diagonal is \(D=(2/h^2)I\). Inserting the Fourier mode into the discrete operator and dividing by \(D\) gives
One weighted Jacobi step \(\tilde u\leftarrow\tilde u+\omega D^{-1}(b-A\tilde u)\) therefore multiplies the error by a real factor. With standard factor-two coarsening, call the interval \(\pi/2\le|\theta|\le\pi\) high frequency:
The maximum absolute value on this interval lies at an endpoint. To minimize that worst factor, set the two endpoint values equal in magnitude and opposite in sign. The solution is
An ordinary undamped Jacobi sweep (\(\omega=1\)) leaves the checkerboard oscillating with unchanged magnitude. The optimal weight here depends on the operator, dimensionality and coarsening convention. It should not automatically be transferred to anisotropic grids or different stencils.
Worked example
Calculate how many smoothing sweeps are needed
A pure high-frequency error initially has amplitude \(0.900\) K. With \(\omega=2/3\), three sweeps reduce it to at most \(0.900/27=0.0333\) K. For the checkerboard the factor is \(-1/3\), so after the third sweep the error has reversed sign. Four sweeps bound the amplitude by \(0.0111\) K. A residual norm insensitive to sign still sees the decay.
Second application
Observe why smoothing alone is slow
At \(\theta=\pi/16\), the same smoother gives
After ten sweeps a unit component still has amplitude \(0.9872^{10}=0.879\). A high-frequency component over the same ten sweeps is at most \(3^{-10}=1.69\times10^{-5}\). Coarse-grid correction targets the slowly decaying component that these sweeps leave behind.
Two kinds of persistent error
For a uniform Dirichlet grid let \(A_h\) be the positive three-point approximation to \(-u''\). A smooth algebraic error changes slowly between adjacent nodes. Its local residual can be modest even when its amplitude is appreciable. High-frequency errors have large second differences and respond rapidly to a suitable relaxation sweep. Weighted Jacobi uses \(u\leftarrow u+\omega D^{-1}(f-A_hu)\), with diagonal \(D=2I/h^2\). On a sine mode of grid angle \(\theta\) its error multiplier is \(1-\omega(1-\cos\theta)\).
For \(\omega=2/3\), this multiplier lies between \(-1/3\) and \(1/3\) for angles between \(\pi/2\) and \(\pi\). Low angles have multipliers near one, so repeated sweeps alone cost increasingly many iterations as the grid is refined. Those surviving smooth errors can often be represented on a coarser mesh. The purpose of restricting a residual is to solve an error equation for that representation.
Derive the correction
Let \(P\) interpolate coarse values to the fine grid and \(R\) restrict a fine vector. Choose the Galerkin coarse operator \(A_H=RA_hP\). Given current residual \(r=f-A_hu\), solve \(A_He_H=Rr\) and add \(Pe_H\). If the true error is precisely \(Pv\), the right-hand side equals \(A_Hv\). An exact coarse solve recovers \(v\) and removes the entire error in one correction. For general errors the new residual satisfies \(Rr_{\rm new}=0\); high-frequency components may remain on the fine grid.
Compute one correction by hand
Take \(h=1/4\) with three interior fine nodes and one interior coarse node at the midpoint. Linear interpolation is \(P=(1/2,1,1/2)^T\), and full weighting gives
The fine operator is 16 times the tridiagonal matrix with diagonal 2 and off-diagonal −1. Multiplication gives \(A_hP=(0,16,0)^T\) and \(A_H=8\). Suppose \(u=0\) and the exact fine solution is \(P\), so the load is \((0,16,0)^T\). The restricted residual is 8. The coarse correction returns the coefficient one and removes the error exactly.
For error \(e=(1,0,-1)^T\), the fine residual is \(32e\), whose restriction is zero. The coarse grid cannot correct this component. Its grid angle is \(\pi/2\), so one weighted Jacobi sweep leaves \(e/3\). These two vectors demonstrate why combining the two operations matters. Repeating the idea recursively gives a V-cycle. With a fixed number of smoothing steps per level, geometrically shrinking grids have total work proportional to the finest number of unknowns, provided coarse solvers and transfers also have linear cost. Good convergence rates still depend on smoothing and approximation properties for the actual operator.
Coarse linear solves do not have to be exact at every level
In the three-node example with fine error \(P\), suppose an approximate coarse solve returns 0.9 instead of one. The correction leaves \(0.1P\), so the restricted residual falls from 8 to 0.8. A recursive V-cycle effectively uses one approximate correction of this kind on intermediate levels; only the smallest system is usually solved directly. Measure the residual reduction per cycle across a family of grids. A roughly constant work per unknown is valuable only if the number of cycles required for a fixed reduction also remains controlled.
Predict a smoothing failure in anisotropic diffusion
For the operator \(-\alpha u_{xx}-\beta u_{yy}\) on an equal-spacing Cartesian grid, weighted point Jacobi has error multiplier
This follows by substituting a Fourier error mode into the tridiagonal second differences in each direction and dividing by the diagonal \(2(\alpha+\beta)/h^2\). Algebraic smoothness depends on the coefficients, while representability on a coarse mesh depends on geometric sampling. Under strong anisotropy a mode highly oscillatory in the weak direction can produce little residual relative to the diagonal and therefore survive point relaxation. A standard coarse interpolation space may also fail to represent it.
A line smoother solves all strongly coupled unknowns along a row together. Its block diagonal retains the horizontal second differences and the diagonal part of the vertical coupling. Modes constant along that row see no horizontal stiffness after applying the block, so the scale of their correction is set by the weaker vertical coupling rather than the large point diagonal. Alternatively, semicoarsening retains fine resolution in a direction in which troublesome oscillations must remain representable. The correct choice depends on the orientation of the anisotropy relative to the actual mesh.
Evaluate an error mode ignored by the ordinary two-grid cycle
Take a periodic grid with an even number of rows, \(\alpha=100,\ \beta=1,\ \omega=2/3\), and error \(e_{ij}=(-1)^j\), constant along each row. Its discrete horizontal curvature is zero and its vertical curvature has eigenvalue \(4/h^2\). Point Jacobi divides by \(202/h^2\), giving \(g=1-4/(303)=299/303\approx0.9868\). Ten sweeps still leave about \(0.876\) of the error amplitude. Geometrically the mode is as oscillatory as the grid permits, yet pointwise smoothing barely changes it.
Full weighting in the vertical direction uses weights \(1/4,1/2,1/4\). Applied to the alternating signs it gives zero, so the restricted residual also vanishes and an ideal coarse solve receives no information about this error. This calculation identifies a concrete failure of the usual assumption that all components missed by coarsening have already been strongly damped. A high-quality coarse linear solve cannot repair a zero coarse right-hand side.
For a horizontal line Jacobi block the horizontal part contributes zero on a row-constant vector, leaving block eigenvalue \(2/h^2\). The preconditioned error-mode eigenvalue is now \((4/h^2)/(2/h^2)=2\), and a damped line sweep has multiplier \(1-(2/3)2=-1/3\). Ten such sweeps reduce the amplitude to \(1/59049\). Each line sweep costs more than a point sweep, so the practical comparison also depends on implementation and geometry. The dramatic contrast in this mode calculation explains which coupling the extra solve is buying and why iteration counts alone are insufficient for benchmarking.
For diagonal anisotropy the identity of a strongly coupled row can change as the material rotates across the grid. A line relaxation designed only for horizontal coupling may then lose its advantage in another subdomain. Compare mode or patch tests aligned with several local principal directions before generalising the success of the horizontal example.
Change parameters · Explore the worked calculation
Change one input at a time and compare the recalculated curves with the argument above. The browser evaluates this small model locally; the accompanying numerical values state its assumptions and reference checks. Reset restores the reference inputs, and the data can be downloaded as CSV.