Topology

A circle with no loop in it

Close up the graph of sin(1/x) with an arc and the result looks like a circle drawn with one stretch scribbled. It divides the plane into an inside and an outside, and every neighbourhood of it is a ring. Yet no path can travel along the scribble, so every loop drawn inside it shrinks to a point and every homotopy group vanishes. The Warsaw circle is invisible to loops and plain to anything that looks at it from a little way off — and it is not a point, although it passes every test loops can set.

Worth reading first: The group a space has at a point · Every loop is a circle in disguise.

The fundamental group of a space is built from loops: closed paths that start and end at one point, considered up to continuous deformation. It detects the hole in a circle because a loop going once round cannot be shrunk to a point without leaving the circle, and the group a space has at a point is the algebra of all such loops. Its higher relatives do the same with spheres in place of circles. Together they are the standard way topology asks whether a space has holes.

There is a space that looks like a circle from every reasonable distance and has no loop that goes round it. It is called the Warsaw circle, after the school of topologists who studied it, and it is made by a small change to a circle: one stretch of it is replaced by the graph of sin⁡(1/x)\sin(1/x), which oscillates infinitely often as xx approaches nought and piles up on a vertical segment. No path can travel along that oscillation into the segment, so a loop that tried to go round would have to cross a gap that is not there but cannot be walked across. Every loop in the Warsaw circle shrinks to a point; every homotopy group is trivial; and still the space divides the plane into an inside and an outside, and is not equivalent to a point at all.

The case matters because it shows exactly where loops stop being the right instrument. The dunce hat was a space that could be shrunk to a point but not by local moves, a gap between two notions of triviality that both agree a point is trivial. The Warsaw circle opens a wider gap: every test made of loops and spheres says point, and the space is not one.

A circle drawn through a scribble

A circle closed through an oscillation. graph of sin(1/x) on (0,1], the segment {0}×[−1,1], and a closing arc
Fig. 1 The Warsaw circle: the graph of sin(1/x) for 0 < x ≤ 1, the vertical segment from −1 to 1 on which it piles up, and an arc joining the graph’s right-hand end round to the bottom of the segment.

The construction has three pieces. The first is the graph of y=sin⁡(1/x)y = \sin(1/x) for 0<x≤10 < x \le 1. As xx decreases towards nought, 1/x1/x runs off to infinity and the sine runs through its values faster and faster, so the graph swings between −1-1 and 11 infinitely many times in every interval next to the axis. The second piece is the segment {0}×[−1,1]\{0\} \times [-1, 1] on the vertical axis. Every point of that segment is a limit of points on the graph — any height between −1-1 and 11 is reached by sin⁡(1/x)\sin(1/x) at values of xx as small as anybody likes — so adding the segment is what makes the set closed and bounded, and therefore compact. The third piece is an arc from the graph’s right-hand end, (1,sin⁡1)(1, \sin 1), out and round to the bottom of the segment, (0,−1)(0, -1).

Drawn at any finite resolution, the result is a closed curve with a smudge on one side. The figure shows exactly that: the oscillation is resolved for a few swings and then becomes a solid black band, because no screen can show the rest. The smudge is not a defect of the drawing. It is the honest picture of a set whose behaviour near the segment is finer than every scale, and much of what follows is about which instruments can see past it and which cannot.

The whole space is compact and connected. It is also path-connected — any point can be joined to any other by a path — because the arc connects the segment’s lower end to the graph’s far end, so a traveller on the segment can always go round the long way. What no traveller can do is go the short way, from the graph directly into the segment, and that one missing route is the whole of what makes the space strange.

Connected, and still in two pieces

The sine curve that is connected and cannot be walked. grid 0.01: pieces 1, regions 1
Fig. 2 Without the closing arc: the topologist’s sine curve. It cannot be split into two separated parts, yet it has two path components, the segment and the graph.

Remove the arc and what is left is the topologist’s sine curve, the standard example separating two notions that agree on every familiar space. A space is connected if it cannot be divided into two non-empty parts each open in the space — two parts with a gap between them. A space is path-connected if any two of its points can be joined by a continuous path inside it. Path-connected spaces are always connected, since a path cannot jump a gap. The sine curve shows the converse fails.

It is connected because the segment and the graph cannot be separated: any open set containing a point of the segment contains points of the graph, since the graph comes arbitrarily close to every point of the segment. But it has two path components. Suppose a path ran from a point of the graph to a point of the segment. Follow it until the first moment it touches the segment. Just before that moment it is on the graph, at points (x,sin⁡(1/x))(x, \sin(1/x)) with xx shrinking to nought — and continuity would require sin⁡(1/x)\sin(1/x) to converge to the height at which the path arrives. It does not converge; it keeps swinging between −1-1 and 11. So no such path exists, and the figure’s two labels mark two path components inside one connected set.

