{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Proof\n\nWe cover $K$ by open balls of growing radius around one point.\n\n1. Let $(X, d)$ be a [[metric space|063W5JMY85]] and let $K$ be a [[compact|00R0X1WGPX]] subset of $X$.\n2. If $K = \\emptyset$, then $K$ is [[bounded|0P953MG05E]], since the condition on pairs of points is empty. So assume $K \\ne \\emptyset$ and fix $a \\in K$.\n3. For each integer $n \\ge 1$, let $B(a, n)$ be the [[open ball|0DC3MPR7C9]]. It is open, since [[open balls are open|0B2305GNAZ]].\n4. Let $x \\in K$. Choose an integer $n \u003e d(a, x)$. Then $x \\in B(a, n)$. So the balls $B(a, n)$ with $n \\ge 1$ cover $K$.\n5. By [[compactness via open covers|0P6PMJB4MA]], there are integers $n_1, \\ldots, n_p \\ge 1$ with $K \\subseteq B(a, n_1) \\cup \\cdots \\cup B(a, n_p)$. Since $K \\ne \\emptyset$, $p \\ge 1$.\n6. Let $N = \\max(n_1, \\ldots, n_p)$. Each $B(a, n_j)$ lies in $B(a, N)$, so $K \\subseteq B(a, N)$.\n7. Let $x, y \\in K$. By the [[triangle inequality|01M6CW9VM6]], $d(x, y) \\le d(x, a) + d(a, y) \u003c 2N$.\n8. So $d(x, y) \\le 2N$ for all $x, y \\in K$, and $K$ is bounded.\n\n## Idea\n\nThe balls of radius $1, 2, 3, \\ldots$ around a point exhaust the whole space.\nCompactness keeps only finitely many of them, and the largest one already holds all of $K$.\n",
  "commit": "4a3290d299c8b2cd6493fce2296920ba7f82d942",
  "front": {
    "kind": "proof",
    "msc": [
      "54E45"
    ],
    "name": "Proof that compact subsets of a metric space are bounded",
    "proves": "0R7BTEWCJ2",
    "sources": [
      {
        "url": "https://proofwiki.org/wiki/Compact_Subspace_of_Metric_Space_is_Bounded"
      }
    ],
    "tag": "A81YEQ28RM",
    "uses": [
      "063W5JMY85",
      "00R0X1WGPX",
      "0P6PMJB4MA",
      "0DC3MPR7C9",
      "0B2305GNAZ",
      "0P953MG05E",
      "01M6CW9VM6"
    ]
  },
  "kind": "proof",
  "link": "https://math2.tamnd.com/node/A81YEQ28RM/",
  "links": [
    {
      "field": "proves",
      "target": "0R7BTEWCJ2"
    },
    {
      "field": "uses",
      "target": "063W5JMY85"
    },
    {
      "field": "uses",
      "target": "00R0X1WGPX"
    },
    {
      "field": "uses",
      "target": "0P6PMJB4MA"
    },
    {
      "field": "uses",
      "target": "0DC3MPR7C9"
    },
    {
      "field": "uses",
      "target": "0B2305GNAZ"
    },
    {
      "field": "uses",
      "target": "0P953MG05E"
    },
    {
      "field": "uses",
      "target": "01M6CW9VM6"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/A81YEQ28RM.md",
  "msc": [
    "54E45"
  ],
  "name": "Proof that compact subsets of a metric space are bounded",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/A81/A81YEQ28RM.md",
  "status": null,
  "tag": "A81YEQ28RM",
  "uri": "m2://A81YEQ28RM",
  "url": "https://math2.tamnd.com/wiki/proof-that-compact-subsets-of-a-metric-space-are-bounded/",
  "writing": {
    "tag": "A81YEQ28RM",
    "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
      }
    ]
  }
}
