In
mathematics, the Cantor set is a
set of points lying on a single
line segment
In geometry, a line segment is a part of a straight line that is bounded by two distinct end points, and contains every point on the line that is between its endpoints. The length of a line segment is given by the Euclidean distance between ...
that has a number of unintuitive properties. It was discovered in 1874 by
Henry John Stephen Smith and introduced by German mathematician
Georg Cantor
Georg Ferdinand Ludwig Philipp Cantor ( , ; – January 6, 1918) was a German mathematician. He played a pivotal role in the creation of set theory, which has become a fundamental theory in mathematics. Cantor established the importance of ...
in 1883.
Through consideration of this set, Cantor and others helped lay the foundations of modern
point-set topology. The most common construction is the Cantor ternary set, built by removing the middle third of a line segment and then repeating the process with the remaining shorter segments. Cantor mentioned the ternary construction only in passing, as an example of a more general idea, that of a
perfect set that is
nowhere dense.
More generally, in topology, ''a''
Cantor space is a topological space homeomorphic to the Cantor ternary set (equipped with its subspace topology). By a theorem of Brouwer, this is equivalent to being perfect nonempty, compact metrizable and zero dimensional.
Construction and formula of the ternary set
The Cantor ternary set
is created by iteratively deleting the
''open'' middle third from a set of line segments. One starts by deleting the open middle third
from the
interval