On the grid the figure is drawn from, the sine curve is a single piece and leaves the plane in a single region; there is nothing inside it. That will change the moment the arc is added. The arc gives every point a path to every other, which repairs path-connectedness, but it repairs it the long way round, and the short way remains closed.

A route infinitely long, and the real obstruction

How long the oscillation is. 0.1:6.1 0.05:12.4 0.02:31.3 0.01:63.0 0.005:126.6 0.002:318.0 0.001:636.3
Fig. 3 The length of the graph of sin(1/x) from x = a to x = 1, against the estimate 2/(πa). At a = 0.001 it is 636 units, and it has no finite length up to the segment.

The obvious explanation for why a path cannot reach the segment along the graph is that the graph is infinitely long. That much is true. Between x=ax = a and x=1x = 1 the function 1/x1/x runs from 1 to 1/a1/a, so the sine completes about 1/(2πa)1/(2\pi a) full swings, each rising and falling through a height of 4, and the length is close to 2/(πa)2/(\pi a). The figure computes the length by summing short chords and finds 636 units at a=0.001a = 0.001, matching the estimate so closely that the two lines lie on top of each other. Push aa to nought and the length grows without bound.

But infinite length is not the obstruction, and it is worth seeing why, because the mistake is natural. A continuous path is allowed to have infinite length: curves exist that fill a square, and a path can run the full length of a spiral with infinitely many turns in a finite time, arriving at the centre at the end. If the graph spiralled into the segment’s midpoint, a path could follow it there. What stops the path here is that the graph does not approach any one point of the segment. It approaches all of them at once, swinging between the top and the bottom forever, and a continuous path must arrive somewhere.

That distinction — arriving somewhere versus approaching everywhere — is exactly the difference between a space whose local pieces are path-connected and one whose local pieces are not. Every point of the segment has arbitrarily small neighbourhoods that, inside the Warsaw circle, consist of a piece of the segment plus infinitely many disjoint arcs of the graph. Such a neighbourhood is not path-connected, and no neighbourhood small enough to be useful ever is. The space is not locally path-connected at any point of the segment, and every theorem about loops that this failure touches will fail with it.

Every loop shrinks, so every homotopy group is trivial

Take any loop in the Warsaw circle: a continuous map from a circle into it. Its image is compact and path-connected. It can visit the segment and it can visit the graph, but by the argument above it cannot pass from one to the other along the oscillation, so any passage between them goes along the arc. A loop that goes from the segment along the arc to the graph must come back the same way, retracing its path rather than continuing round, because the continuation round is closed off.

Make that precise and it says: the image of every loop lies in a part of the Warsaw circle missing a small piece of the graph near the segment, and that part is an arc — a set that can be shrunk to a point — so the loop can be shrunk to a point too. The fundamental group is trivial. The same reasoning applies to maps of spheres of every dimension, whose images are just as unable to cross the oscillation, so every higher homotopy group vanishes as well. A space with all its homotopy groups trivial is called weakly contractible.

Singular homology, built from maps of simplices rather than of spheres, sees the same thing: what homology forgets about a loop is its order of travel, but it can only count cycles that some map of a simplex actually traces, and here none can trace the circle. The singular homology groups of the Warsaw circle are those of a point. So by every invariant assembled from continuous maps into the space — loops, spheres, simplices — the Warsaw circle is indistinguishable from a single point.

Two regions of the plane

The inside and the outside of the Warsaw circle. grid 0.01: complement components 2, bounded 1; inside 27805 cells
Fig. 4 The Warsaw circle drawn on a grid of cells 0.01 wide and the plane flooded from outside. Everything is reached except one region, so the curve separates the plane into exactly 2 pieces.

Now look from outside. The Jordan curve theorem says that a simple closed curve — a continuous image of a circle that does not cross itself — divides the plane into exactly two regions, a bounded inside and an unbounded outside. The Warsaw circle is not a simple closed curve; it is not the image of any circle, since no map of a circle can trace the oscillation. Yet it too divides the plane into two regions. The figure checks this on a grid: it marks every cell the set passes through, floods the plane from the border, and finds that the flood reaches everything but one region. That region is the inside.

