{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "096SD4ERQH"
    }
  ],
  "body": "\n## Definition\n\nLet $R$ be a commutative ring, and let $E$ be a [[linear recurrence with constant coefficients|081THG13JZ]] over $R$, of order $d$ with coefficients $c_0, \\dots, c_{d-1}$.\nThe characteristic polynomial of $E$ is the polynomial\n$$\\chi_E(X) = X^d - \\sum_{i=0}^{d-1} c_i X^i \\in R[X].$$\n\n## Remarks\n\nFor the Fibonacci recurrence $u_{n+2} = u_{n+1} + u_n$, the characteristic polynomial is $X^2 - X - 1$. Its roots are the [[golden ratio|0SC8T7548D]] $\\varphi$ and $1 - \\varphi$.\nA geometric sequence $q^n$ is a solution if and only if $q$ is a root of $\\chi_E$. The node [[geometric solutions|096SD4ERQH]] states this.\n\n## Explanations\n\n### L1 human\n\nReplace $u_{n+i}$ by $X^i$ in the recurrence and move everything to one side.\nThis gives the characteristic polynomial, and its roots tell you the geometric sequences that solve the recurrence.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "defines": "0YA7X86K05",
    "kind": "definition",
    "msc": [
      "39A06"
    ],
    "name": "Characteristic polynomial of a linear recurrence",
    "sources": [
      {
        "locator": "Characteristic polynomial and roots",
        "url": "https://en.wikipedia.org/wiki/Linear_recurrence_with_constant_coefficients"
      }
    ],
    "tag": "0BWDJGQYST",
    "uses": [
      "081THG13JZ"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0BWDJGQYST/",
  "links": [
    {
      "field": "defines",
      "target": "0YA7X86K05"
    },
    {
      "field": "uses",
      "target": "081THG13JZ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0BWDJGQYST.md",
  "msc": [
    "39A06"
  ],
  "name": "Characteristic polynomial of a linear recurrence",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0BW/0BWDJGQYST.md",
  "status": null,
  "tag": "0BWDJGQYST",
  "uri": "m2://0BWDJGQYST",
  "url": "https://math2.tamnd.com/wiki/characteristic-polynomial-of-a-linear-recurrence-definition/",
  "writing": {
    "tag": "0BWDJGQYST",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
