In the branch of mathematics known as topology, the topologist's sine curve or Warsaw sine curve is a topological space with several interesting properties that make it an important textbook example.
It can be defined as the graph of the function sin(1/x) on the half-open interval (0, 1], together with the origin, under the topology induced from the Euclidean plane:
T=\left\{\left(x,\sin\tfrac{1}{x}\right):x\in(0,1]\right\}\cup\{(0,0)\}.
The topologist's sine curve is connected but neither locally connected nor path connected. This is because it includes the point but there is no way to link the function to the origin so as to make a path.
The space is the continuous image of a locally compact space (namely, let be the space
\{-1\}\cup(0,1],
f:V\toT
f(-1)=(0,0)
f(x)=(x,\sin\tfrac{1}{x})
The topological dimension of is 1.
Two variants of the topologist's sine curve have other interesting properties.
The closed topologist's sine curve can be defined by taking the topologist's sine curve and adding its set of limit points,
\{(0,y)\midy\in[-1,1]\}
The extended topologist's sine curve can be defined by taking the closed topologist's sine curve and adding to it the set
\{(x,1)\midx\in[0,1]\}