The separation survives refinement, and it holds for the set itself rather than for any drawing of it. The argument that proves it does not use loops at all. It uses Alexander duality, which relates the number of pieces of the complement of a compact set in the plane to the set’s first cohomology — but to the version of cohomology that Eduard Čech defined by approximating a space with the patterns of overlap among its open covers, not to the singular version built from maps. Čech’s first cohomology of the Warsaw circle is the integers, exactly as for a circle, so its complement has exactly two components.

So the Jordan curve theorem’s conclusion holds for a set that is not a Jordan curve, and the reason is visible in which side of the line is inside: deciding inside from outside never required walking round the boundary. It required only a way of telling two points apart by something they cannot cross between, and a set can block every crossing without containing any route around itself: a ray leaving the inside towards the segment meets the oscillation infinitely often, which is not a count of crossings at all, and yet it still never gets out without touching the set.

Every neighbourhood is a ring

Every neighbourhood of the Warsaw circle is a ring. scales 0.2,0.08,0.03: b0=1, b1=1 at each
Fig. 5 The points within 0.2, 0.08 and 0.03 of the Warsaw circle. At each scale the thickened set is an annulus: one piece with one hole.

The cleanest way to see the circle that loops miss is to thicken the space. The figure draws every point within a distance ε\varepsilon of the Warsaw circle, for three values of ε\varepsilon. At every one, the oscillation near the segment is swallowed into a solid band — the swings are closer together than 2ε2\varepsilon, so their thickenings overlap — and the band joins the rest of the thickened curve into a ring. The result is an annulus, a space that does contain a loop that cannot be shrunk.

The scale does not matter. However small ε\varepsilon is, the part of the graph close enough to the segment is swallowed into a band, and the rest of the curve, being a finite stretch of an honest arc, thickens into a strip. The Warsaw circle is the intersection of a decreasing sequence of annuli, each inside the last. That is the precise sense in which it is a circle: it is what remains when a nested family of rings is narrowed to nothing, and every ring in the family has the hole.

This is the viewpoint of shape theory, developed by Karol Borsuk from 1968, which classifies compact sets by the systems of neighbourhoods around them rather than by the maps into them. In shape theory the Warsaw circle has the shape of a circle. The idea is also the one behind a hole that lasts across scales, where a noisy sample of a circle is thickened at every radius and a loop is declared real if it persists across a range of them. For a finite sample the range is finite; for the Warsaw circle it is every scale at once, from the largest down to the smallest, and the hole never closes.

Pieces and holes at nine scales

Pieces and holes of three sets at nine scales. Warsaw circle: 1.1 1.1 1.1 1.1 1.1 1.1 1.1 1.1 1.1; sine curve and segment: 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0 1.0; an ordinary circle: 1.1 1.1 1.1 1.1 1.1 1.1 1.1 1.1 1.1
Fig. 6 Pieces and holes of the thickenings of three sets at 9 scales from 0.01 to 0.3: the Warsaw circle and a round circle agree throughout, and the sine curve without its arc never has a hole.

The figure counts, for three sets and nine thickening scales, the number of pieces of the thickened set and the number of holes — bounded regions of the complement it encloses. A round circle gives one piece and one hole at every scale. The topologist’s sine curve, without its arc, gives one piece and no hole: its thickening is a smudge with a tail, which can be shrunk to a point. The Warsaw circle gives one piece and one hole at every scale, the same as the round circle.

These counts are a computed shadow of Čech homology. Čech’s construction covers the space by small open sets, records which of them overlap, and builds from that pattern a simplicial complex called the nerve; for a fine enough cover of a compact set in the plane, the nerve has the homotopy type of a thickening like the ones drawn. Its homology is taken, and the cover is refined. Because the thickenings of the Warsaw circle are annuli at every scale, the limit sees one hole, and Čech’s first homology is the integers.

So there are two homology theories that agree on every finite polyhedron and disagree here. Singular homology, which probes a space from inside with maps of simplices, says the Warsaw circle is a point; Čech homology, which probes it from outside with covers, says it is a circle. Neither is wrong. They are measuring different things, and on spaces built from finitely many cells, which is where most topology happens, the two things coincide.

A point to every probe, and not a point

If every homotopy group of a space vanishes, is the space contractible — can the identity map be shrunk continuously to a constant? Whitehead’s theorem says yes, for spaces assembled from cells — the CW complexes that include every polyhedron and manifold: a map between such spaces that induces isomorphisms on every homotopy group is a homotopy equivalence. The map from the Warsaw circle to a point induces isomorphisms on every homotopy group, since all of them are trivial on both sides. If Whitehead’s theorem applied, the Warsaw circle would be contractible.

