{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mathcal{C}$ be a [[concrete category|FYBRP16KAN]] with forgetful functor $U \\colon \\mathcal{C} \\to \\mathbf{Set}$, and let $X$ be a set.\nA *free object* on $X$ is an object $A$ of $\\mathcal{C}$ with a map of sets $i \\colon X \\to U A$ with this [[universal property|EN4DD2FAJH]].\nFor every object $B$ of $\\mathcal{C}$ and every map $f \\colon X \\to U B$, there is a unique morphism $g \\colon A \\to B$ with $U(g) \\circ i = f$.\n\n## Remarks\n\nA free object on $X$ is unique up to a unique isomorphism compatible with $i$.\nIf every set has a free object $F(X)$, then $F$ is a functor and is left adjoint to $U$.\n\nExample: in the category of groups, the free group $F(X)$ of reduced words in $X \\cup X^{-1}$, with $i$ sending $x$ to the one-letter word, is a free object.\nGiven $f \\colon X \\to U B$, the morphism $g$ sends a reduced word $x_1^{\\epsilon_1} \\cdots x_n^{\\epsilon_n}$ to $f(x_1)^{\\epsilon_1} \\cdots f(x_n)^{\\epsilon_n}$, and it is the only homomorphism extending $f$.\n\nNon-example: the group $\\Z/2\\Z$ with $i$ sending the point of $X = \\set{x}$ to $1$ is not free on $X$.\nFor $B = \\Z$ and $f(x) = 1$, there is no homomorphism $g \\colon \\Z/2\\Z \\to \\Z$ with $g(1) = 1$, since $2 g(1) = g(0) = 0$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "QBDT694BAP",
    "kind": "definition",
    "msc": [
      "18A40",
      "08B20"
    ],
    "name": "Free object",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Free_object"
      }
    ],
    "tag": "KJ2NZCB7TH",
    "uses": [
      "FYBRP16KAN",
      "EN4DD2FAJH",
      "WP0YB7VC59"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/KJ2NZCB7TH/",
  "links": [
    {
      "field": "defines",
      "target": "QBDT694BAP"
    },
    {
      "field": "uses",
      "target": "FYBRP16KAN"
    },
    {
      "field": "uses",
      "target": "EN4DD2FAJH"
    },
    {
      "field": "uses",
      "target": "WP0YB7VC59"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/KJ2NZCB7TH.md",
  "msc": [
    "18A40",
    "08B20"
  ],
  "name": "Free object",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/KJ2/KJ2NZCB7TH.md",
  "status": null,
  "tag": "KJ2NZCB7TH",
  "uri": "m2://KJ2NZCB7TH",
  "url": "https://tamnd.github.io/math2/wiki/free-object-definition/",
  "writing": {
    "tag": "KJ2NZCB7TH",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
