{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe show that $K_{m,n}$ is $2$-colourable but not $1$-colourable.\n\n1. Let $m, n \\ge 1$. Let the [[complete bipartite graph|0V0GC7BQAN]] $K_{m,n}$ have vertex set $A \\sqcup B$, where $\\abs{A} = m$ and $\\abs{B} = n$.\n2. Define $c(a) = 1$ for $a \\in A$ and $c(b) = 2$ for $b \\in B$.\n3. Every edge joins a vertex of $A$ to a vertex of $B$, so its ends get the different colours $1$ and $2$. Hence $c$ is a [[colouring|0874138YP6]], and $K_{m,n}$ is [[$2$-colourable|0Y7VDAX8Q3]].\n4. Since $m, n \\ge 1$, there are vertices $a \\in A$ and $b \\in B$, and they are adjacent.\n5. A colouring with colours in $\\set{1}$ would give $a$ and $b$ the same colour $1$. So $K_{m,n}$ is not $1$-colourable.\n6. A colouring with colours in the empty set exists only when there are no vertices. Since $K_{m,n}$ has vertices, it is not $0$-colourable.\n7. By Steps 3, 5 and 6, the smallest $k$ such that $K_{m,n}$ is $k$-colourable is $2$. So the [[chromatic number|0C5M7AM6FH]] of $K_{m,n}$ is $2$.\n\n## Idea\n\nThe two parts give a colouring with two colours, because all edges go between the parts. One colour is not enough, because the graph has an edge, and the two ends of an edge need different colours.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "05C15"
    ],
    "name": "Proof that the chromatic number of a complete bipartite graph is 2",
    "proves": "0FJBBCXYPS",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Complete_bipartite_graph"
      }
    ],
    "tag": "XTBPME5PAM",
    "uses": [
      "0V0GC7BQAN",
      "0C5M7AM6FH",
      "0Y7VDAX8Q3",
      "0874138YP6"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/XTBPME5PAM/",
  "links": [
    {
      "field": "proves",
      "target": "0FJBBCXYPS"
    },
    {
      "field": "uses",
      "target": "0V0GC7BQAN"
    },
    {
      "field": "uses",
      "target": "0C5M7AM6FH"
    },
    {
      "field": "uses",
      "target": "0Y7VDAX8Q3"
    },
    {
      "field": "uses",
      "target": "0874138YP6"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/XTBPME5PAM.md",
  "msc": [
    "05C15"
  ],
  "name": "Proof that the chromatic number of a complete bipartite graph is 2",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/XTB/XTBPME5PAM.md",
  "status": null,
  "tag": "XTBPME5PAM",
  "uri": "m2://XTBPME5PAM",
  "url": "https://math2.tamnd.com/wiki/proof-that-the-chromatic-number-of-a-complete-bipartite-graph-is-2/",
  "writing": {
    "tag": "XTBPME5PAM",
    "kind": "proof",
    "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
      }
    ]
  }
}
