{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $(R, \\mathfrak m)$ be a [[Noetherian|0670T59HGE]] [[local ring|MZ02BKPHJA]], let $M$ be a [[finitely generated|05QY1VEBYD]] $R$-module, and let $I$ be an [[$\\mathfrak m$-primary ideal|TMTPWVETQK]] of $R$.\nThe *Hilbert–Samuel function* of $M$ with respect to $I$ is the function $\\chi_M^I \\colon \\N \\to \\N$ given by\n$$\\chi_M^I(n) = \\ell(M/I^n M),$$\nwhere $\\ell$ denotes the [[length|CZSCNZH8VY]] of an $R$-module.\n\n## Remarks\n\nThe length is finite because $M/I^n M$ is a finitely generated module over the Artinian ring $R/I^n$.\nThere is a polynomial $P_M^I$ with rational coefficients, the Hilbert–Samuel polynomial, such that $\\chi_M^I(n) = P_M^I(n)$ for all large $n$.\nIf $M \\neq 0$, its degree is the Krull dimension of $M$, so it does not depend on $I$.\nExample: for $R = k[x, y]_{(x, y)}$, with $k$ a field, $M = R$ and $I = \\mathfrak m$, the module $R/\\mathfrak m^n$ has the $k$-basis of monomials $x^a y^b$ with $a + b \u003c n$, so $\\chi(n) = n(n+1)/2$.\nNon-example: for the same ring and $I = (x)$, which is not $\\mathfrak m$-primary, the module $R/(x)^n$ has infinite length, so the formula does not define a function to $\\N$.\nSome authors use $\\ell(M/I^{n+1} M)$ instead, which shifts the variable by one.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "BNQVS83GZV",
    "kind": "definition",
    "msc": [
      "13D40",
      "13H15"
    ],
    "name": "Hilbert–Samuel function",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Hilbert–Samuel_function"
      }
    ],
    "tag": "22J8E7AB8V",
    "uses": [
      "MZ02BKPHJA",
      "TMTPWVETQK",
      "CZSCNZH8VY",
      "05QY1VEBYD",
      "0670T59HGE"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/22J8E7AB8V/",
  "links": [
    {
      "field": "defines",
      "target": "BNQVS83GZV"
    },
    {
      "field": "uses",
      "target": "MZ02BKPHJA"
    },
    {
      "field": "uses",
      "target": "TMTPWVETQK"
    },
    {
      "field": "uses",
      "target": "CZSCNZH8VY"
    },
    {
      "field": "uses",
      "target": "05QY1VEBYD"
    },
    {
      "field": "uses",
      "target": "0670T59HGE"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/22J8E7AB8V.md",
  "msc": [
    "13D40",
    "13H15"
  ],
  "name": "Hilbert–Samuel function",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/22J/22J8E7AB8V.md",
  "status": null,
  "tag": "22J8E7AB8V",
  "uri": "m2://22J8E7AB8V",
  "url": "https://math2.tamnd.com/wiki/hilbert-samuel-function-definition/",
  "writing": {
    "tag": "22J8E7AB8V",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
