{
  "aliases": null,
  "backlinks": [
    {
      "field": "uses",
      "target": "08FHNR8Z5D"
    }
  ],
  "body": "\n## Definition\n\nA monoid is a triple $(M, \\ast, e)$, where $(M, \\ast)$ is a [[semigroup|0XMEM406JM]] and $e \\in M$ is an [[identity element|07WYQPB8E3]] for $\\ast$.\nThus $(a \\ast b) \\ast c = a \\ast (b \\ast c)$ and $e \\ast a = a \\ast e = a$ for all $a, b, c \\in M$.\n\n## Remarks\n\nThe natural numbers $\\mathbb{N} = \\{0, 1, 2, \\ldots\\}$ with addition form a monoid with identity $0$.\nThe integers with multiplication form a monoid with identity $1$.\nThe identity element of a monoid is unique, thus some authors write a monoid as the pair $(M, \\ast)$.\nEach [[group|G5S1M9]] is a monoid in which each element has an [[inverse|0ZNZH0EXFX]].\n\n## Explanations\n\n### L1 human\n\nA monoid is a set with an associative operation and an element that does nothing.\nThe strings of letters with concatenation form a monoid, and the empty string is the identity.\nIn a monoid, an element need not have an inverse: you cannot undo the addition of a letter.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0N6R902FG1",
    "kind": "definition",
    "msc": [
      "20M10"
    ],
    "name": "Monoid",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Monoid"
      }
    ],
    "tag": "0R47MAD57S",
    "uses": [
      "0V3CFG1KK9",
      "0RQPZZ44T4"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0R47MAD57S/",
  "links": [
    {
      "field": "defines",
      "target": "0N6R902FG1"
    },
    {
      "field": "uses",
      "target": "0V3CFG1KK9"
    },
    {
      "field": "uses",
      "target": "0RQPZZ44T4"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0R47MAD57S.md",
  "msc": [
    "20M10"
  ],
  "name": "Monoid",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0R4/0R47MAD57S.md",
  "status": null,
  "tag": "0R47MAD57S",
  "uri": "m2://0R47MAD57S",
  "url": "https://math2.tamnd.com/wiki/monoid-definition/",
  "writing": {
    "tag": "0R47MAD57S",
    "kind": "definition",
    "level": "W1",
    "next": [
      {
        "what": "edge instance_of in",
        "note": "one example",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge not_instance_of in",
        "note": "one non-example that fails one clause",
        "have": 0,
        "want": 1
      }
    ]
  }
}
