{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Definition\n\nLet $X$ be a [[topological space|0CQHFPGJ45]].\nA subset $A \\subseteq X$ is *clopen* if $A$ is [[open|02BH3MCBQB]] in $X$ and $A$ is [[closed|0ZCK8DQYN1]] in $X$.\nEquivalently, $A$ and its complement $X \\setminus A$ are both open.\n\n## Remarks\n\nExample: let $X = [0, 1] \\cup [2, 3]$ with the topology from $\\R$.\nThe set $A = [0, 1]$ equals $X \\cap (-1, 3/2)$, so it is open in $X$.\nIts complement $[2, 3]$ equals $X \\cap (3/2, 4)$, so it is open as well, and $A$ is closed.\n\nExample: in the rationals $\\Q$ with the topology from $\\R$, the set $\\set{q \\in \\Q : q \u003c \\sqrt{2}}$ is clopen, since $\\sqrt{2} \\notin \\Q$.\n\nNon-example: in $\\R$, the set $[0, 1)$ is not open, because no interval around $0$ lies inside it.\nIt is not closed either.\n\nIn every space, $\\emptyset$ and $X$ are clopen.\nA space $X$ is [[connected|0V032VWTHD]] if and only if these are its only clopen subsets.\n",
  "commit": "547b6eddb8f2feb8d579f2d633d22a27b7e132fc",
  "front": {
    "defines": "DQ4E55T3BW",
    "kind": "definition",
    "msc": [
      "54A05",
      "54D05"
    ],
    "name": "Clopen set",
    "sources": [
      {
        "url": "https://en.wikipedia.org/wiki/Clopen_set"
      }
    ],
    "tag": "90PB1H41A6",
    "uses": [
      "0CQHFPGJ45",
      "02BH3MCBQB",
      "0ZCK8DQYN1"
    ]
  },
  "kind": "definition",
  "link": "https://math2.tamnd.com/node/90PB1H41A6/",
  "links": [
    {
      "field": "defines",
      "target": "DQ4E55T3BW"
    },
    {
      "field": "uses",
      "target": "0CQHFPGJ45"
    },
    {
      "field": "uses",
      "target": "02BH3MCBQB"
    },
    {
      "field": "uses",
      "target": "0ZCK8DQYN1"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/90PB1H41A6.md",
  "msc": [
    "54A05",
    "54D05"
  ],
  "name": "Clopen set",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/90P/90PB1H41A6.md",
  "status": null,
  "tag": "90PB1H41A6",
  "uri": "m2://90PB1H41A6",
  "url": "https://math2.tamnd.com/wiki/clopen-set-definition/",
  "writing": {
    "tag": "90PB1H41A6",
    "kind": "definition",
    "level": "W0",
    "next": [
      {
        "what": "a source with a locator",
        "have": 0,
        "want": 1
      }
    ]
  }
}
