Kolmogorov's axioms
The probability space and the three axioms; complement, monotonicity, inclusion–exclusion and the union bound; a uniform point on a segment, zero-probability events and σ-algebras.
From frequencies to rules
The topic Outcomes, events and counting built the language: a sample space , events as its subsets, and "or", "and", "not" as union, intersection and complement. It also showed where the recipe stops working. A loaded die, the number of tosses until the first head, a random point in : the outcomes there are not equally likely, or there are infinitely many of them.
In 1933 Andrey Kolmogorov stopped looking for a formula. Instead he asked which properties any probability must have, whatever it describes, and took those properties as the definition.
Where do such properties come from? Take the frequency reading from the topic What probability is. Repeat an experiment times, and let count the trials in which event happened. The relative frequency behaves in three simple ways.
- It is never negative.
- The event happens in every trial, so its frequency is exactly .
- If and cannot happen together, each trial counts toward at most one of them. Then , and the frequencies add.
Degrees of belief are held to the same three rules. A believer who breaks them can be offered a set of bets that loses money whatever happens. The next block turns the three rules into axioms.
Three axioms
A probability space is a triple . Here is the sample space, is the family of events, and assigns a number to each event. For now take to be all subsets of ; the last block explains why that sometimes fails.
is a probability if it satisfies three axioms: the three rules of frequencies, now written for .
- Non-negativity: for every event .
- Normalization: .
- Countable additivity: if events are pairwise disjoint (finitely or countably many of them), then
That is the whole definition. When is finite or countable, it means one thing in practice. Give each outcome a weight so that the weights sum to . Then the probability of an event is the sum of the weights inside it:
Any such choice of weights satisfies the axioms. Equally likely outcomes are the special case .
A loaded die. Weights on the faces . Then .
Flips up to the first head. Here . The first flips of a fair coin give equally likely sequences, and exactly one of them is tails, tails, …, heads. So the first head comes at flip with probability . The weights sum to one:
The probability that the first head comes within three flips is .
What follows from the axioms
The axioms look meagre. Yet every familiar rule follows from them by one trick: split an event into disjoint pieces and apply axiom 3.
Complement. An event and its complement never happen together and between them cover all of . Axioms 2 and 3 then give
Monotonicity. If , split into the disjoint pieces and . Axiom 3 gives , and axiom 1 says the second term is non-negative. So , and in particular .
Union of two events. The sum counts the overlap twice, so we subtract it once:
The complement rule is the workhorse for "at least one". In the topic on counting, at least one six on two dice took 11 outcomes out of 36. Through the complement it is , with no listing at all.
In the 17th century the Chevalier de Méré bet that at least one six would come up in four rolls of a die. Four rolls give equally likely sequences, and of them have no six. So
and the bet made money. His second bet was a double six at least once in 24 rolls of two dice. His reasoning was that , so the odds should be the same. That bet lost money.
Inclusion and exclusion
The two-event formula grows to any number of events. For three events, add the singles, subtract the pairs, and add back the triple:
Check any region of the Venn diagram. A point in exactly two of the events is counted time. A point in all three is counted time. In general, this inclusion–exclusion formula sums over intersections of events with alternating signs.
Secret Santa. Each of people writes their name on a slip, and everyone draws one slip from a hat. All assignments are equally likely. What is the probability that nobody draws their own name?
Let be "person drew their own name". If chosen people all drew their own names, the rest can be arranged in ways. So the intersection of any of the events has probability . There are ways to choose the people, and
Inclusion–exclusion turns this into the probability of the complement of :
For four people this is .
The union bound
Drop the subtracted term in the two-event formula and you get an inequality. Repeating the argument for more events gives the union bound (Boole's inequality):
It holds for finitely or countably many events. It does not care how the events depend on one another: they may overlap a lot, a little or not at all. That is why it is so useful when the dependence is unknown.
Twenty alerts. After each release a team compares 20 metrics with the previous version. Each comparison raises a false alarm with probability when nothing has really changed. The metrics are correlated in ways nobody can write down. The union bound gives
which is true and useless. Now make each comparison stricter, with a false alarm probability of . The bound becomes , whatever the correlations are. This is the Bonferroni correction from the topic Hypothesis tests and A/B testing. The same bound, applied to many classifiers at once, gives the generalization bound in the topic Inequalities and concentration.
A point on a segment
Now pick a point uniformly from , as rand() does. The natural rule is that the probability of an interval is its length:
Lengths are non-negative, the whole segment has length , and the lengths of disjoint intervals add. This is the uniform distribution , and the topic Continuous distributions returns to it.
What is the probability of hitting one exact point ? For every the point lies inside some interval of length . By monotonicity , and can be as small as we like. So for every .
Yet some point is always chosen. Probability zero does not mean impossible. The coin example has the same feature. Tails forever is a possible sequence, but the weights of all finite outcomes already sum to , so it gets probability .
This looks like a contradiction. is the union of its points, which are disjoint, and each has probability . Shouldn't axiom 3 give ? It does not, because axiom 3 speaks only about finite or countable families. The points of cannot be listed as a sequence: there are uncountably many of them. Countable additivity still applies to any countable set of points, and every such set gets probability .
Events and models
Now the promised caveat about . On we cannot declare every subset an event. Using the axiom of choice, one can build a strange set (Vitali's construction) that admits no length consistent with the axioms. So the events are only a chosen family , called a σ-algebra. It has three properties:
- it contains ;
- with every event it contains the complement;
- with every finite or countable sequence of events it contains their union.
Intersections then come for free, because . On a finite or countable we simply take all subsets. On we take the Borel σ-algebra: the smallest σ-algebra that contains all intervals. Every set you will meet in this course is in it.
The axioms check that a model is consistent. They do not tell you which model to pick. Bertrand's paradox (1889) shows why this matters. What is the probability that a random chord of a circle is longer than the side of the inscribed equilateral triangle? Pick two random endpoints on the circle, and the answer is . Pick a random radius and a random point on it as the chord's midpoint, and it is . Pick the midpoint uniformly in the disc, and it is . Each answer is right for its own probability space. "At random" is not a model until you say how. The same goes for "random initialization" in ML: it means a specific distribution, and the choice matters.
The axioms fix once and for all. But a spam filter learns things about each email: say, that it contains the word "free". The probability that the email is spam should change after that. The next topic, Conditional probability and Bayes' formula, explains how.
Check your understanding
The same questions as in Pulse. Answers are shared between modes.
Answers are saved on the server and tied to this browser until you sign in.