{
  "aliases": null,
  "backlinks": [
    {
      "field": "defines",
      "target": "MX26N71ZD3"
    }
  ],
  "body": "\n## Summary\n\nTwo square matrices $A$ and $B$ commute when $AB = BA$.\n[[Matrix multiplication|032Q9FB8MT]] is [[not commutative|0P506SPZP2]] in general, so commuting pairs are special.\nCommuting matrices behave much like numbers: for example, $e^{A + B} = e^{A} e^{B}$ for [[commuting matrices|04BD23PSK5]].\nDiagonalisable matrices can be diagonalised by one common basis exactly when they commute, by [[simultaneous diagonalisation|0FK17N4DKA]].\n\n## Explanations\n\n### L1 human\n\nFor numbers, the order of a product never matters, but for matrices it usually does.\nMatrices that commute are the pairs for which the order does not matter.\nAs maps, applying $A$ then $B$ gives the same result as applying $B$ then $A$.\nFor example, every matrix commutes with itself, with its powers, and with every [[scalar matrix|067NKSBEWT]] $cI$.\nThe matrices $\\begin{pmatrix} 1 \u0026 1 \\\\ 0 \u0026 1 \\end{pmatrix}$ and $\\begin{pmatrix} 1 \u0026 0 \\\\ 1 \u0026 1 \\end{pmatrix}$ do not commute.\n",
  "commit": "5fc425f97f1f6b11da5892c2948ef8c5d8805665",
  "front": {
    "kind": "concept",
    "msc": [
      "15A27"
    ],
    "name": "Commuting matrices",
    "same_as": {
      "wikidata": "Q3360633",
      "wikipedia": "Commuting matrices"
    },
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Commuting_matrices"
      }
    ],
    "tag": "8G3X8MPG7E"
  },
  "kind": "concept",
  "link": "https://math2.tamnd.com/node/8G3X8MPG7E/",
  "links": null,
  "markdown": "https://math2.tamnd.com/node/8G3X8MPG7E.md",
  "msc": [
    "15A27"
  ],
  "name": "Commuting matrices",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/8G3/8G3X8MPG7E.md",
  "status": null,
  "tag": "8G3X8MPG7E",
  "uri": "m2://8G3X8MPG7E",
  "url": "https://math2.tamnd.com/wiki/commuting-matrices/",
  "writing": {
    "tag": "8G3X8MPG7E",
    "kind": "concept",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
