Introduce one stage with , and update . This is the implicit midpoint rule as a one-stage Runge-Kutta method, with Butcher tableau
For a smooth vector field, write . Expanding its stage equation gives
which matches the exact Taylor expansion through degree two. The method therefore has order at least two. On the Dahlquist test equation , its stability function is
The third coefficient differs from the exponential's , so the order is exactly two.
There is no pole in , and
Thus throughout the closed left half-plane:
This conclusion is A-stability, not strong damping of arbitrarily stiff modes: along the negative real axis.
Let . In the usual pointwise meaning of an ODE invariant, differentiation along an exact solution through an arbitrary state gives
For a nonautonomous equation this identity must hold at the stage time as well as at the initial time. It follows directly from invariance for solutions started at any time and state, or from the stated initial-time invariance when the exact flow onto the stage-time domain is invertible. This is the first-integral condition used below.
Put and . Since is symmetric,
Induction over all well-defined implicit steps gives
No positive-definiteness assumption on was used. Nor is uniqueness of the stage essential to this algebraic identity: any stage solution satisfying the method and the pointwise invariant condition preserves . This is the one-stage case of Runge-Kutta conservation of quadratic invariants.
Use the coefficient in the numerator, as verified in the PDF; the converted TeX lost its . Multiplying the method by gives the characteristic polynomials of a linear multistep method
For every admissible real , and , giving consistency of a numerical method. Factorization gives
The second root is . The root condition for a multistep method requires and forbids a repeated root at one. For real ,
At both roots equal one, violating zero-stability. For the second root lies strictly inside the unit disk. The Dahlquist equivalence theorem therefore gives
To find the order rather than only consistency, expand the exact-solution residual through the generating function:
Thus its unnormalized local truncation error begins with when , and the global method order is exactly two for every convergent parameter. For comparison, has formal order three but is not convergent because of its double unit root:
These orders assume a smooth solution, the usual local Lipschitz condition and starting approximations of the required accuracy.
Only needs consideration, by the preceding zero-stability analysis. On the Dahlquist test equation, all roots of the amplification polynomial
must satisfy the unit-disk root condition if the method is A-stable. Evaluate it at :
Take a real negative . Then , whereas the leading coefficient is positive and as . The intermediate value theorem gives a real root strictly below . Its numerical mode grows in modulus, contradicting absolute stability at this negative test parameter. Consequently
This proof detects an unstable root directly; the second-order value alone would not exclude A-stability. Equivalently the limiting derivative polynomial has an exterior root , explaining the instability for large negative .
There is a genuine indexing defect in the printed PDF: its new value is at , while every old-time coefficient is centered at . On a fixed grid the literal residual contains
For a general solution the leading term is , so this is not a consistent diffusion discretization. It also leaves one new interior value unspecified while imposing a generally incompatible update on a prescribed boundary value. The calculation that follows is for the intended same-node update ; that correction is necessary, not an unnoticed transcription change.
For the midpoint flux stencil for one-dimensional diffusion, define
Assume sufficient smoothness of and the solution for the displayed remainders. Multiplying the centered Taylor expansions of and gives
The first time difference is . After using the diffusion equation, the normalized local truncation error is
Therefore, for the corrected update,
The first is the residual divided by the time step; the second is the unnormalized one-step defect. At fixed they are respectively and . A rate based on derivatives is not justified for a merely bounded nonsmooth .
Use the corrected same-node method identified above, with , interior indices and zero endpoint values. Its spatial matrix is real symmetric. Summation by parts gives, for a vector extended by zero at the endpoints,
Hence is positive definite, and bounds its eigenvalues by . The forward Euler method has amplification matrix . Its eigenvalues lie in , so their moduli are at most one when
Symmetry makes this a contraction in the mesh-weighted discrete L2 norm, uniformly over all grids and all coefficient samples satisfying the bounds. There is also a maximum norm proof: the update weights are , , and . They are nonnegative and sum to one, giving a contraction after the boundary values are included.
This mesh-independent bound is sharp. For , the spatial eigenvectors are and their amplification factors are
If , sufficiently fine grids have a highest-frequency factor below , giving exponential growth in the step number.
On one fixed grid, rather than uniformly under refinement, the sharp universal stability of a numerical method bound in the discrete L2 norm is slightly larger:
Indeed the quadratic form above is bounded by times the constant-coefficient difference form, whose largest eigenvalue is ; equality is realized by the constant coefficient. Its limit as is the boxed bound. No such fixed-grid matrix conclusion repairs the ill-defined shifted-boundary update in the literal printed formula.
Put and use the discrete Fourier transform on the infinite grid. A spatial Fourier mode has time coefficient satisfying
Its amplification polynomial of a multilevel finite difference scheme is , with roots
For they are distinct and have modulus one. Since , a fixed bounds their separation below by . Solving for the two mode amplitudes therefore bounds every power of the two-level companion matrix uniformly in frequency and step number. Parseval identity transfers this bound to the discrete L2 norm.
If , an open set of frequencies around has and a root of modulus greater than one. Fourier data supported there grow exponentially. At , the central frequency has the double root , and the recurrence admits . Thus the root moduli being one do not suffice: a nontrivial Jordan block makes the two-level powers grow linearly. Although this exact frequency has measure zero on the infinite grid, the matrices depend continuously on frequency. For every step count, a neighborhood has powers nearly as large, so their essential supremum is still unbounded. Wave packets in those neighborhoods rule out a uniform stability of a numerical method estimate in the discrete L2 norm.
For arbitrary perturbations in both starting levels the sharp positive range is therefore
The zero-step limiting recurrence is bounded but does not advance time. A specially filtered startup can suppress a repeated-root mode; that restriction does not establish stability of the full two-level scheme. This is the two-dimensional leapfrog stability threshold.
Divide the recurrence by and substitute a smooth exact solution. Centered Taylor expansions in time and space give
Thus the leapfrog advection scheme is consistent with normalized residual . Its unnormalized defect is . For a fixed , the uniform two-level bound proved above and accumulation over steps yield, for a sufficiently smooth solution,
Both starting levels must be supplied consistently; errors of order give second-order convergence. For general square-integrable functions as initial data, point sampling is not defined on equivalence classes. Use cell averages or another bounded grid projection, together with a bounded consistent startup. Approximate the initial data by smooth functions, apply the smooth-data convergence estimate, and use the uniform numerical and exact translation bounds to pass to the L2 space limit. This is the content of Lax equivalence theorem in the present setting.
At the growing Fourier mode prevents general convergence. At the endpoint, initial data supported in increasingly narrow neighborhoods of the double root can have a second-level error of norm but a final error of order one after steps. These are vanishing starting errors, so the endpoint fails general two-level convergence as well. Consequently
is also the general convergence range, with a consistent stable initialization. Claims for a particular specially chosen endpoint startup would be a different, restricted assertion.
Assume and use periodic indices for the Jacobi method. At iteration , it is
All values on its right side belong to the old iterate. For lexicographic Gauss-Seidel iteration, compute in the order and use a newly available coordinate immediately:
The wrap-around term in the last row uses the new , while the wrap-around term in the first row uses the old . This is important for the actual iteration matrix and its convergence behavior.
The circulant matrix is singular, so the meaning of convergence needs care. If is the cyclic shift, has Fourier eigenvalues . Its null space consists of constants. Therefore is solvable exactly when , and any solution is determined only up to a constant. Neither iteration can converge to a unique solution for arbitrary right-hand sides.
For a compatible , fix one solution and examine the error. The iteration matrix of the Jacobi method is , with eigenvalues . The constant mode has eigenvalue one. For odd all other eigenvalues have modulus less than one, so the iterates converge to , with the constant selected by the initial mean. For even , the alternating vector has eigenvalue , producing an undamped oscillation. With and alternating initial vector this is an explicit nonconvergent example. For even convergence occurs only when that error component vanishes. When , the mean instead drifts by at each step, so Jacobi cannot converge.
For Gauss-Seidel iteration, put , so is positive semidefinite with diagonal two. The homogeneous error iteration is , . Updating a coordinate exactly minimizes in that coordinate; completing the square gives an energy decrement . Summing within a sweep gives
The same identity holds for the Hermitian energy of complex vectors. If and is nonconstant, its energy is positive, so . Equality forces every update to be zero, whence and is constant, a contradiction. Thus all nonconstant eigenmodes have modulus strictly below one.
The eigenvalue one has only the constant eigenspace. To exclude a generalized eigenvector at one, observe that
If , multiplication by would give . Hence the constant eigenvalue is algebraically simple, and
For compatible , Gauss-Seidel therefore converges from every start to some solution, for either parity of . Its limit differs from by . For an incompatible , the affine update gives , so the iterates again cannot converge.
Thus semiconvergence of cyclic Poisson iterations gives the precise answer:
Both have spectral radius one on the unrestricted space, so neither meets the strict stationary-iteration criterion for a unique limit independent of the starting constant. A spectral radius of one alone is not a proof that Gauss-Seidel's compatible iterates fail to converge. A normalization or projection removing the constant mode makes this distinction explicit.
Consider on a rectangle, with prescribed Dirichlet boundary conditions, and assume initially that the solution is smooth up to the boundary. A finite difference method chooses grid values as unknowns, approximates the differential operator by a local stencil, incorporates the boundary data, and solves the resulting sparse linear system. Accuracy of a stencil by itself is insufficient: one also needs a well-posed discrete problem, a stability estimate uniform under refinement, and a sufficiently accurate algebraic solve.
For a square grid of spacing , centered second differences give the five-point Laplacian
Expanding each opposite pair in a Taylor series gives
Thus the standard equation has second-order normalized local truncation error. Known boundary values move to the right-hand side; they are not iterated as independent unknowns. Nonrectangular geometry requires a consistent boundary approximation rather than silently retaining a full interior stencil outside the domain.
The negative interior operator has positive diagonal and nonpositive off-diagonal entries. For a grid vector extended by zero on the boundary,
The edge sum includes links to the fixed boundary. Connectivity makes the matrix positive definite, proving uniqueness and providing an energy structure. The same sign pattern gives a discrete maximum principle: at a negative interior minimum, is nonpositive. If and the boundary is nonnegative, equality can only persist by propagating that minimum through all neighbors to the boundary, a contradiction. Therefore .
On the unit square, the barrier satisfies exactly. If has zero boundary values and , apply the maximum principle to to obtain
The bound is independent of , so the consistency error gives an nodal error. It also separates the algebraic residual from the discretization error: solving the linear system much less accurately than would spoil the spatial accuracy.
A direct higher-order design is possible. In one coordinate,
has fourth-order accuracy. Adding the corresponding formula in the other coordinate gives a wider stencil. Its advantages must be balanced against boundary closures, more distant couplings, and the possible loss of monotonicity. Higher order does not automatically imply a stable or geometrically convenient scheme.
The Mehrstellen method takes a different route: it uses the Poisson equation to eliminate leading truncation derivatives while keeping a compact unknown stencil. Define the nine-point finite-difference stencil
Here each sum has four terms. Equivalently . Expanding gives
The uncorrected nine-point operator is only second order for a general function. But implies . Moving this known leading defect to the source and approximating its Laplacian with gives
Indeed , and multiplication by makes that replacement's error fourth order. In explicit compact form the right-hand side is . Only known source samples, not additional distant solution unknowns, enter this correction. The corresponding unscaled stencil residual is . If , the leading term already vanishes, which explains harmonic superconvergence of the nine-point stencil.
For zero boundary data, has axial link weights and diagonal link weights . Their energy sum proves positive definiteness, and their sign pattern again proves the discrete maximum principle. The same quadratic barrier is exact for , so
For smooth solutions and accurately imposed boundary values this proves fourth-order nodal convergence of the corrected scheme. Singular corners, rough sources or low-order boundary treatment can reduce the observed rate; a formal interior expansion is not a global regularity theorem.
More generally, compact high-order schemes choose a solution stencil and a source stencil together, match their Taylor expansions, and use differentiated forms of the PDE to remove derivatives that would otherwise need a wide solution stencil. Variable coefficients require their derivatives and mixed terms to be treated consistently; the constant-coefficient identity cannot be reused unchanged for a different elliptic operator. On irregular meshes, conservation and consistent fluxes may be more useful starting points than a symmetric Cartesian formula.
Finally, discretization and solution cost are coupled. The five-point Dirichlet matrix has eigenvalues proportional to sums of squared sine frequencies, so its smallest eigenvalue stays of order one while its largest is . Its condition number grows like ; simple relaxation therefore becomes slow. Sparse direct elimination, conjugate gradient method with appropriate matrix preconditioning, and the multigrid method are alternatives. A sound design combines local accuracy, boundary fidelity, mesh-independent stability, and an algebraic solver whose residual is small enough for the intended error tolerance.
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 factor
At 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 , solve
For 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 and
in 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 is
It 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 is
One pre- and one post-sweep of weighted Jacobi with gives , . This rank-one matrix has eigenvalues zero and
The 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 , so
If 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.

Articles by others on the same topic (0)

There are currently no matching articles.