{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $G = (V, E)$ be a [[graph|0JD5C82QMB]].\nThe complement of $G$ is the graph $\\overline{G}$ with vertex set $V$.\nTwo distinct vertices are adjacent in $\\overline{G}$ if and only if they are not adjacent in $G$.\n\n## Remarks\n\nThe complement of the complement of $G$ is $G$.\nThe complement of the complete graph $K_n$ is the graph on $n$ vertices with no edges.\nA [[clique|0G52BPNPKG]] of $G$ is an [[independent set|0KZJ82WEPP]] of $\\overline{G}$. This links Ramsey numbers to colourings of $K_n$.\n\n## Explanations\n\n### L1 human\n\nTo get the complement, remove all edges of the graph and draw all the missing ones.\nIf $G$ records which people know each other, then $\\overline{G}$ records which people are strangers.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "defines": "0MCYJ72VGA",
    "kind": "definition",
    "msc": [
      "05C76"
    ],
    "name": "Complement graph",
    "sources": [
      {
        "locator": "Definitions",
        "url": "https://en.wikipedia.org/wiki/Complement_graph"
      }
    ],
    "tag": "0RNMP6VCR2",
    "uses": [
      "0JD5C82QMB"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/0RNMP6VCR2/",
  "links": [
    {
      "field": "defines",
      "target": "0MCYJ72VGA"
    },
    {
      "field": "uses",
      "target": "0JD5C82QMB"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0RNMP6VCR2.md",
  "msc": [
    "05C76"
  ],
  "name": "Complement graph",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0RN/0RNMP6VCR2.md",
  "status": null,
  "tag": "0RNMP6VCR2",
  "uri": "m2://0RNMP6VCR2",
  "url": "https://math2.tamnd.com/wiki/complement-graph-definition/",
  "writing": {
    "tag": "0RNMP6VCR2",
    "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
      }
    ]
  }
}
