where S shifts one grid cell cyclically. For J≥3, A has diagonal 1+2r, adjacent and corner entries −r, and all other entries zero. It is a cyclic tridiagonal matrix, rather than a nonperiodic tridiagonal one.
The periodic Laplacian annihilates the constant vector, so its steady equation requires j∑ρj=0. A strictly positive gravitational density violates this condition: summing the update gives Φˉn+1=Φˉn−4πGΔτρˉ, an indefinitely drifting mean. Periodic gravitational calculations normally solve for ρ−ρˉ and fix the arbitrary mean gravitational potential. The per-step matrixA itself remains invertible; the issue is existence of a periodic steady solution of Poisson's equation.