{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Statement\n\nLet $n$ be a natural number.\nThen the [[complete graph|03WKB2H474]] $K_n$ has exactly\n$$\\binom{n}{2} = \\frac{n (n - 1)}{2}$$\nedges.\n\n## Remarks\n\nThe edges of $K_n$ are exactly the $2$-element subsets of the vertex set. The [[number of k-element subsets|0BFMR2FQ8B]] gives the count.\nThe [[handshaking lemma|0XAP8WHNES]] gives the same count: $n (n - 1) = 2 |E|$.\nEach simple graph on $n$ vertices has at most $\\binom{n}{2}$ edges.\n\n## Explanations\n\n### L1 human\n\nIf $n$ people all shake hands with each other, there are $\\frac{n(n-1)}{2}$ handshakes.\nEach person shakes $n - 1$ hands, and this counts each handshake twice.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "kind": "statement",
    "msc": [
      "05C30"
    ],
    "name": "Number of edges of a complete graph",
    "role": "proposition",
    "sources": [
      {
        "locator": "Properties",
        "url": "https://en.wikipedia.org/wiki/Complete_graph"
      }
    ],
    "tag": "05RN90E14Y",
    "uses": [
      "092GEF38YD",
      "03WKB2H474"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/05RN90E14Y/",
  "links": [
    {
      "field": "uses",
      "target": "092GEF38YD"
    },
    {
      "field": "uses",
      "target": "03WKB2H474"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/05RN90E14Y.md",
  "msc": [
    "05C30"
  ],
  "name": "Number of edges of a complete graph",
  "prov": null,
  "role": "proposition",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/05R/05RN90E14Y.md",
  "status": null,
  "tag": "05RN90E14Y",
  "uri": "m2://05RN90E14Y",
  "url": "https://math2.tamnd.com/wiki/number-of-edges-of-a-complete-graph/",
  "writing": {
    "tag": "05RN90E14Y",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
