{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $G$ be a finite [[graph|0JD5C82QMB]].\nFor each natural number $k$, let $P(G, k)$ be the number of [[colourings|0874138YP6]] of $G$ with the set of colours $\\{1, \\dots, k\\}$.\nThere is a unique polynomial $P(G, x)$ whose value at each natural number $k$ is $P(G, k)$. It is the chromatic polynomial of $G$.\n\n## Remarks\n\nFor the [[path graph|075WR6W3Y3]] $P_3$, $P(P_3, x) = x(x-1)^2$. For the [[complete graph|03WKB2H474]], $P(K_n, x) = x(x-1)\\cdots(x-n+1)$.\nFor an edge $e$, the deletion–contraction rule says $P(G, x) = P(G - e, x) - P(G / e, x)$. Here $G / e$ merges the two ends of $e$.\nThe [[chromatic number|0C5M7AM6FH]] is the smallest positive integer $k$ with $P(G, k) \u003e 0$.\n\n## Explanations\n\n### L1 human\n\nThe chromatic polynomial counts the proper colourings of a graph with $k$ colours, for each $k$.\nGeorge David Birkhoff introduced it in 1912 to study the four colour problem.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "defines": "0B621RBVS9",
    "kind": "definition",
    "msc": [
      "05C31",
      "05C15"
    ],
    "name": "Chromatic polynomial",
    "sources": [
      {
        "locator": "Definition",
        "url": "https://en.wikipedia.org/wiki/Chromatic_polynomial"
      }
    ],
    "tag": "038YGY0HSC",
    "uses": [
      "0874138YP6"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/038YGY0HSC/",
  "links": [
    {
      "field": "defines",
      "target": "0B621RBVS9"
    },
    {
      "field": "uses",
      "target": "0874138YP6"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/038YGY0HSC.md",
  "msc": [
    "05C31",
    "05C15"
  ],
  "name": "Chromatic polynomial",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/038/038YGY0HSC.md",
  "status": null,
  "tag": "038YGY0HSC",
  "uri": "m2://038YGY0HSC",
  "url": "https://math2.tamnd.com/wiki/chromatic-polynomial-definition/",
  "writing": {
    "tag": "038YGY0HSC",
    "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
      }
    ]
  }
}
