{
  "aliases": [
    "heine-cantor-theorem"
  ],
  "backlinks": null,
  "body": "\n## Statement\n\nLet $X$ and $Y$ be [[metric spaces|063W5JMY85]] and let $f \\colon X \\to Y$ be a [[continuous map|0SY9ECQ19Q]].\nIf $X$ is [[compact|0QPHW703PV]], then $f$ is [[uniformly continuous|0FHSDCQACY]].\n\n## Remarks\n\nProof by contradiction: if $f$ is not uniformly continuous, there are $\\varepsilon \u003e 0$ and points $x_n, y_n$ with $d(x_n, y_n) \\to 0$ and $d(f(x_n), f(y_n)) \\ge \\varepsilon$. By [[sequential compactness|0K8SGQSV7G]], a subsequence of $(x_n)$ converges to some $x$, and the matching subsequence of $(y_n)$ also converges to $x$. Continuity at $x$ gives a contradiction.\nFor example, each continuous $f \\colon [a, b] \\to \\mathbb{R}$ is uniformly continuous. This fact is used to show that $f$ is Riemann integrable.\nThe theorem fails on $\\mathbb{R}$: $x \\mapsto x^2$ is continuous but not uniformly continuous.\n\n## Explanations\n\n### L1 human\n\nOn a compact space, continuity at each point is enough to get one $\\delta$ for the whole space.\nCompactness rules out regions where the function becomes steeper and steeper without end.\n",
  "commit": "6ac761d40018146541484a9e8b9eafd6ecc303dc",
  "front": {
    "aliases": [
      "heine-cantor-theorem"
    ],
    "kind": "statement",
    "msc": [
      "54E45"
    ],
    "name": "Heine–Cantor theorem",
    "role": "theorem",
    "same_as": {
      "wikidata": "Q765987",
      "wikipedia": "Heine–Cantor theorem"
    },
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Heine%E2%80%93Cantor_theorem"
      }
    ],
    "tag": "06B8BNJCD6",
    "uses": [
      "0QPHW703PV",
      "0SY9ECQ19Q",
      "0FHSDCQACY",
      "0K8SGQSV7G"
    ]
  },
  "kind": "statement",
  "link": "https://math2.tamnd.com/node/06B8BNJCD6/",
  "links": [
    {
      "field": "uses",
      "target": "0QPHW703PV"
    },
    {
      "field": "uses",
      "target": "0SY9ECQ19Q"
    },
    {
      "field": "uses",
      "target": "0FHSDCQACY"
    },
    {
      "field": "uses",
      "target": "0K8SGQSV7G"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/06B8BNJCD6.md",
  "msc": [
    "54E45"
  ],
  "name": "Heine–Cantor theorem",
  "prov": null,
  "role": "theorem",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/06B/06B8BNJCD6.md",
  "status": null,
  "tag": "06B8BNJCD6",
  "uri": "m2://06B8BNJCD6",
  "url": "https://math2.tamnd.com/wiki/heine-cantor-theorem/",
  "writing": {
    "tag": "06B8BNJCD6",
    "kind": "statement",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      }
    ]
  }
}
