{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "5115KV924G"
    },
    {
      "field": "about",
      "target": "WXV3ZNS2F9"
    },
    {
      "field": "uses",
      "target": "WXV3ZNS2F9"
    }
  ],
  "body": "\n## Summary\n\nA linear difference equation is a recurrence in which the unknown sequence appears only linearly: $a_k(n) u_{n+k} + \\dots + a_0(n) u_n = b(n)$.\nThe coefficients may depend on $n$; when they are constant one gets a [[linear recurrence with constant coefficients|0NDVHBVBXB]].\nIts solutions have the same structure as those of a linear differential equation.\nThe solutions of the homogeneous equation form a vector space, and the general solution is one particular solution plus a homogeneous solution.\n\n## Explanations\n\n### L1 human\n\nIn a linear difference equation each term of the sequence is a weighted sum of earlier terms, plus perhaps an outside input.\nNo products or powers of the unknown terms appear.\nThe Fibonacci rule $u_{n+2} = u_{n+1} + u_n$ is linear with constant weights.\nThe rule $u_{n+1} = (n + 1) u_n$, which produces the factorials from $u_0 = 1$, is linear with a weight that changes with $n$.\nThe rule $u_{n+1} = u_n^2$ is not linear.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "kind": "concept",
    "msc": [
      "39A06"
    ],
    "name": "Linear difference equation",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Linear_recurrence_with_constant_coefficients"
      }
    ],
    "specializes": [
      "0FYX44GP92"
    ],
    "tag": "AA7XRZ4VAG"
  },
  "kind": "concept",
  "link": "https://tamnd.github.io/math2/node/AA7XRZ4VAG/",
  "links": [
    {
      "field": "specializes",
      "target": "0FYX44GP92"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/AA7XRZ4VAG.md",
  "msc": [
    "39A06"
  ],
  "name": "Linear difference equation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/AA7/AA7XRZ4VAG.md",
  "status": null,
  "tag": "AA7XRZ4VAG",
  "uri": "m2://AA7XRZ4VAG",
  "url": "https://tamnd.github.io/math2/wiki/linear-difference-equation/",
  "writing": {
    "tag": "AA7XRZ4VAG",
    "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
      }
    ]
  }
}
