{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "DV00798WNX"
    }
  ],
  "body": "\n## Definition\n\nLet $X$ be a set and let $(u_n)_{n \\ge 0}$ denote an unknown sequence in $X$.\nConsider a difference equation of the form\n$$F(n, u_n, u_{n+1}, \\dots, u_{n+k}) = 0 \\qquad (n \\ge 0),$$\nwhere $k \\ge 0$ is an integer and $F$ is a given function.\nThe equation has *order* $k$ if $F$ depends on both its second argument $u_n$ and its last argument $u_{n+k}$.\nFor a [[recurrence relation|07TZV87Y0T]] $u_{n+k} = f(n, u_n, \\dots, u_{n+k-1})$ in which $f$ depends on $u_n$, the order is $k$.\n\n## Remarks\n\nExample: $u_{n+3} = u_{n+1} + 2u_n$ has order $3$.\nThe indices that occur are $n$, $n+1$ and $n+3$, and the largest minus the smallest is $3$.\nNon-example: $u_{n+3} = 2u_{n+2}$ looks like order $3$, but $u_n$ does not occur.\nAfter the substitution $v_n = u_{n+2}$ it reads $v_{n+1} = 2v_n$, which has order $1$.\nFor a linear equation $a_k(n) u_{n+k} + \\dots + a_0(n) u_n = b(n)$ the order is $k$ when neither $a_k$ nor $a_0$ is the zero sequence.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "SNRN446BHC",
    "kind": "definition",
    "msc": [
      "39A05"
    ],
    "name": "Order of a difference equation",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Recurrence_relation"
      }
    ],
    "tag": "J00G7MTBFB",
    "uses": [
      "07TZV87Y0T"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/J00G7MTBFB/",
  "links": [
    {
      "field": "defines",
      "target": "SNRN446BHC"
    },
    {
      "field": "uses",
      "target": "07TZV87Y0T"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/J00G7MTBFB.md",
  "msc": [
    "39A05"
  ],
  "name": "Order of a difference equation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/J00/J00G7MTBFB.md",
  "status": null,
  "tag": "J00G7MTBFB",
  "uri": "m2://J00G7MTBFB",
  "url": "https://tamnd.github.io/math2/wiki/order-of-a-difference-equation-definition/",
  "writing": {
    "tag": "J00G7MTBFB",
    "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
      }
    ]
  }
}
