Foundations of Probability
Probability, Measure, and the Foundations of Randomness
Why probability needs precise foundations
Probability is often introduced as counting: if three of a die’s six faces are even, the chance of an even result is 3/6. That works when the outcomes are finite and equally likely. It does not provide a general rule for infinite or continuous collections of outcomes.
A famous example asks for the probability that a randomly chosen chord in a circle is longer than a side of an inscribed equilateral triangle. Three reasonable ways to choose a chord give three different answers:
Choose two random points on the circumference and join them. Once the triangle is rotated so that one corner is at the first point, the chord is long when the second point falls on the opposite arc, which is one-third of the circumference. The probability is 1/3.
Choose a random radius, then a random point along it, and draw a chord through that point perpendicular to the radius. The chord is long when the chosen point is closer to the center than the triangle’s side is. The side crosses the radius halfway from the center, so the probability is 1/2.
Choose a random point uniformly in the disc and make it the chord’s midpoint. A chord is long when its midpoint lies within half a radius of the center. That inner disc has one-quarter the area of the whole disc, so the probability is 1/4.
The disagreement is not a contradiction. The phrase “choose a chord at random” does not specify how probability is distributed among the possible chords. Each procedure defines a different probability distribution.
A chord can be represented by its midpoint. For a circle of radius R, a chord whose midpoint is distance d from the center has length 2R2−d2. The triangle’s side has length 3R, so the chord is longer when d<R/2. The target set of long chords is therefore the disc of possible midpoints with radius R/2. The three procedures distribute midpoints differently, so different fractions fall in that target disc.
Probability is not determined by a set of possible outcomes alone. It also requires a rule specifying how probability is assigned to those outcomes.
1. Randomness requires a measure
A measure assigns a size to sets of outcomes. In probability, the total size of all outcomes is normalized to 1. A measure therefore makes it possible to say how much probability lies in a particular event.
For the chord problem, the set of possible chords can be represented by the disc of possible midpoints. The three selection procedures induce three different measures on this same disc:
Uniformly chosen endpoints produce one distribution of midpoints.
A uniformly chosen radius and position along that radius produce another.
A uniformly chosen point in the disc produces a uniform distribution of midpoints.
The target set is the same in each case, but its measure changes. This is why “the chance” of getting a long chord is not defined until the selection method—or, more generally, the measure—is specified.
The choice of measure can be physical
Mathematics can calculate probabilities once a measure has been selected, but it may not determine which measure corresponds to a particular real-world procedure. That can be a question about the physical mechanism.
For instance, tossing straws onto a circle may seem to produce a natural notion of randomness. Experiments found that the resulting probability depends on the straw length and approaches one-half only for sufficiently long straws. A physical randomizing process must be modeled, rather than assumed to generate a unique, context-free meaning of “uniform.”
Probability spaces
A probability model is commonly represented by a triple:
Ω, the set of possible outcomes.
F, a collection of outcomes’ subsets called events.
P, a probability measure assigning probabilities to events.
The total probability satisfies P(Ω)=1. The measure answers questions such as the probability of an outcome belonging to a particular event in F.
2. Countable additivity and probability-zero events
Consider a spinner whose rim has total length 1, with a pointer equally likely to stop anywhere along the rim. The probability of landing in any arc is its length.
For a single exact point, the probability must be 0. Any positive-length interval around the point can be made arbitrarily short, so the point’s probability cannot be greater than any positive number.
Yet the pointer always lands somewhere. Thus, in a continuous model, an event with probability zero need not be logically impossible. Each individual point has probability zero, while the entire rim has probability 1.
Countable additivity
The rule that makes this consistent is countable additivity. For a countable list of pairwise disjoint events, the probability of their union is the sum of their probabilities:
The rule applies to a list—one event, then another, continuing through the natural numbers. It does not require a sum over an uncountable collection of events. The points of the rim cannot be arranged in a complete list, so countable additivity does not say that the probability of the rim must equal a sum over all its individual points.
This distinction also explains why it is impossible to choose a whole number uniformly at random while giving every number the same probability:
If each whole number has probability 0, their countable total is 0, not 1.
If each has a positive probability p, the sum over infinitely many numbers diverges.
There is no equal probability that can be assigned to each whole number and still produce a probability distribution.
Countable and uncountable sets
A set is countable if its elements can be placed in a list indexed by the natural numbers. The whole numbers are countable, and so are the rational numbers between 0 and 1, even though the rationals are dense: between any two distinct real numbers there is a rational number.
The real numbers in an interval, by contrast, cannot be listed completely. Cantor’s diagonal argument shows why. If all numbers between 0 and 1 were listed as decimals, a new decimal could be constructed by changing the nth digit of the nth listed number. The new number would differ from every entry at least once, so it could not appear on the supposed complete list.
This yields two distinct scales of infinity: countable infinity and the larger, uncountable infinity.
A dense set can have measure zero
Under the uniform measure on the spinner, the rational points have total probability zero, despite being dense. Because they can be listed, each rational point can be covered by a small interval. If the intervals are chosen with lengths that decrease geometrically, their total length can be made arbitrarily small while still covering every rational point.
Therefore, the rationals can be dense everywhere on the rim while having measure zero. Probability zero means measure zero; it does not by itself mean impossible.
3. Measurable events and why some sets have no size
Not every subset of a continuous outcome space can consistently be assigned a probability while preserving the desired properties of a measure. Some sets are nonmeasurable: their probability is not defined within the chosen measure system.
The Vitali-set construction
On the circle, say that two points are related if one can be obtained from the other by rotating through a rational fraction of a full turn. Each point belongs to an equivalence class consisting of all points reachable through rational rotations. Each such class is countable, like the rational numbers.
The classes partition the circle: every point belongs to exactly one class. Since the circle is uncountable and each class is countable, there must be uncountably many classes. The axiom of choice allows one representative to be selected from each class. The set of all those representatives is called a Vitali set.
Now rotate the Vitali set through each rational fraction of a turn. These rotated copies:
Do not overlap.
Have the same size if the size is invariant under rotation.
Collectively cover the circle.
There are countably many such copies. If the Vitali set had measure zero, their union would have measure zero. If it had any positive measure, the countable union would have infinite measure. Either outcome conflicts with the circle having finite total measure 1. Thus, the Vitali set has no size under a translation-invariant, countably additive length measure.
The argument shows why probability theory does not assign a probability to every imaginable subset of outcomes. Some subsets must be excluded from the event collection.
A related paradox in three dimensions
The Banach–Tarski paradox shows that a solid ball can be partitioned into finitely many pieces and reassembled, using rotations, into two balls each congruent to the original. The pieces involved are nonmeasurable, so ordinary volume cannot be assigned to them in a way that preserves the expected additivity and invariance properties. The result is a statement about mathematical sets, not a method for physically cutting a ball.
Sigma-algebras
A sigma-algebra F is a collection of subsets of outcomes that are accepted as measurable events. It has three key properties:
It contains the entire outcome space Ω.
If it contains an event, it contains that event’s complement.
If it contains a countable list of events, it contains their union.
A sigma-algebra can be viewed as the collection of yes-or-no questions that a probability model permits. It contains the events whose probabilities can be calculated. In the circle construction, the Vitali set is not included as a measurable event.
Kolmogorov’s probability framework
A standard mathematical definition of probability consists of:
An outcome space Ω.
A sigma-algebra F of measurable events.
A probability measure P on F, with P(Ω)=1.
Countable additivity is part of the measure’s definition. It is an assumption chosen because it works well with limits, infinite sequences, and the applications of probability. This framework resolves the earlier puzzles:
The three chord answers arise from three different probability measures.
A point on the spinner can have probability zero while the whole rim has probability one, because countable additivity does not require summation over an uncountable set of points.
Some sets are excluded from the event collection because no consistent measure can be assigned to them.
4. Random variables and the Lebesgue integral
A random variable is a measurable rule that assigns a numerical value to each outcome. Measurability means that numerical questions about the result—such as whether it is at most a specified number—correspond to events in the sigma-algebra.
The expected value of a random variable is its average under the probability measure. The Lebesgue integral gives one general method for calculating this average, whether the possible values are discrete, continuous, or a mixture.
Two ways to calculate an integral
An ordinary Riemann integral builds an area by dividing the input axis into narrow intervals and adding the contributions from the resulting columns.
The Lebesgue approach organizes the calculation by output values instead. For each height, it considers the set of inputs at which the function reaches that height, measures that set, and combines the height with its measure. It effectively groups equal or similar values before adding them.
For well-behaved functions, both methods give the same result. The Lebesgue approach is more general because it relies on the measure of sets rather than requiring a function to behave regularly across narrow input intervals.
Example: the indicator of the rationals
Consider a function on the interval [0,1] that equals 1 at every rational number and 0 at every irrational number. The rationals are dense, so every interval contains both rational and irrational inputs. Ordinary columns do not settle to a consistent height as the intervals become narrower.
The Lebesgue approach uses the measures of the two sets:
The set where the function equals 1 is the rationals, which has measure 0.
The set where it equals 0 has measure 1.
Its integral is therefore 1⋅0+0⋅1=0.
Expected values in common models
For a fair die with outcomes 1 through 6, each outcome has probability 1/6. Its expected value is
For a uniformly distributed point X on the interval [0,1], the expected value is
The finite sum for a die and the integral for a continuous variable are instances of the same idea: each possible value is weighted by the probability measure of the outcomes that produce it.
Mixed distributions: rainfall
A daily rainfall amount can have both a point mass and a continuous part. On many days, rainfall is exactly zero; on rainy days, the amount varies continuously. It is therefore neither purely discrete, like a die, nor purely continuous, like a uniformly distributed spinner.
An expected value can still be calculated by integrating over the full distribution. The zero-rainfall days contribute nothing, while rainy days contribute according to their probabilities and amounts. For example, if rainy days make up about 46.5% of all days and have average rainfall of about 12.44 millimetres, the overall daily average is approximately 5.8 millimetres.
Three components of distributions on the real line
Every probability distribution on the real line can be decomposed into three types of component:
Atomic or discrete: probability concentrated in jumps at individual values.
Absolutely continuous: probability spread according to a density.
Singular continuous: no point has positive probability, but the distribution is concentrated on a set of Lebesgue measure zero.
The third type is less familiar but is essential to understanding the full range of probability distributions.
The Cantor distribution and the devil’s staircase
A random number can be constructed from an infinite sequence of fair coin flips. Starting with [0,1], each flip selects either the left or right remaining third, and the process repeats within the selected interval. In base three, the surviving points can be represented using only the digits 0 and 2.
At each stage, the middle third of every remaining interval is removed. The total length removed approaches 1, leaving a set of measure zero called the Cantor set. Yet the set has as many points as the interval itself: each infinite sequence of coin flips determines a surviving point.
The resulting random number has:
No density over the line, because all its probability lies on a set of length zero.
No jumps at individual points, because no single point has positive probability.
A cumulative distribution function called the devil’s staircase, which increases from 0 to 1 while remaining flat almost everywhere.
By symmetry, the expected value of this Cantor-distributed random number is 1/2.
5. Almost sure convergence, averages, and the martingale trap
For an infinite sequence of independent fair coin flips, the proportion of heads converges to 1/2 with probability 1. This is an example of the strong law of large numbers.
“Converges with probability 1” means almost surely. It does not mean every conceivable sequence converges to $1/2. For example, the sequence consisting entirely of heads does not. Such exceptional sequences form a set of probability zero under the fair-coin model.
A doubling strategy
Suppose a gambler bets one coin on an even chance. After a loss, the gambler doubles the next stake: 1, then 2, then 4, and so on. The first win recovers all previous losses and produces a net gain of one coin.
With unlimited funds and no limit on the number of bets, the gambler eventually wins with probability 1, since the probability of losing the first n bets is 2−n, which approaches zero. But an actual gambler has limited funds.
With seven coins, the gambler can make bets of 1, 2, and 4:
With probability 7/8, a win occurs within three bets, yielding a net gain of one coin.
With probability 1/8, all three bets are lost, yielding a net loss of seven coins.
The expected gain is
More generally, with enough money for n successive bets totaling 2n−1 coins, the gambler gains one coin with probability 1−2−n and loses 2n−1 coins with probability 2−n. The expected gain remains zero.
As n increases, almost all players eventually fall into the group that gains one coin. But a shrinking fraction of players lose an increasingly large amount. The rare losses continue to offset the frequent gains in the average.
Why averages and limits cannot always be exchanged
This example illustrates a general warning: the limit of expected values need not equal the expected value of the limit.
For each finite bankroll, the expected gain is zero. As the bankroll grows, the gain converges to 1 for almost every outcome. Thus the limiting gain is 1 almost surely, even though the expected gain at every finite stage is zero.
The dominated convergence theorem gives conditions under which limits and expectations can be interchanged. In particular, it is enough for the sequence of random variables to be bounded in absolute value by one fixed integrable random variable. The doubling strategy has no such bound: the possible loss grows without limit. The theorem therefore does not justify swapping the limit and expectation.
In practice, casinos set maximum bets, and gamblers have finite funds. Either constraint prevents unlimited doubling. A strategy that wins eventually with probability 1 does not thereby guarantee a positive average return or a safe practical strategy.
6. Conditional probability and information
Conditional probability describes how probabilities change when information is learned. If a fair die is known to have landed on an even number, the possible outcomes are 2, 4, and 6. One of those three is a six, so the conditional probability of a six is 1/3.
For events A and B with P(B)>0, the usual formula is
The formula cannot be applied directly when P(B)=0, because it would require division by zero.
Conditioning on a zero-probability geometric event
Imagine a dart landing uniformly on the surface of a globe. Consider a particular great circle through the north and south poles. That exact circle has surface area zero, so the probability of the dart landing exactly on it is zero.
Suppose the question is whether the dart lies within 30∘ of either pole, given that it landed on the circle. A natural approach is to replace the zero-area circle with a thin region around it and then shrink the region.
Different ways of shrinking the region give different answers:
A belt of constant width around the great circle: The dart is uniformly distributed along the circle in the limiting belt. The two arcs within 30∘ of the poles have a combined length of 120∘ out of 360∘, giving probability 1/3.
A thin orange-slice wedge bounded by nearby longitude lines: The wedge becomes narrowest near the poles. Its area is therefore distributed differently along latitude. In the limiting calculation, the proportion near the poles is 1−sin(60∘), approximately 13.4%.
The same circle and the same broad description of the dart produce different limiting answers because the approximating regions differ. This is another version of the chord paradox: probability depends on how the experiment or information is formalized.
Conditioning on a sigma-algebra
In many situations, information is represented by a sigma-algebra: a collection of events that records what is observable. An instrument that reports distance from a circle produces one family of possible observations; an instrument that reports longitude produces another. Both may distinguish different information about the same geometric outcome.
Conditional probability given a sigma-algebra is represented by a conditional expectation. For an event A, the updated probability is a random variable satisfying the integral identity
where G is the information sigma-algebra. In words, averaging the updated probability over any event described by the available information must recover the original joint probability.
This framework handles information as a whole collection of observable questions rather than as one isolated event of probability zero. Conditional probabilities given a sigma-algebra are generally determined up to changes on sets of probability zero. Consequently, an exact value at one particular zero-probability observation may still require an additional convention or limiting procedure.
Summary: the main principles
A probability measure is part of the model. The outcomes alone do not determine what “random” means.
Countable additivity applies to countable disjoint collections. It does not require adding probabilities over uncountably many individual points.
Probability zero is not the same as logical impossibility. A continuous random variable can land at an exact point even though that event has probability zero.
A sigma-algebra specifies which sets count as measurable events. Some subsets cannot be assigned probabilities consistently.
Expected value is a measure-based integral. It applies to discrete, continuous, mixed, and singular distributions.
Almost-sure behavior and average behavior are different. Rare outcomes with extreme values can continue to determine an expectation.
Limits and expectations can be exchanged only under suitable conditions, such as domination by a fixed integrable bound.
Conditioning requires a precise account of the information available. A single event of probability zero does not, by itself, determine a unique conditional probability.

Ask anything
We've read this whole study set, so questions about it get the best answers.