{
  "aliases": null,
  "backlinks": [
    {
      "field": "specializes",
      "target": "73WPYFAEWS"
    },
    {
      "field": "uses",
      "target": "DHRDTHFBFA"
    },
    {
      "field": "defines",
      "target": "QE16SFY3GR"
    }
  ],
  "body": "\n## Summary\n\nFinite difference coefficients are the weights that turn values of a function on a stencil of points into an approximation of a derivative.\nFor a given derivative and stencil, they are found by matching Taylor expansions.\nThis leads to a Vandermonde system with a unique solution.\nThey are the building blocks of [[numerical differentiation|NVH3F8FTYS]] and of the [[finite difference method|X7HYEBA5SA]] for differential equations.\nTables of central, forward and backward coefficients of various orders are standard.\n\n## Explanations\n\n### L1 human\n\nTo estimate the second derivative of $f$ at $x$ from the values at $x - h$, $x$ and $x + h$, one uses the weights $1, -2, 1$ and divides by $h^2$.\nFor $f(x) = x^2$ at $x = 0$ with $h = 1$, this gives $1 - 0 + 1 = 2$, the true second derivative.\nOther derivatives and other sets of points need other weights.\nFinite difference coefficients are these weights, and there is a systematic way to compute them for any stencil.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "65D25",
      "65N06"
    ],
    "name": "Finite difference coefficients",
    "same_as": {
      "wikidata": "Q1747602",
      "wikipedia": "Finite difference coefficient"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Finite_difference_coefficient"
      }
    ],
    "specializes": [
      "NVH3F8FTYS"
    ],
    "tag": "752Z7DRT7P"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/752Z7DRT7P/",
  "links": [
    {
      "field": "specializes",
      "target": "NVH3F8FTYS"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/752Z7DRT7P.md",
  "msc": [
    "65D25",
    "65N06"
  ],
  "name": "Finite difference coefficients",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/752/752Z7DRT7P.md",
  "status": null,
  "tag": "752Z7DRT7P",
  "uri": "m2://752Z7DRT7P",
  "url": "https://tamnd.github.io/math2/wiki/finite-difference-coefficients/",
  "writing": {
    "tag": "752Z7DRT7P",
    "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
      }
    ]
  }
}
