{
  "aliases": [
    "warsaw-sine-curve"
  ],
  "backlinks": null,
  "body": "\n## Counterexample\n\nLet\n$$T = \\left\\{ \\left( x, \\sin \\tfrac{1}{x} \\right) : 0 \u003c x \\le 1 \\right\\} \\cup \\{ (0, 0) \\} \\subseteq \\mathbb{R}^2,$$\nwith the [[subspace topology|0D5YHQGDJY]] of the plane.\nThen $T$ is [[connected|0R37DFJKFW]] but not [[path-connected|0K0GE6BCYW]]. Thus connected spaces need not be path-connected.\n\n## Remarks\n\nThe graph part $G$ is connected, as the continuous image of $(0, 1]$. The origin is in the closure of $G$, and a set between a connected set and its closure is connected. Thus $T$ is connected.\nNo path joins the origin to a point of $G$. Near $x = 0$, the curve goes up and down between $-1$ and $1$ infinitely often, and a path cannot follow it continuously.\nSome texts use the closed version, which adds the whole segment $\\{0\\} \\times [-1, 1]$. It is compact, connected and not path-connected.\nThe space $T$ is also not locally connected.\n\n## Explanations\n\n### L1 human\n\nThe curve $\\sin(1/x)$ oscillates faster and faster as $x$ goes to $0$. The origin is a limit of the curve, so the space is in one piece.\nBut you cannot walk along the curve to the origin, because the curve never settles down.\n",
  "commit": "545acf83a9b75c8ddc375ef8b23d2ae101a4d7e4",
  "front": {
    "aliases": [
      "warsaw-sine-curve"
    ],
    "kind": "counterexample",
    "msc": [
      "54G20"
    ],
    "name": "Topologist's sine curve",
    "same_as": {
      "wikidata": "Q1148367",
      "wikipedia": "Topologist's sine curve"
    },
    "sources": [
      {
        "locator": "lead section",
        "url": "https://en.wikipedia.org/wiki/Topologist%27s_sine_curve"
      },
      {
        "locator": "Properties",
        "url": "https://en.wikipedia.org/wiki/Topologist%27s_sine_curve"
      }
    ],
    "tag": "0K3T4A659R",
    "uses": [
      "0R37DFJKFW",
      "0K0GE6BCYW",
      "0D5YHQGDJY"
    ]
  },
  "kind": "counterexample",
  "link": "https://math2.tamnd.com/node/0K3T4A659R/",
  "links": [
    {
      "field": "uses",
      "target": "0R37DFJKFW"
    },
    {
      "field": "uses",
      "target": "0K0GE6BCYW"
    },
    {
      "field": "uses",
      "target": "0D5YHQGDJY"
    }
  ],
  "markdown": "https://math2.tamnd.com/node/0K3T4A659R.md",
  "msc": [
    "54G20"
  ],
  "name": "Topologist's sine curve",
  "prov": null,
  "role": "",
  "source": "https://github.com/tamnd/math2/blob/main/nodes/0K3/0K3T4A659R.md",
  "status": null,
  "tag": "0K3T4A659R",
  "uri": "m2://0K3T4A659R",
  "url": "https://math2.tamnd.com/wiki/topologists-sine-curve/",
  "writing": {
    "tag": "0K3T4A659R",
    "kind": "counterexample",
    "level": "W0",
    "next": [
      {
        "what": "edge refutes or not_instance_of out",
        "have": 0,
        "want": 1
      }
    ]
  }
}
