{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $d \\ge 2$, let $\\Omega \\subseteq \\Z^d$, and let $a_1, \\dots, a_r \\in \\Z^d$ be fixed shift vectors.\nLet $F \\colon \\Omega \\times \\R^{r} \\to \\R$ be a given [[function|0EPAT51DXQ]].\nA *partial difference equation* for an unknown function $u \\colon \\Z^d \\to \\R$ is a condition of the form\n$$F\\big(m, u(m + a_1), u(m + a_2), \\dots, u(m + a_r)\\big) = 0 \\quad \\text{for all } m \\in \\Omega.$$\nA *solution* is a function $u$ that satisfies it for every $m \\in \\Omega$.\n\n## Remarks\n\nExample: the explicit scheme for the heat equation,\n$$u(j, n+1) = u(j, n) + \\lambda \\big( u(j+1, n) - 2u(j, n) + u(j-1, n) \\big), \\qquad (j, n) \\in \\Z \\times \\N,$$\nwith a constant $\\lambda \u003e 0$, is a partial difference equation with $d = 2$ and shifts $(0, 1), (0, 0), (1, 0), (-1, 0)$.\n\nNon-example: $u(n+2) = u(n+1) + u(n)$ for $u \\colon \\Z \\to \\R$ involves only one integer variable, so $d = 1$ and it is an ordinary difference equation.\n\nOne may also take $u$ defined only on a subset of $\\Z^d$ that contains all the points $m + a_i$, as in the heat scheme on $\\Z \\times \\N$.\nFor example, the binomial coefficients $c(n, k) = \\binom{n}{k}$ on $\\N^2$ satisfy $c(n+1, k+1) = c(n, k) + c(n, k+1)$.\nThe values may also lie in another field or ring instead of $\\R$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "4B7M4A1MH0",
    "kind": "definition",
    "msc": [
      "39A14"
    ],
    "name": "Partial difference equation",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Recurrence_relation"
      }
    ],
    "tag": "ZVZQ1KCHGH",
    "uses": [
      "0EPAT51DXQ"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/ZVZQ1KCHGH/",
  "links": [
    {
      "field": "defines",
      "target": "4B7M4A1MH0"
    },
    {
      "field": "uses",
      "target": "0EPAT51DXQ"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/ZVZQ1KCHGH.md",
  "msc": [
    "39A14"
  ],
  "name": "Partial difference equation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/ZVZ/ZVZQ1KCHGH.md",
  "status": null,
  "tag": "ZVZQ1KCHGH",
  "uri": "m2://ZVZQ1KCHGH",
  "url": "https://tamnd.github.io/math2/wiki/partial-difference-equation-definition/",
  "writing": {
    "tag": "ZVZQ1KCHGH",
    "kind": "definition",
    "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
      }
    ]
  }
}
