{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "0BWDJGQYST"
    },
    {
      "field": "uses",
      "target": "0ZV2YKKZ58"
    }
  ],
  "body": "\n## Definition\n\nLet $R$ be a commutative ring and let $d$ be a natural number.\nA linear recurrence of order $d$ with constant coefficients over $R$ is given by coefficients $c_0, c_1, \\dots, c_{d-1} \\in R$.\nIt is the [[recurrence relation|07TZV87Y0T]]\n$$u_{n+d} = c_0 u_n + c_1 u_{n+1} + \\dots + c_{d-1} u_{n+d-1} \\qquad (n \\ge 0)$$\nfor sequences $(u_n)_{n \\ge 0}$ in $R$.\n\n## Remarks\n\nThis form is homogeneous. A non-homogeneous recurrence adds a term $g(n)$ that does not depend on $u$.\nThe [[Fibonacci sequence|0GA9K57A39]] satisfies the recurrence of order $2$ with $c_0 = c_1 = 1$.\nThe sequences that satisfy it are its [[solutions|0ZV2YKKZ58]]. Its [[characteristic polynomial|0BWDJGQYST]] is $X^d - c_{d-1} X^{d-1} - \\dots - c_1 X - c_0$.\n\n## Explanations\n\n### L1 human\n\nIn a linear recurrence with constant coefficients, each new term is a fixed weighted sum of the previous $d$ terms.\nThe weights do not change with $n$.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "defines": "0NDVHBVBXB",
    "kind": "definition",
    "msc": [
      "39A06"
    ],
    "name": "Linear recurrence with constant coefficients",
    "sources": [
      {
        "locator": "Definitions",
        "url": "https://en.wikipedia.org/wiki/Linear_recurrence_with_constant_coefficients"
      }
    ],
    "tag": "081THG13JZ",
    "uses": [
      "07TZV87Y0T"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/081THG13JZ/",
  "links": [
    {
      "field": "defines",
      "target": "0NDVHBVBXB"
    },
    {
      "field": "uses",
      "target": "07TZV87Y0T"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/081THG13JZ.md",
  "msc": [
    "39A06"
  ],
  "name": "Linear recurrence with constant coefficients",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/081/081THG13JZ.md",
  "status": null,
  "tag": "081THG13JZ",
  "uri": "m2://081THG13JZ",
  "url": "https://math2.tamnd.com/wiki/linear-recurrence-with-constant-coefficients-definition/",
  "writing": {
    "tag": "081THG13JZ",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
