{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe show that the complement of the closed ball is open.\n\n1. Let $(X, d)$ be a [[metric space|063W5JMY85]], let $x \\in X$ and let $r \\ge 0$. Let $\\bar{B}(x, r) = \\set{z \\in X : d(x, z) \\le r}$ be the [[closed ball|05DSV40EB9]].\n2. Put $C = X \\setminus \\bar{B}(x, r)$. Let $y \\in C$. Then $d(x, y) \u003e r$.\n3. Put $\\varepsilon = d(x, y) - r$. By step 2, $\\varepsilon \u003e 0$.\n4. Let $z$ be in the [[open ball|0DC3MPR7C9]] $B(y, \\varepsilon)$, so $d(y, z) \u003c \\varepsilon$.\n5. By the [[triangle inequality|01M6CW9VM6]] and the symmetry of $d$, $d(x, y) \\le d(x, z) + d(z, y) = d(x, z) + d(y, z)$.\n6. Hence $d(x, z) \\ge d(x, y) - d(y, z) \u003e d(x, y) - \\varepsilon = r$.\n7. So $z \\notin \\bar{B}(x, r)$, that is, $z \\in C$. Thus $B(y, \\varepsilon) \\subseteq C$.\n8. Each point of $C$ has a ball about it inside $C$. By the [[description of the open sets of a metric space|0A26X79RTB]], $C$ is open.\n9. By the definition of a [[closed set|0G5AV9Q4RR]], $\\bar{B}(x, r)$ is closed in $X$.\n\n## Idea\n\nA point outside the closed ball is farther than $r$ from the centre, by some margin. The triangle inequality shows that a ball of that margin about the point stays outside. So the complement is open.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "54E35"
    ],
    "name": "Proof that closed balls are closed",
    "proves": "0YS40B38JD",
    "sources": [
      {
        "url": "https://proofwiki.org/wiki/Closed_Ball_is_Closed_in_Metric_Space"
      }
    ],
    "tag": "3XT4TV88MK",
    "uses": [
      "063W5JMY85",
      "05DSV40EB9",
      "0DC3MPR7C9",
      "01M6CW9VM6",
      "0A26X79RTB",
      "0G5AV9Q4RR"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/3XT4TV88MK/",
  "links": [
    {
      "field": "proves",
      "target": "0YS40B38JD"
    },
    {
      "field": "uses",
      "target": "063W5JMY85"
    },
    {
      "field": "uses",
      "target": "05DSV40EB9"
    },
    {
      "field": "uses",
      "target": "0DC3MPR7C9"
    },
    {
      "field": "uses",
      "target": "01M6CW9VM6"
    },
    {
      "field": "uses",
      "target": "0A26X79RTB"
    },
    {
      "field": "uses",
      "target": "0G5AV9Q4RR"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/3XT4TV88MK.md",
  "msc": [
    "54E35"
  ],
  "name": "Proof that closed balls are closed",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/3XT/3XT4TV88MK.md",
  "status": null,
  "tag": "3XT4TV88MK",
  "uri": "m2://3XT4TV88MK",
  "url": "https://math2.tamnd.com/wiki/proof-that-closed-balls-are-closed/",
  "writing": {
    "tag": "3XT4TV88MK",
    "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
      }
    ]
  }
}
