Cantor distribution 2026-10-14
The Cantor distribution is the law of a random variable
where the are independent Bernoulli random variables taking values zero and one with equal probability. Its values lie in the Cantor set, and its cumulative distribution function is the Cantor function. Every individual value has probability zero, but the Cantor set has probability one despite having zero Lebesgue measure. A probability density function on that set would integrate to zero, so it cannot describe this law. The example motivates the distinction between a continuous probability distribution and an absolutely continuous probability distribution.
Cantor set Created 2026-09-29 Updated 2026-10-14
The Cantor set is obtained from by repeatedly deleting the open middle third of every remaining interval. Its first stages retain , then four intervals of length , then eight of length . After level , there are retained intervals of length . The Cantor set is the intersection of all these stages, rather than the set of endpoints visible in any finite drawing.
Figure 1.
Finite stages of the Cantor construction supply covers at successively smaller scales
. Details.
Equivalently,
Thus its points admit a base-three expansion using only zero and two. The word “admit” handles numbers with two expansions: is retained as an endpoint. Every infinite binary choice determines a point of , and differing choices give differing points, so is uncountable.
Its total retained interval length is , so has zero Lebesgue measure. It is nevertheless nonempty, compact, and uncountable, and has Hausdorff dimension : the covers and mass bounds are worked out in Hausdorff dimension of the Cantor set. This separates counting, ordinary length, and fine-scale geometric size in one concrete example.
The self-similarity is exact:
The Cantor distribution puts half the probability into each copy at every split. It has a continuous cumulative distribution function, the Cantor function, while all its mass lies on a Lebesgue null set. This makes the construction useful in measure theory as well as fractal geometry: it provides a concrete model in which several plausible meanings of “small” disagree.
Continuous probability distribution Created 2026-09-24 Updated 2026-10-14
A real probability distribution with a continuous cumulative distribution function assigns probability zero to each individual value. Here this is the broad meaning of continuous probability distribution. Many elementary examples are more specifically absolutely continuous probability distributions, described by a probability density function with respect to Lebesgue measure. Some texts use "continuous" for that narrower class. The Cantor distribution shows why the distinction matters: its cumulative distribution function is continuous, yet no probability density function with respect to Lebesgue measure represents its whole law. [ref].
Cumulative distribution function Created 2026-09-24 Updated 2026-10-14
The cumulative distribution function of a real random variable is
It records the probability accumulated up to a threshold. It is a nondecreasing function and is right-continuous; its limits are zero at and one at . These properties follow from ordered threshold events, continuity from above of a measure, and continuity from below of a measure. A cumulative distribution function determines the entire probability distribution on the real line. [ref].
For ,
where is its left-hand limit. The second formula measures a jump. Thus ; changing an endpoint is harmless only when its point probability is zero.
For the finite example under probability distribution, is below zero, on , on , and on . In particular , but , so the jump gives . For the density example, on , and its increase from to is .
When an absolutely continuous probability distribution has probability density function , its cumulative distribution function is and almost everywhere. A continuous cumulative distribution function by itself does not guarantee such a density: the Cantor distribution is an important exception.
Probability density function Created 2026-09-24 Updated 2026-10-14
A probability density function represents probabilities as areas under a nonnegative measurable function. For a real random variable with an absolutely continuous probability distribution, it satisfies
for every Borel set . Its height is probability per unit of the outcome variable, not the probability of that exact outcome. Thus a probability density function may exceed one, while the probability of a singleton is zero. NIST describes the interval-probability interpretation through integration. [ref].
For the example on , , but and . The cumulative distribution function is within that interval, connecting density height to the local accumulation rate.
Changing the scale changes the density height. If , then on . At the corresponding value , its height is , while is unchanged. The factor compensates for the wider integration variable. This is a change of variables, not a change in the underlying probabilities.
A probability density function is determined only almost everywhere: changing its values on a Lebesgue measure zero set changes no probabilities. The Cantor distribution has no such representation, and a mixed probability distribution can have both a point mass and a density component, so differentiating its cumulative distribution function does not recover all its mass.