{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $K$ be a field and let $m \\ge 1$.\nLet $A(n)$, for $n \\in \\N$, be $m \\times m$ [[matrices|0VD9ZSWWJG]] over $K$, and let $b(n)$, for $n \\in \\N$, be vectors in $K^m$.\nA *matrix difference equation* (of first order) is the equation\n$$x(n+1) = A(n)\\, x(n) + b(n) \\qquad (n \\in \\N)$$\nfor a [[sequence|0G9EKM0E15]] of vectors $x \\colon \\N \\to K^m$.\n\n1. It is *homogeneous* if $b(n) = 0$ for all $n$.\n2. It has *constant coefficients* if $A(n) = A$ does not depend on $n$.\n\nA *solution* is a sequence $x$ that satisfies the equation for all $n \\in \\N$.\n\n## Remarks\n\nExample: with $m = 2$, $A = \\begin{pmatrix} 1 \u0026 1 \\\\ 1 \u0026 0 \\end{pmatrix}$ and $b = 0$, the sequence $x(n) = (F_{n+1}, F_n)^T$ of [[Fibonacci numbers|0GA9K57A39]] is a solution, since $F_{n+2} = F_{n+1} + F_n$ and the second entry just shifts.\nNon-example: $x(n+1) = x(n)^2$ for $x(n) \\in K$ is not a matrix difference equation, since the right side is not of the form $A(n) x(n) + b(n)$.\nIn the homogeneous constant-coefficient case the solutions are $x(n) = A^n x(0)$.\nEquations of higher order, such as $x(n+1) = A_0 x(n) + A_1 x(n-1)$, reduce to first order by stacking $(x(n), x(n-1))$ into one vector of size $2m$.\nIn this way a scalar linear recurrence of order $d$ becomes a first-order system with a [[companion matrix|0ZCWPNZTQ3]].\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "9VA6P5KQQT",
    "kind": "definition",
    "msc": [
      "39A06"
    ],
    "name": "Matrix difference equation",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Matrix_difference_equation"
      }
    ],
    "tag": "AGMBTZQC97",
    "uses": [
      "0VD9ZSWWJG",
      "0G9EKM0E15"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/AGMBTZQC97/",
  "links": [
    {
      "field": "defines",
      "target": "9VA6P5KQQT"
    },
    {
      "field": "uses",
      "target": "0VD9ZSWWJG"
    },
    {
      "field": "uses",
      "target": "0G9EKM0E15"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/AGMBTZQC97.md",
  "msc": [
    "39A06"
  ],
  "name": "Matrix difference equation",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/AGM/AGMBTZQC97.md",
  "status": null,
  "tag": "AGMBTZQC97",
  "uri": "m2://AGMBTZQC97",
  "url": "https://tamnd.github.io/math2/wiki/matrix-difference-equation-definition/",
  "writing": {
    "tag": "AGMBTZQC97",
    "kind": "definition",
    "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
      }
    ]
  }
}
