{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "DHRDTHFBFA"
    }
  ],
  "body": "\n## Summary\n\nA five-point stencil is a set of five grid points used to approximate derivatives by finite differences.\nOn a line, it is a point with two neighbours on each side, and it gives fourth-order formulas for the first and second derivative.\nIn the plane, it is a point with its four nearest neighbours, and it gives the standard second-order approximation of the [[Laplacian|0E0B6RA8K0]].\nThe planar version is the basic discretisation of the Poisson equation in the [[finite difference method|X7HYEBA5SA]].\n\n## Explanations\n\n### L1 human\n\nPicture a square grid and a point on it together with its neighbours to the left, right, above and below: these five points form a plus sign.\nAdding the four neighbour values and subtracting four times the centre value measures how much the centre differs from the average around it.\nFor $u(x, y) = x^2 + y^2$ at the origin with spacing $1$, this gives $1 + 1 + 1 + 1 - 0 = 4$, which equals the Laplacian $u_{xx} + u_{yy} = 4$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "65N06",
      "65D25"
    ],
    "name": "Five-point stencil",
    "same_as": {
      "wikidata": "Q5455804",
      "wikipedia": "Five-point stencil"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Five-point_stencil"
      }
    ],
    "specializes": [
      "752Z7DRT7P"
    ],
    "tag": "73WPYFAEWS"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/73WPYFAEWS/",
  "links": [
    {
      "field": "specializes",
      "target": "752Z7DRT7P"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/73WPYFAEWS.md",
  "msc": [
    "65N06",
    "65D25"
  ],
  "name": "Five-point stencil",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/73W/73WPYFAEWS.md",
  "status": null,
  "tag": "73WPYFAEWS",
  "uri": "m2://73WPYFAEWS",
  "url": "https://tamnd.github.io/math2/wiki/five-point-stencil/",
  "writing": {
    "tag": "73WPYFAEWS",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
