Two Dimensions
In two dimensions, if for example the size of the squares in the grid is h by h, the five point stencil of a point (x, y) in the grid is
forming a pattern that is also called a quincunx. This stencil is often used to approximate the Laplacian of a function of two variables:
The error in this approximation is O(h 2), which may be explained as follows:
From the 3 point stencils for the second derivative of a function with respect to x and y:


If we assume :

Read more about this topic: Five-point Stencil
Famous quotes containing the word dimensions:
“I was surprised by Joes asking me how far it was to the Moosehorn. He was pretty well acquainted with this stream, but he had noticed that I was curious about distances, and had several maps. He and Indians generally, with whom I have talked, are not able to describe dimensions or distances in our measures with any accuracy. He could tell, perhaps, at what time we should arrive, but not how far it was.”
—Henry David Thoreau (18171862)
“Words are finite organs of the infinite mind. They cannot cover the dimensions of what is in truth. They break, chop, and impoverish it.”
—Ralph Waldo Emerson (18031882)