{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $F$ be a field and let $A$ and $B$ be [[diagonalisable|07SQCNV233]] $n \\times n$ matrices over $F$.\nThen there is one invertible $n \\times n$ matrix $P$ such that both $P^{-1} A P$ and $P^{-1} B P$ are diagonal if and only if $AB = BA$.\n\n## Remarks\n\nDiagonal matrices commute, so the condition $AB = BA$ is necessary.\nFor sufficiency, $B$ maps each eigenspace of $A$ to itself, and it is diagonalisable on each of them.\nThe same holds for each family of pairwise commuting diagonalisable matrices.\n\n## Explanations\n\n### L1 human\n\nTwo diagonalisable matrices can be diagonalised by the same change of basis exactly when they commute.\nThen they share a basis of eigenvectors.\nThis fact is important in quantum mechanics, where commuting observables can be measured together.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "15A20",
      "15A27"
    ],
    "name": "Simultaneous diagonalisation",
    "role": "theorem",
    "sources": [
      {
        "locator": "Simultaneous diagonalization",
        "url": "https://en.wikipedia.org/wiki/Diagonalizable_matrix"
      }
    ],
    "tag": "0FK17N4DKA",
    "uses": [
      "0Y17PEKF24"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/0FK17N4DKA/",
  "links": [
    {
      "field": "uses",
      "target": "0Y17PEKF24"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0FK17N4DKA.md",
  "msc": [
    "15A20",
    "15A27"
  ],
  "name": "Simultaneous diagonalisation",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0FK/0FK17N4DKA.md",
  "status": null,
  "tag": "0FK17N4DKA",
  "uri": "m2://0FK17N4DKA",
  "url": "https://math2.tamnd.com/wiki/simultaneous-diagonalisation/",
  "writing": {
    "tag": "0FK17N4DKA",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
