{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "05BDYVQQ0T"
    },
    {
      "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}$.\nA solution of $E$ is a sequence $u : \\mathbb{N} \\to R$ such that\n$$u_{n+d} = \\sum_{i=0}^{d-1} c_i\\, u_{n+i} \\quad \\text{for all } n \\in \\mathbb{N}.$$\n\n## Remarks\n\nEach choice of the initial values $u_0, \\dots, u_{d-1}$ gives exactly one solution.\nThe sum of two solutions is a solution, and a multiple of a solution is a solution. So the solutions form the [[space of solutions|05BDYVQQ0T]].\nFor $u_{n+2} = u_{n+1} + u_n$, the Lucas numbers $2, 1, 3, 4, 7, 11, \\dots$ form a solution.\n\n## Explanations\n\n### L1 human\n\nA solution is a sequence that obeys the rule of the recurrence at every step.\nThe rule alone does not fix the sequence: you also choose the first $d$ terms.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "defines": "06MJC8YDYR",
    "kind": "definition",
    "msc": [
      "39A06"
    ],
    "name": "Solution of a linear recurrence",
    "sources": [
      {
        "locator": "General solution",
        "url": "https://en.wikipedia.org/wiki/Linear_recurrence_with_constant_coefficients"
      }
    ],
    "tag": "0ZV2YKKZ58",
    "uses": [
      "081THG13JZ"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0ZV2YKKZ58/",
  "links": [
    {
      "field": "defines",
      "target": "06MJC8YDYR"
    },
    {
      "field": "uses",
      "target": "081THG13JZ"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0ZV2YKKZ58.md",
  "msc": [
    "39A06"
  ],
  "name": "Solution of a linear recurrence",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0ZV/0ZV2YKKZ58.md",
  "status": null,
  "tag": "0ZV2YKKZ58",
  "uri": "m2://0ZV2YKKZ58",
  "url": "https://math2.tamnd.com/wiki/solution-of-a-linear-recurrence-definition/",
  "writing": {
    "tag": "0ZV2YKKZ58",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
