Discrete Helmholtz resonance 2026-10-14
On a square Dirichlet grid with spacing and interior indices , the five-point Laplacian is diagonalized by products of the sine modes used in the discrete sine transform. The discrete equation is nonsingular exactly when is not one of the displayed positive eigenvalues of , with . Values below the first resonance are sufficient but not necessary for invertibility.
Five-point heat-reaction stability threshold 2026-10-14
On a unit-square uniform mesh with and zero Dirichlet boundary conditions, the semidiscrete five-point Laplacian has eigenvalues . Adding reaction gives a contractive continuous-time grid evolution exactly under the displayed threshold. The threshold is , slightly below the continuum threshold. This is an all-time non-growth criterion; finite-time mesh-uniform bounds also hold for fixed larger reaction rates.
For on the unit square with zero Dirichlet boundary conditions, the continuous eigenvalues are , whereas the mesh- five-point Laplacian gives . The inequality yields . For fixed indices, Taylor's theorem gives an error of order ; for indices , division by gives the positive limit . Thus an error estimate for fixed smooth eigenfunctions need not be uniform over all grid-resolvable eigenfunctions.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 67 6 Solution Created 2026-10-03 Updated 2026-10-31
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 LaplacianExpanding each opposite pair in a Taylor series givesThus 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 obtainThe 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 stencilHere each sum has four terms. Equivalently . Expanding givesThe 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 givesIndeed , 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 , soFor 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.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 68 7 Solution Created 2026-10-03 Updated 2026-10-14
A Mehrstellen method gains accuracy by exploiting the differential equation in the local truncation error of a compact finite difference method stencil. The extra nearby values alone do not guarantee higher order: one must also modify the source term. Consider on a square with prescribed Dirichlet boundary data, using the same spacing in both directions.
For comparison, the five-point Laplacian has expansionIts leading error is not a multiple of , because the mixed fourth derivative is missing. To obtain an isotropic leading error, consider a symmetric nine-point finite-difference stencil with weight on each axial neighbor, on each diagonal neighbor, and on the center, all divided by . Vanishing on constants and consistency of a numerical method require and . Taylor expansion then gives the fourth-derivative contributionFor this to equal we must choose , hence , . The resulting nine-point finite-difference stencil operator isIts expansion, retaining the next term for later use, isThus by itself is second order on a general function. On a Poisson equation solution, however, . Approximating this known source derivative by gives the fourth-order Mehrstellen method equationEquivalently, its two stencils areThe normalized local truncation error is , since . If the equation is multiplied by , the row residual is ; this change of normalization does not make the solution sixth order. The fourth-order correction of the nine-point Poisson stencil retains only the closest axial and diagonal unknowns. A fourth-order one-dimensional second derivative instead uses , widening the unknown stencil and introducing negative outer weights. Mehrstellen method accuracy is obtained by correcting known source values rather than widening that unknown stencil.
The compact scheme has useful stability and solvability properties. With homogeneous Dirichlet boundary data, is symmetric, has positive diagonal and nonpositive off-diagonal entries, and is a positive definite symmetric operator. Indeed its quadratic form is a sum of positive edge weights times squared differences, with boundary values set to zero. Vanishing of this sum would force a constant on the connected grid and then zero by connection to the boundary. Consequently the Dirichlet boundary condition linear system has a unique solution. The same weights give a discrete maximum principle: if at every interior node and on the boundary, a positive maximum inside would make every weighted difference to its neighbors nonpositive. Equality forces the maximum to propagate to the boundary, which is impossible. Thus everywhere.
This also turns consistency of a numerical method into a quantitative convergence result, rather than merely suggesting an order. Let , let be the normalized residual of the exact solution, and set . Exact Dirichlet boundary data imply on the boundary and . On the unit square the quadratic barrierhas exactly, is nonnegative on the boundary, and has maximum . If , then and , while both comparison functions are nonpositive on the boundary. The discrete maximum principle provesThis is maximum-norm convergence of the corrected nine-point Poisson scheme. It requires sufficient smoothness of the solution up to the boundary for the uniform truncation bound. On other domains the source and boundary closures must retain the required accuracy; boundary singularities can invalidate a smooth-solution order estimate.
The same expansion reveals how to add still more accuracy. Differentiating givesThus the sixth derivatives appearing in the term can also be expressed solely through the source. With exact source derivatives,is the sixth-order source correction of the nine-point Poisson stencil, with normalized residual . If source derivatives are replaced by differences, must be approximated through fourth order and the fourth derivatives through second order to retain that accuracy. The unknowns still occupy the same nine-point finite-difference stencil; only evaluation of known source data becomes more elaborate. The same inverse bound yields sixth-order convergence when these approximations and the boundary data have matching accuracy.
A particularly instructive case is the Laplace equation, . Both displayed error corrections automatically vanish: and , which also makes the pure sixth derivatives sum to zero. Expanding the stencil two orders further gives, for a sufficiently smooth harmonic function,For verification, the three eighth-derivative contributions are , and . Because is a harmonic function, their sum is . The example has , so this term is genuinely present. The unmodified harmonic nine-point scheme therefore has sixth-order nodal convergence under the same smoothness and boundary assumptions. This harmonic superconvergence of the nine-point stencil is special to harmonic functions; it should not be confused with the fourth-order source-corrected scheme for general Poisson equation data.
The appeal of Mehrstellenverfahren is this combination of a compact sparse matrix, favorable discrete maximum principle properties, and high accuracy obtained by using the governing equation. The derivation also shows precisely which accuracy belongs to the operator on arbitrary functions, which belongs to its action on solutions, and which survives in the computed boundary-value solution.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 72 5 a Solution Created 2026-10-03 Updated 2026-10-14
Interpret the square as , use equal spacing in both directions and retain interior indices . Boundary values contribute to the right-hand side and do not change the interior coefficient matrix. Products of the one-dimensional sine modes used in the discrete sine transformform a basis, and substitution into the five-point Laplacian givesThe interior matrix is , so it is nonsingular exactly whenThese are the discrete Helmholtz resonance values, including their possible multiplicities. A sufficient condition is , so in particular every nonpositive is allowed. That is not a necessary restriction: positive values between, or above, the finitely many discrete eigenvalues are nonsingular as well. With homogeneous Dirichlet boundary conditions a nonresonant system has only the zero solution; at a resonance the corresponding modes of the discrete sine transform give nonzero homogeneous solutions.
Past exam of the mathematics course of the University of Cambridge 2010 ii Paper 3 39A Solution Created 2026-09-24 Updated 2026-10-14
Take the boundary-fitted grid and assume the standard consistency of a numerical method hypothesis with bounded fourth partial derivatives. Taylor expansion along each coordinate, including a bounded fourth-order remainder, gives the five-point Laplacian truncation errorThe numerical equation and exact grid values therefore imply , where with zero boundary values. Its discrete sine transform eigenvectors are , , and its eigenvalues areThe one-dimensional sine vectors form an orthogonal basis, hence so do their tensor products. The least eigenvalue occurs at . Since for , , so the Euclidean operator norm of is at most . There are residual components, and , givingThe factor matters: pointwise second-order consistency of a numerical method becomes first order in the unweighted Euclidean grid norm.
The PDF does not explicitly impose regularity on the exact solution. Without such a hypothesis its unrestricted error claim is false. Here is a counterexample, with a classical solution smooth in the open square and continuous with zero boundary values:The sampled numerical solution separates as . Its error solves , where and . The one-dimensional residual is . At the first node,The leading coefficient is strictly negative. Moreover on , so the triangular-average formula for the second difference and concavity of give . Thus the positive part of every residual is at most . The matrix has a nonnegative inverse, and its first diagonal inverse entry is at least , as follows from the nonnegative Neumann expansion of its tridiagonal matrix. The discrete comparison principle bounds the inverse image of the residual's positive part by , while the negative first residual gives . Hence for small . Since , the full Euclidean error is bounded below by a positive constant. It cannot be . Thus the boxed estimate holds for the intended smooth solution class; a regularity condition is genuinely necessary.
Past exam of the mathematics course of the University of Cambridge 2017 ii Paper 2 38A iii Solution Created 2026-09-24 Updated 2026-10-05
The five-point Laplacian applied to has expansionThe corrected right side cancels the term in . ConsequentlyMore precisely, the unscaled residual's coefficient is . This fourth-order correction of the nine-point Poisson stencil does not require to be harmonic.
The five-point Laplacian on the square grid isIt adds the second-order central differences in the two coordinate directions and uses the given zero Dirichlet boundary conditions when a neighbouring node lies on the boundary.
The sine addition formula impliesApply this identity with in the direction and with in the direction. For , it givesHence the discrete eigenvalues areBoth sine factors vanish on their respective boundary sides. Also , since and lie strictly between zero and . Thus each array is a nonzero discrete eigenvector, rather than merely the zero solution of the homogeneous system. The separated structure is also described by the five-point Dirichlet Laplacian as a Kronecker sum.