{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(P, \\le)$ be a [[locally finite poset|TV1V4JDRDD]], and write $x \u003c y$ when $x \\le y$ and $x \\ne y$.\nThe *Möbius function* of $P$ is the function $\\mu \\colon P \\times P \\to \\Z$ given by:\n\n1. $\\mu(x, x) = 1$ for all $x \\in P$.\n2. $\\mu(x, y) = -\\sum_{x \\le z \u003c y} \\mu(x, z)$ for $x \u003c y$.\n3. $\\mu(x, y) = 0$ when $x \\not\\le y$.\n\n## Remarks\n\nClause 2 is a recursion over the finite interval $[x, y]$, so $\\mu$ is well defined.\nEquivalently, $\\mu$ is the inverse of the zeta function $\\zeta$ in the [[incidence algebra|1H9SFWHYEB]] of $P$, where $\\zeta(x, y) = 1$ for $x \\le y$ and $0$ otherwise.\nFrom this one also gets $\\mu(x, y) = -\\sum_{x \u003c z \\le y} \\mu(z, y)$ for $x \u003c y$.\n\nExample: in the lattice of subsets of a finite set, $\\mu(S, T) = (-1)^{\\abs{T \\setminus S}}$ for $S \\subseteq T$.\nCheck: for $\\abs{T \\setminus S} = k \\ge 1$, the sum $\\sum_{S \\subseteq U \\subseteq T} (-1)^{\\abs{U \\setminus S}} = \\sum_{j=0}^{k} \\binom{k}{j} (-1)^j = (1 - 1)^k = 0$, as clauses 1 and 2 require.\n\nNon-example: the function $\\nu(x, y) = (-1)^{y - x}$ for $x \\le y$ on the chain $\\N$ is not the Möbius function.\nIt satisfies clause 1, but clause 2 fails at $(0, 2)$: there $\\mu(0, 2) = -(1 - 1) = 0$, while $\\nu(0, 2) = 1$.\n\nFor the positive integers ordered by divisibility, $\\mu(d, n)$ is the number-theoretic Möbius function of $n / d$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "2Y75S8NG5B",
    "kind": "definition",
    "msc": [
      "06A07",
      "05A19"
    ],
    "name": "Möbius function of a poset",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Incidence_algebra"
      }
    ],
    "tag": "ARGZ549BQT",
    "uses": [
      "TV1V4JDRDD",
      "1H9SFWHYEB"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/ARGZ549BQT/",
  "links": [
    {
      "field": "defines",
      "target": "2Y75S8NG5B"
    },
    {
      "field": "uses",
      "target": "TV1V4JDRDD"
    },
    {
      "field": "uses",
      "target": "1H9SFWHYEB"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/ARGZ549BQT.md",
  "msc": [
    "06A07",
    "05A19"
  ],
  "name": "Möbius function of a poset",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/ARG/ARGZ549BQT.md",
  "status": null,
  "tag": "ARGZ549BQT",
  "uri": "m2://ARGZ549BQT",
  "url": "https://tamnd.github.io/math2/wiki/mobius-function-of-a-poset-definition/",
  "writing": {
    "tag": "ARGZ549BQT",
    "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
      }
    ]
  }
}
