{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\ast$ be a [[binary operation|0M418FE7BB]] on a set $S$ and let $a, b \\in S$.\nThe elements $a$ and $b$ *commute* if $a \\ast b = b \\ast a$.\n\n## Remarks\n\nExample: in the set of $2 \\times 2$ real matrices with matrix multiplication, every matrix $A$ commutes with $2A$, because $A(2A) = 2A^2 = (2A)A$.\n\nNon-example: the matrices\n$$A = \\begin{pmatrix} 1 \u0026 1 \\\\ 0 \u0026 1 \\end{pmatrix}, \\quad B = \\begin{pmatrix} 1 \u0026 0 \\\\ 1 \u0026 1 \\end{pmatrix}$$\ndo not commute, because $AB = \\begin{pmatrix} 2 \u0026 1 \\\\ 1 \u0026 1 \\end{pmatrix}$ while $BA = \\begin{pmatrix} 1 \u0026 1 \\\\ 1 \u0026 2 \\end{pmatrix}$.\n\nThe relation \"commutes with\" is reflexive and symmetric but not transitive in general.\nIn the example, $A$ commutes with the identity matrix $I$ and $I$ commutes with $B$, but $A$ and $B$ do not commute.\nThe operation $\\ast$ is commutative if and only if every two elements of $S$ commute.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "YJRBCWQV6B",
    "kind": "definition",
    "msc": [
      "08A02",
      "20A05"
    ],
    "name": "Commuting elements",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Commutative_property"
      }
    ],
    "tag": "WK2FC0NM26",
    "uses": [
      "0M418FE7BB"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/WK2FC0NM26/",
  "links": [
    {
      "field": "defines",
      "target": "YJRBCWQV6B"
    },
    {
      "field": "uses",
      "target": "0M418FE7BB"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/WK2FC0NM26.md",
  "msc": [
    "08A02",
    "20A05"
  ],
  "name": "Commuting elements",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/WK2/WK2FC0NM26.md",
  "status": null,
  "tag": "WK2FC0NM26",
  "uri": "m2://WK2FC0NM26",
  "url": "https://tamnd.github.io/math2/wiki/commuting-elements-definition/",
  "writing": {
    "tag": "WK2FC0NM26",
    "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
      }
    ]
  }
}
