Skip to content
BIASED

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 Ω\Omega, events as its subsets, and "or", "and", "not" as union, intersection and complement. It also showed where the recipe P(A)=∣A∣/∣Ω∣P(A) = |A|/|\Omega| stops working. A loaded die, the number of tosses until the first head, a random point in [0,1][0, 1]: 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 nn times, and let nAn_A count the trials in which event AA happened. The relative frequency nA/nn_A/n behaves in three simple ways.

  • It is never negative.
  • The event Ω\Omega happens in every trial, so its frequency is exactly 11.
  • If AA and BB cannot happen together, each trial counts toward at most one of them. Then nA∪B=nA+nBn_{A \cup B} = n_A + n_B, 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 (Ω,F,P)(\Omega, \mathcal F, P). Here Ω\Omega is the sample space, F\mathcal F is the family of events, and PP assigns a number to each event. For now take F\mathcal F to be all subsets of Ω\Omega; the last block explains why that sometimes fails.

PP is a probability if it satisfies three axioms: the three rules of frequencies, now written for PP.

  1. Non-negativity: P(A)≥0P(A) \ge 0 for every event AA.
  2. Normalization: P(Ω)=1P(\Omega) = 1.
  3. Countable additivity: if events A1,A2,…A_1, A_2, \dots are pairwise disjoint (finitely or countably many of them), then
P(⋃iAi)=∑iP(Ai).P\Big(\bigcup_i A_i\Big) = \sum_i P(A_i).

That is the whole definition. When Ω\Omega is finite or countable, it means one thing in practice. Give each outcome a weight pω≥0p_\omega \ge 0 so that the weights sum to 11. Then the probability of an event is the sum of the weights inside it:

P(A)=∑ω∈Apω.P(A) = \sum_{\omega \in A} p_\omega.

Any such choice of weights satisfies the axioms. Equally likely outcomes are the special case pω=1/∣Ω∣p_\omega = 1/|\Omega|.

A loaded die. Weights (0.1,0.1,0.1,0.1,0.1,0.5)(0.1, 0.1, 0.1, 0.1, 0.1, 0.5) on the faces 1,…,61, \dots, 6. Then P(at least five)=0.1+0.5=0.6P(\text{at least five}) = 0.1 + 0.5 = 0.6.

Flips up to the first head. Here Ω={1,2,3,… }\Omega = \{1, 2, 3, \dots\}. The first kk flips of a fair coin give 2k2^k equally likely sequences, and exactly one of them is tails, tails, …, heads. So the first head comes at flip kk with probability pk=2−kp_k = 2^{-k}. The weights sum to one:

12+14+18+⋯=1.\frac12 + \frac14 + \frac18 + \dots = 1.

The probability that the first head comes within three flips is 12+14+18=78\tfrac12 + \tfrac14 + \tfrac18 = \tfrac78.

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 Ac=Ω∖AA^c = \Omega \setminus A never happen together and between them cover all of Ω\Omega. Axioms 2 and 3 then give

P(Ac)=1−P(A).P(A^c) = 1 - P(A).

Monotonicity. If A⊆BA \subseteq B, split BB into the disjoint pieces AA and B∖AB \setminus A. Axiom 3 gives P(B)=P(A)+P(B∖A)P(B) = P(A) + P(B \setminus A), and axiom 1 says the second term is non-negative. So P(A)≤P(B)P(A) \le P(B), and in particular P(A)≤1P(A) \le 1.

Union of two events. The sum P(A)+P(B)P(A) + P(B) counts the overlap A∩BA \cap B twice, so we subtract it once:

P(A∪B)=P(A)+P(B)−P(A∩B).P(A \cup B) = P(A) + P(B) - P(A \cap B).

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 1−25/36=11/361 - 25/36 = 11/36, 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 64=12966^4 = 1296 equally likely sequences, and 54=6255^4 = 625 of them have no six. So

P(at least one six)=1−(56)4≈0.518,P(\text{at least one six}) = 1 - \left(\frac56\right)^4 \approx 0.518,

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 4/6=24/364/6 = 24/36, 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:

