Let . A one-dimensional Taylor expansion givesAdding the three coordinate directions shows that the exact solution has stencil defectThis is the local defect of the seven-point Dirichlet Laplacian. Its inverse has max-norm size : this follows from the discrete maximum principle, for example by comparison with the grid restriction of , whose stencil is . Therefore the grid error is .
The question writes this error as , soIn the more usual terminology, the finite difference method is second-order accurate.
Each diagonal entry of is . Two distinct grid unknowns have matrix entry precisely when their nodes are nearest neighbours in one coordinate direction, and otherwise have entry . Nearest-neighbour adjacency is symmetric: node is adjacent to node exactly when node is adjacent to node . Hence for every pair, independently of the chosen ordering, and
Extend a grid vector by zero to the Dirichlet boundary. Pairing contributions along undirected nearest-neighbour edges gives the discrete energy identitywhere includes edges from an interior node to a boundary node. This is the three-dimensional version of summation by parts for the seven-point Dirichlet Laplacian.
The right side is nonpositive. If it vanishes, every pair of neighbouring values agrees; connectivity of the grid and the zero boundary values then imply . Thus for every nonzero , so is negative definite. In particular, zero is not an eigenvalue, and therefore
Articles by others on the same topic
There are currently no matching articles.