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 transform
form a basis, and substitution into the five-point Laplacian gives
The interior matrix is , so it is nonsingular exactly when
These 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.