P(A∪B∪C)=P(A)+P(B)+P(C)−P(A∩B)−P(A∩C)−P(B∩C)+P(A∩B∩C).P(A \cup B \cup C) = P(A) + P(B) + P(C) - P(A \cap B) - P(A \cap C) - P(B \cap C) + P(A \cap B \cap C).

Check any region of the Venn diagram. A point in exactly two of the events is counted 2−1=12 - 1 = 1 time. A point in all three is counted 3−3+1=13 - 3 + 1 = 1 time. In general, this inclusion–exclusion formula sums over intersections of 1,2,3,…1, 2, 3, \dots events with alternating signs.

Secret Santa. Each of nn people writes their name on a slip, and everyone draws one slip from a hat. All n!n! assignments are equally likely. What is the probability that nobody draws their own name?

Let AiA_i be "person ii drew their own name". If kk chosen people all drew their own names, the rest can be arranged in (n−k)!(n-k)! ways. So the intersection of any kk of the events has probability (n−k)!/n!(n-k)!/n!. There are (nk)\binom nk ways to choose the kk people, and

(nk)⋅(n−k)!n!=1k!.\binom nk \cdot \frac{(n-k)!}{n!} = \frac{1}{k!}.

Inclusion–exclusion turns this into the probability of the complement of A1∪⋯∪AnA_1 \cup \dots \cup A_n:

P(nobody draws their own name)=∑k=0n(−1)kk!.P(\text{nobody draws their own name}) = \sum_{k=0}^{n} \frac{(-1)^k}{k!}.

For four people this is 1−1+12−16+124=924=0.3751 - 1 + \tfrac12 - \tfrac16 + \tfrac1{24} = \tfrac9{24} = 0.375.

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):

P(⋃iAi)≤∑iP(Ai).P\Big(\bigcup_i A_i\Big) \le \sum_i P(A_i).

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 0.050.05 when nothing has really changed. The metrics are correlated in ways nobody can write down. The union bound gives

P(at least one false alarm)≤20⋅0.05=1,P(\text{at least one false alarm}) \le 20 \cdot 0.05 = 1,

which is true and useless. Now make each comparison stricter, with a false alarm probability of 0.05/20=0.00250.05/20 = 0.0025. The bound becomes 20⋅0.0025=0.0520 \cdot 0.0025 = 0.05, 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 XX uniformly from [0,1][0, 1], as rand() does. The natural rule is that the probability of an interval is its length:

P(a≤X≤b)=b−a,0≤a≤b≤1.P(a \le X \le b) = b - a, \qquad 0 \le a \le b \le 1.

Lengths are non-negative, the whole segment has length 11, and the lengths of disjoint intervals add. This is the uniform distribution U(0,1)U(0, 1), and the topic Continuous distributions returns to it.

What is the probability of hitting one exact point xx? For every ε>0\varepsilon > 0 the point lies inside some interval of length ε\varepsilon. By monotonicity P(X=x)≤εP(X = x) \le \varepsilon, and ε\varepsilon can be as small as we like. So P(X=x)=0P(X = x) = 0 for every xx.

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 11, so it gets probability 00.

This looks like a contradiction. [0,1][0, 1] is the union of its points, which are disjoint, and each has probability 00. Shouldn't axiom 3 give P([0,1])=0P([0, 1]) = 0? It does not, because axiom 3 speaks only about finite or countable families. The points of [0,1][0, 1] 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 0+0+⋯=00 + 0 + \dots = 0.

Events and models

Now the promised caveat about F\mathcal F. On [0,1][0, 1] 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 F\mathcal F, called a σ-algebra. It has three properties:

  • it contains Ω\Omega;
  • 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 A∩B=(Ac∪Bc)cA \cap B = (A^c \cup B^c)^c. On a finite or countable Ω\Omega we simply take all subsets. On [0,1][0, 1] 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 1/31/3. Pick a random radius and a random point on it as the chord's midpoint, and it is 1/21/2. Pick the midpoint uniformly in the disc, and it is 1/41/4. 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 PP 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.

Full notes

Answers are saved on the server and tied to this browser until you sign in.