{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Summary\n\nLet $F$ be a field, and let $A$ be an $n \\times n$ matrix over $F$ with $A = P D P^{-1}$.\nHere $P$ is invertible and $D$ is diagonal with entries $\\lambda_1, \\dots, \\lambda_n$.\nThen, for each integer $k \\ge 0$,\n$$A^k = P D^k P^{-1},$$\nwhere $D^k$ is the diagonal matrix with entries $\\lambda_1^k, \\dots, \\lambda_n^k$.\nSo the powers of a [[diagonalisable|07SQCNV233]] matrix are easy to compute.\n\n## Remarks\n\nThe factors $P^{-1} P$ in $(P D P^{-1})^k$ cancel in pairs.\nThe same idea gives $p(A) = P\\, p(D)\\, P^{-1}$ for each polynomial $p$.\nOver $\\R$ or $\\C$, it also gives the matrix exponential $e^A = P e^D P^{-1}$.\nIt is the standard method to solve linear recurrences, such as the Fibonacci recurrence.\n\n## Explanations\n\n### L1 human\n\nTo raise a diagonalisable matrix to a power, change to the basis of eigenvectors.\nThere the matrix is diagonal, and its power is the diagonal of the powers of the eigenvalues.\nThen change back to the old basis.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "concept",
    "msc": [
      "15A20",
      "15A16"
    ],
    "name": "Powers of a diagonalisable matrix",
    "sources": [
      {
        "locator": "Application to matrix functions",
        "url": "https://en.wikipedia.org/wiki/Diagonalizable_matrix"
      }
    ],
    "tag": "0TNR9BQ871",
    "uses": [
      "0Y17PEKF24"
    ]
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/0TNR9BQ871/",
  "links": [
    {
      "field": "uses",
      "target": "0Y17PEKF24"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0TNR9BQ871.md",
  "msc": [
    "15A20",
    "15A16"
  ],
  "name": "Powers of a diagonalisable matrix",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0TN/0TNR9BQ871.md",
  "status": null,
  "tag": "0TNR9BQ871",
  "uri": "m2://0TNR9BQ871",
  "url": "https://math2.tamnd.com/wiki/powers-of-a-diagonalisable-matrix/",
  "writing": {
    "tag": "0TNR9BQ871",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
