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.
For a sufficiently smooth function, Taylor expansion of the four neighboring values givesThe reaction term is sampled exactly at the grid point. On an exact solution, therefore,The method has second-order local accuracy for the partial differential equation. The original printed equations multiply this expression by , so their unscaled residual is ; that scaling does not make the Laplacian approximation fourth order. Resonance and inverse-matrix bounds are separate issues from this local truncation calculation.
Let be the sum of the four axial neighbors and the sum of the four diagonal neighbors. The two PDF stencils defineThe reaction stencil has four axial weights and center weight , so its weights sum to one. Taylor expansion givesFor example, the diagonal neighbors supply the term needed to turn the fourth derivatives into the full squared Laplacian. Adding the reaction contribution producesOn a smooth solution of the constant-coefficient equation, both displayed leading terms vanish. Thus the compact fourth-order Helmholtz stencil hasThe cancellation uses the differential equation and constant ; the nine-point finite-difference stencil alone still has an operator error on an arbitrary smooth function. It also does not establish a uniform global fourth-order error without an appropriate inverse bound and compatible treatment of boundaries and resonances.
Articles by others on the same topic
There are currently no matching articles.