{
  "aliases": null,
  "backlinks": null,
  "body": "\n## Counterexample\n\nThe function $f \\colon \\mathbb{R} \\to \\mathbb{R}$ with $f(x) = x^2$ is [[continuous|0P27W9RW0G]] but not [[uniformly continuous|0Q4DR37DVE]].\nFor $n \\ge 1$, let $x_n = n$ and $y_n = n + 1/n$. Then $|x_n - y_n| = 1/n \\to 0$, but\n$$f(y_n) - f(x_n) = 2 + \\frac{1}{n^2} \u003e 2.$$\nSo no $\\delta$ works for $\\varepsilon = 2$.\n\n## Remarks\n\nOn each bounded interval $[-c, c]$, the function $x^2$ is Lipschitz with constant $2c$. So it is uniformly continuous there.\nThe problem is that the slope $2x$ is not bounded on $\\mathbb{R}$.\n\n## Explanations\n\n### L1 human\n\nThe graph of $x^2$ gets steeper and steeper as $x$ grows.\nSo a fixed small change in $x$ gives larger and larger changes in $x^2$.\n",
  "commit": "f591989ed15704e9d8755a7a5a6426d73de7a3ae",
  "front": {
    "kind": "counterexample",
    "msc": [
      "26A15"
    ],
    "name": "x^2 is not uniformly continuous on the real line",
    "sources": [
      {
        "locator": "Nonexamples",
        "url": "https://en.wikipedia.org/wiki/Uniform_continuity"
      }
    ],
    "tag": "0A8JXHYTJC",
    "uses": [
      "0Q4DR37DVE",
      "0P27W9RW0G"
    ]
  },
  "kind": "counterexample",
  "link": "https://math2.tamnd.com/node/0A8JXHYTJC/",
  "links": [
    {
      "field": "uses",
      "target": "0Q4DR37DVE"
    },
    {
      "field": "uses",
      "target": "0P27W9RW0G"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0A8JXHYTJC.md",
  "msc": [
    "26A15"
  ],
  "name": "x^2 is not uniformly continuous on the real line",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0A8/0A8JXHYTJC.md",
  "status": null,
  "tag": "0A8JXHYTJC",
  "uri": "m2://0A8JXHYTJC",
  "url": "https://math2.tamnd.com/wiki/x-2-is-not-uniformly-continuous-on-the-real-line/",
  "writing": {
    "tag": "0A8JXHYTJC",
    "kind": "counterexample",
    "level": "W0",
    "next": [
      {
        "what": "an inventory row",
        "note": "the row of the inventory that the node accounts for",
        "have": 0,
        "want": 1
      },
      {
        "what": "edge refutes or not_instance_of out",
        "have": 0,
        "want": 1
      }
    ]
  }
}
