{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $A$ be the [[shift operator|91QMF4R1CY]] on sequences, so that $(Af)(n) = f(n+1)$. Let $r$ be a constant and let $k \\ge 1$ be an integer.\n\nConsider the recurrence $(A - r)^k f = 0$. Its [[characteristic polynomial|0BWDJGQYST]] is $(x - r)^k$, so $r$ is its only root, with multiplicity $k$.\n\nThen the general solution is\n$$f(n) = c_1 r^n + c_2 n r^n + c_3 n^2 r^n + \\dots + c_k n^{k-1} r^n,$$\nwhere $c_1, \\dots, c_k$ are arbitrary constants. That is, each sequence of this form solves the recurrence, and each solution has this form for some constants.\n\n## Remarks\n\nFor $k = 1$ the recurrence is $f(n+1) = r f(n)$, and the solutions are $c_1 r^n$.\n\nFor $k = 2$ the solutions are $(c_1 + c_2 n) r^n$.\n\nThe shape matches the differential equation case, where a root of multiplicity $m$ gives $x^j e^{rx}$ for $0 \\le j \u003c m$.\n",
  "commit": "a799a9852bcfeae9dc83faa3bef60208bb53686b",
  "front": {
    "kind": "statement",
    "msc": [
      "39A06"
    ],
    "name": "General solution of a recurrence with a repeated root",
    "role": "lemma",
    "sources": [
      {
        "locator": "source/s_recurrence_rigorous.ptx:152",
        "url": "https://github.com/mitchkeller/applied-combinatorics/blob/ebd95d6bd59e23c633c65cf560bcb93efa912aae/source/s_recurrence_rigorous.ptx#L152"
      }
    ],
    "tag": "AGXA4Q7E5J",
    "uses": [
      "91QMF4R1CY",
      "0BWDJGQYST"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/AGXA4Q7E5J/",
  "links": [
    {
      "field": "uses",
      "target": "91QMF4R1CY"
    },
    {
      "field": "uses",
      "target": "0BWDJGQYST"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/AGXA4Q7E5J.md",
  "msc": [
    "39A06"
  ],
  "name": "General solution of a recurrence with a repeated root",
  "prov": null,
  "role": "lemma",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/AGX/AGXA4Q7E5J.md",
  "status": null,
  "tag": "AGXA4Q7E5J",
  "uri": "m2://AGXA4Q7E5J",
  "url": "https://math2.tamnd.com/wiki/general-solution-of-a-recurrence-with-a-repeated-root/",
  "writing": {
    "tag": "AGXA4Q7E5J",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
