In
mathematics
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern 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 o ...
in 1883.
Through consideration of this set, Cantor and others helped lay the foundations of modern
point-set topology
In mathematics, general topology is the branch of topology that deals with the basic set-theoretic definitions and constructions used in topology. It is the foundation of most other branches of topology, including differential topology, geometr ...
. 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
In general topology, a subset of a topological space is perfect if it is closed and has no isolated points. Equivalently: the set S is perfect if S=S', where S' denotes the set of all limit points of S, also known as the derived set of S.
In ...
that is
nowhere dense.
More generally, in topology, ''a''
Cantor space In mathematics, a Cantor space, named for Georg Cantor, is a topological abstraction of the classical Cantor set: a topological space is a Cantor space if it is homeomorphic to the Cantor set. In set theory, the topological space 2ω is called " ...
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