The displayed estimate requires a nonnegative barrier. As printed, a counterexample is obtained with two interior nodes, each having row to one boundary node. Set , , and , . Both interior rows have and . Put one node in each of and take . Then the proposed right-hand side is while .
For the intended use, suppose and the stencil has the maximum principle established in part (a). Set . On either subregion,At boundary nodes these functions equal . Hencewhich proves the intended discrete elliptic barrier estimateFor a normalized stencil with and a sign-changing barrier, shifting it by its minimum gives the valid general replacement . The supplied barrier in part (d) is positive, so the printed estimate applies there without a sign problem.
For a normalized two-dimensional discrete Laplacian satisfying the discrete maximum principle, suppose quadratic functions are differentiated exactly and . In a domain of diameter , choose in the domain and . Then and . Applying the discrete elliptic barrier argument to zero-boundary error gives the displayed bound. A mere sign pattern of the stencil does not determine this constant: rescaling the whole operator changes the error-to-residual ratio without changing the domain diameter.