{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $\\mathcal{E}_n$ be the ring of [[germs|7SWSRGDT4A]] at $0$ of smooth functions $\\R^n \\to \\R$, and let $\\mathfrak{m}$ be its maximal [[ideal|096Z9MP2ME]] of germs vanishing at $0$.\nLet $f \\in \\mathcal{E}_n$ have a [[critical point|0YTCMFB4HC]] at $0$, and let $J(f) \\subseteq \\mathfrak{m}$ be the ideal generated by $\\partial f / \\partial x_1, \\ldots, \\partial f / \\partial x_n$.\nThe *codimension* of $f$ is\n$$\\operatorname{codim}(f) = \\dim_\\R \\mathfrak{m} / J(f),$$\nwhich may be infinite.\n\n## Remarks\n\nExample: for $f = x^4$ on $\\R$, $J(f) = (x^3)$ and $\\mathfrak{m} / J(f)$ has basis the classes of $x$ and $x^2$, so $\\operatorname{codim}(f) = 2$.\nFor a nondegenerate critical point $J(f) = \\mathfrak{m}$, so the codimension is $0$.\nNon-example: the definition needs a critical point at $0$; for $f = x$ one has $J(f) = \\mathcal{E}_1 \\not\\subseteq \\mathfrak{m}$, and a regular point is not given a codimension in this sense.\nWhen it is finite, $\\operatorname{codim}(f) = \\dim_\\R \\mathcal{E}_n / J(f) - 1$.\nFor a holomorphic germ, the same quotient of the ring of convergent power series has dimension the Milnor number $\\mu(f)$.\nIt equals the least number of parameters of a [[versal unfolding|KSAFWZVB8K]] of $f$, not counting an additive constant.\nConventions vary between authors; some count the additive constant as well and use $\\dim_\\R \\mathcal{E}_n / J(f)$.\n",
  "commit": "ff8a40749dc16545e3d2fc637f6b0196e81d0bfa",
  "front": {
    "defines": "B4FRQMWQKP",
    "kind": "definition",
    "msc": [
      "58K40",
      "58K35",
      "58K60"
    ],
    "name": "Codimension of a singularity",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Singularity_theory"
      }
    ],
    "tag": "64W1MJFRNT",
    "uses": [
      "7SWSRGDT4A",
      "0YTCMFB4HC",
      "096Z9MP2ME"
    ]
  },
  "kind": "definition",
  "link": "https://tamnd.github.io/math2/node/64W1MJFRNT/",
  "links": [
    {
      "field": "defines",
      "target": "B4FRQMWQKP"
    },
    {
      "field": "uses",
      "target": "7SWSRGDT4A"
    },
    {
      "field": "uses",
      "target": "0YTCMFB4HC"
    },
    {
      "field": "uses",
      "target": "096Z9MP2ME"
    }
  ],
  "markdown": "https://tamnd.github.io/math2/node/64W1MJFRNT.md",
  "msc": [
    "58K40",
    "58K35",
    "58K60"
  ],
  "name": "Codimension of a singularity",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/64W/64W1MJFRNT.md",
  "status": null,
  "tag": "64W1MJFRNT",
  "uri": "m2://64W1MJFRNT",
  "url": "https://tamnd.github.io/math2/wiki/codimension-of-a-singularity-definition/",
  "writing": {
    "tag": "64W1MJFRNT",
    "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
      }
    ]
  }
}