It is not. The cleanest proof uses the Čech viewpoint: Čech cohomology is unchanged by homotopy equivalence, a point has trivial first Čech cohomology, and the Warsaw circle’s is the integers. There is even a concrete witness. Collapse the segment to a point and the Warsaw circle becomes an honest circle; the collapse is a continuous map onto the circle that goes round once, and it cannot be deformed into a constant map — maps of a compact space to a circle up to deformation correspond exactly to its first Čech cohomology. So the Warsaw circle has a map onto the circle that wraps once round, and contains no loop that the map sends once round. The loop is in the target; it was never in the source.

What fails is the hypothesis. The Warsaw circle is not a CW complex and is not equivalent to one, because a CW complex is locally contractible and the Warsaw circle is not even locally path-connected. Whitehead’s theorem is a statement about spaces that loops are adequate to describe, and the Warsaw circle is the smallest standard example of a space they are not.

What the grid can and cannot certify

Every figure here was computed on a grid, and a grid cannot resolve the oscillation. Below a certain distance from the segment, the curve’s swings are closer together than a cell, and the drawing fills that strip solid. For the questions of separation and of thickening that is harmless: the true set’s thickening by more than a cell’s width already fills that strip, and the flood fill of the plane gives the same two regions at every resolution tried. The pictures of the inside and of the rings are faithful at the scales they are drawn at.

The grid can say nothing about paths. Path-connectedness, local path-connectedness, and the vanishing of the fundamental group are all statements about the set at arbitrarily small scales, exactly where the drawing has given up, and a grid’s version of the Warsaw circle is a perfectly ordinary circle with a thick stretch, whose fundamental group is the integers. Everything said here about loops rests on the argument that sin⁡(1/x)\sin(1/x) has no limit at nought, not on any figure. The same caution is the reason a curve of pixels needs two kinds of touching: on a grid, connectedness itself is a convention, and only the continuous argument is about the continuous set.

The thickening counts, likewise, are measured at nine scales, not at all of them. That every thickening is an annulus is a short argument about the set — the oscillation is swallowed at every scale — and the figure illustrates it rather than proving it. And the separation figure uses one grid; the claim that the true set has exactly two complementary regions is Alexander duality, a theorem, not a flood fill.

Still open: which spaces loops are enough for

The Warsaw circle settles one question: homotopy groups do not determine homotopy type off CW complexes. It leaves a family of harder ones about what does. Shape theory supplies a Whitehead theorem of its own for compact sets, with shape groups in place of homotopy groups, but only under finite-dimensionality hypotheses, and in infinite dimensions there are compact sets whose shape groups all vanish and whose shape is still not that of a point. Which compact sets are determined by any countable list of algebraic invariants is not a question with a general answer.

Closer to the pictures, the fundamental groups of wild planar sets are an active subject. The Hawaiian earring — infinitely many circles shrinking to a common point — has a fundamental group that is uncountable and not free, and in 2005 Hanspeter Fischer and Andreas Zastrow showed that for every subset of the plane the loops are faithfully recorded by its neighbourhoods: two loops that every thickening tells apart are genuinely different. In the plane, then, loops never see more than neighbourhoods do, and the Warsaw circle shows they can see less. How far that picture extends to wild sets in space, where the same failure of local niceness can sit in the complement instead of the set — as in the ball whose outside is not one — is studied example by example rather than settled by a theorem.

What these share with the Warsaw circle is the lesson that loops see only what can be walked, and that a set can be a circle in every respect that does not require walking. Where the two notions diverge is where the theory is still being built.

Invisible from inside, plain from outside

The Warsaw circle — the graph of sin⁡(1/x)\sin(1/x) closed by an arc through the segment it piles up on — has every homotopy group trivial and the singular homology of a point, because no path can follow the oscillation into the segment; yet it separates the plane into exactly two regions, every one of its neighbourhoods is an annulus, and its Čech cohomology is that of a circle. The topologist’s sine curve shows the mechanism: a connected set in two path components, because sin⁡(1/x)\sin(1/x) has no limit at nought — not because the graph is infinitely long, though it is, about 2/(πa)2/(\pi a) up to distance aa. Thickened at nine scales, the Warsaw circle and a round circle both give one piece and one hole each time, and the sine curve without its arc gives none. The map that collapses the segment wraps the Warsaw circle once round a circle and cannot be undone, so the space is not contractible although every loop in it is; Whitehead’s theorem fails because the space is not built from cells, and the hole it has is seen only by instruments that look at it from a little way off.

Shares its objects with

Essays that name at least two of the same things, and that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

ConnectednessContractibleFundamental groupHomologyHomotopyJordan curvePath-connected