{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "2MM7AHFR2S"
    },
    {
      "field": "uses",
      "target": "8HSQHDNFEF"
    },
    {
      "field": "uses",
      "target": "TXTR68V4R1"
    }
  ],
  "body": "\n## Definition\n\nLet $f \\colon \\R \\to \\R$ be a [[function|0XHDTE5YMZ]], and let $a, b \\in \\R$ with $a \\ne b$.\nThe *finite difference* of $f$ with offsets $a$ and $b$ is the function\n$$x \\mapsto f(x + b) - f(x + a).$$\nFor a step $h \u003e 0$, the three standard cases are:\n\n1. the forward difference $\\Delta_h f(x) = f(x + h) - f(x)$, with $a = 0$ and $b = h$;\n2. the backward difference $\\nabla_h f(x) = f(x) - f(x - h)$, with $a = -h$ and $b = 0$;\n3. the central difference $\\delta_h f(x) = f(x + \\tfrac{h}{2}) - f(x - \\tfrac{h}{2})$, with $a = -\\tfrac{h}{2}$ and $b = \\tfrac{h}{2}$.\n\n## Remarks\n\nExample: for $f(x) = x^3$ and $h = 1$, the forward difference is $(x+1)^3 - x^3 = 3x^2 + 3x + 1$.\nNon-example: $f(x + h) + f(x)$ is not a finite difference, since it is a sum of values and not a difference.\nDividing by $b - a$ gives the difference quotient $\\frac{f(x + b) - f(x + a)}{b - a}$.\nThe same formulas make sense for functions from an abelian group to an abelian group, and for sequences, where the step is $1$.\nSee the [[forward difference operator|8E0EBA8X07]], the [[backward difference operator|MK5JGVDPS9]] and the [[central difference|BVGYDP6YKF]].\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "7JSQZ126BP",
    "kind": "definition",
    "msc": [
      "39A70",
      "39A12"
    ],
    "name": "Finite difference",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Finite_difference"
      }
    ],
    "tag": "CYW8E2HTWN",
    "uses": [
      "0XHDTE5YMZ"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/CYW8E2HTWN/",
  "links": [
    {
      "field": "defines",
      "target": "7JSQZ126BP"
    },
    {
      "field": "uses",
      "target": "0XHDTE5YMZ"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/CYW8E2HTWN.md",
  "msc": [
    "39A70",
    "39A12"
  ],
  "name": "Finite difference",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/CYW/CYW8E2HTWN.md",
  "status": null,
  "tag": "CYW8E2HTWN",
  "uri": "m2://CYW8E2HTWN",
  "url": "https://tamnd.github.io/math2/wiki/finite-difference-definition/",
  "writing": {
    "tag": "CYW8E2HTWN",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
