Skip to content

Probability Spaces and Kolmogorov's Axioms: Probability as a Measure of Total Mass One

Prerequisite:Completeness of the Real Numbers and Cauchy Sequences: The Absence of Gaps

Raw
  • Probability is nothing but a measure whose total mass is 11. The triple (Ω,F,P)(\Omega, \mathcal{F}, P) consisting of a sample space Ω\Omega, a family of events F\mathcal{F}, and a probability measure PP is the starting point of all of probability theory.
  • The family of events F\mathcal{F} cannot always be taken to be the collection of all subsets of Ω\Omega. Vitali’s non-measurable set is the reason (see the Appendix). We must therefore restrict in advance the objects to which probabilities are assigned.
  • There are only 33 axioms (nonnegativity, total probability 11, countable additivity). Monotonicity, the addition formula, subadditivity, and continuity from below and from above can all be proved from these 33.
  • Countable additivity is equivalent to “finite additivity ++ continuity at the empty set”. This is the condition that allows us to speak of statements involving nn \to \infty; with finite additivity alone no limit theorem can even be formulated.
  • The conditional probability P(B)P(\,\cdot \mid B) is itself a probability measure. Consequently every property we prove for probability measures is available for conditional probabilities as well, and Bayes’ theorem becomes a two-line computation on top of that fact.
  • Independence is defined through products. For 33 or more events, pairwise independence and independence of the family are different notions.

1. Motivation: why probability has to be a measure

Section titled “1. Motivation: why probability has to be a measure”

Probability theory is usually dated to the 16541654 correspondence between Pascal and Fermat. The topic was the problem of points. Two players are betting, the agreement being that the first to win 33 rounds takes the whole stake, but the game is interrupted at 22 to 11. How should the stake be divided? The two arrived at the solution of enumerating all possible continuations of the remaining rounds and dividing in proportion to the number of ways each player wins. Huygens set this idea down in 16571657 in On Reasoning in Games of Chance, and Jacob Bernoulli, in Ars Conjectandi (17131713), reached the behaviour as the number of trials grows, that is, the first form of the law of large numbers.

Laplace’s classical definition generalizes such computations. If among NN “equally likely” cases the event AA occurs in NAN_A of them, one sets

P(A)=NAN.P(A) = \frac{N_A}{N}.

This definition breaks down in 22 places.

First, it is circular. The phrase “equally likely” contains the word “likely”: probability is being used to define probability.

Second, and fatally, it is unusable when the number of cases is infinite. Consider the operation “pick a point at random from [0,1][0,1]”. Here N=N = \infty and NA=1N_A = 1 for every single point, so the ratio loses its meaning.

Bertrand showed in 18891889, in a strikingly clear way, what happens in the infinite case. Draw a chord “at random” in a circle of radius 11. What is the probability that its length exceeds 3\sqrt{3}, the side of the inscribed equilateral triangle?

Measuring by the endpoints. Fix one endpoint of the chord and describe the position of the other endpoint by the central angle θ(0,2π)\theta \in (0, 2\pi), chosen uniformly. The length of the chord is then 2sin(θ/2)2\sin(\theta/2), so 2sin(θ/2)>3    sin(θ/2)>3/2    θ/2(π/3,2π/3)    θ(2π/3,4π/3)2\sin(\theta/2) > \sqrt{3} \iff \sin(\theta/2) > \sqrt{3}/2 \iff \theta/2 \in (\pi/3, 2\pi/3) \iff \theta \in (2\pi/3, 4\pi/3). The ratio of interval lengths is (2π/3)/(2π)=1/3(2\pi/3)/(2\pi) = 1/3.

Measuring by the radial position of the midpoint. Choose the distance dd from the centre to the midpoint of the chord uniformly on [0,1][0,1]. The length of the chord is 21d22\sqrt{1-d^2}, so 21d2>3    1d2>3/4    d<1/22\sqrt{1-d^2} > \sqrt{3} \iff 1 - d^2 > 3/4 \iff d < 1/2. The probability is 1/21/2.

Measuring by the position of the midpoint in the plane. Choose the midpoint of the chord uniformly on the disc. The condition is again d<1/2d < 1/2, but now we measure area, so the answer is π(1/2)2/(π12)=1/4\pi (1/2)^2 / (\pi \cdot 1^2) = 1/4.

One question, three answers: 1/31/3, 1/21/2, 1/41/4. This is not a contradiction. It merely shows that the English phrase “draw a chord at random” can denote 33 different mathematical operations. The lesson is plain: before speaking of probability we must specify to which sets, and with what weights, probability is assigned. The family of sets that receives the assignment, and the assignment itself, have to be set up as independent mathematical objects.

There is a second, decisive example: tossing a coin infinitely often. The set of outcomes is the uncountable set Ω={0,1}N={ω=(ω1,ω2,):ωn{0,1}}\Omega = \{0,1\}^{\mathbb{N}} = \{\omega = (\omega_1, \omega_2, \ldots) : \omega_n \in \{0,1\}\}. Each individual sequence ω\omega must have probability 00 (the probability that the first nn entries agree is 2n2^{-n}, which tends to 00 as nn \to \infty). Yet the whole space has probability 11. This situation — more than countably many outcomes of probability 00 combining to probability 11 — cannot be handled by adding up pointwise weights.

Moreover, what we really want to ask about this experiment concerns events involving limits, such as “the proportion of heads converges to 1/21/2”. To handle those, the family of events must be closed under countable operations, and probability must be additive over countable unions (countable additivity). As we shall see, countable additivity is equivalent to interchanging probability with limits (Theorem 4.3), and this is exactly what bridges finitary probability computations and limit theorems.

In his sixth problem of 19001900, Hilbert called for an axiomatization of physics, probability theory included. After the work of Borel (19091909, the theorem on normal numbers) and Lebesgue (19021902, the theory of measure), the answer Kolmogorov gave in Grundbegriffe der Wahrscheinlichkeitsrechnung (19331933) looks, in retrospect, almost anticlimactically brief.

Probability is a measure whose total mass is 11.

That is, probability theory is a branch of measure theory, and its only proper axiom is the single requirement that the total measure be 11. We now state this precisely.

flowchart TB
Q["Real question: what is the probability that two dice sum to 7?"] --> W["Sample space Ω — all possible outcomes"]
W --> F["σ-algebra F — the events that receive a probability"]
F --> P["Probability measure P — nonnegativity, total probability 1, countable additivity"]
P --> R["Derived basic properties — monotonicity, addition formula, subadditivity, continuity"]
R --> L["Limit theorems — law of large numbers, central limit theorem"]
Kolmogorov's framework: from a real-world question to the limit theorems

2. Preliminaries: sample spaces and the dictionary for events

Section titled “2. Preliminaries: sample spaces and the dictionary for events”

For a single experiment, the nonempty set Ω\Omega of all possible outcomes is called the sample space, and its elements ωΩ\omega \in \Omega are called sample points (elementary outcomes). Subsets of Ω\Omega are the candidates for “events”. The choice of Ω\Omega is a modelling decision made problem by problem; mathematics does not make it for us. For two dice we take Ω={1,,6}2\Omega = \{1,\dots,6\}^2, for infinitely many coin tosses Ω={0,1}N\Omega = \{0,1\}^{\mathbb{N}}, and so on: we choose Ω\Omega so that everything we want to ask about can be written as a subset of it.

The language of sets and the language of probability correspond as follows. Because of this dictionary, every discussion of events reduces to set operations.

Language of setsLanguage of probability
Ω\Omegathe sure event (always occurs)
\emptysetthe impossible event (never occurs)
ωA\omega \in AAA occurs when the outcome is ω\omega
ABA \cup BAA or BB occurs
ABA \cap BAA and BB occur
Ac=ΩAA^{c} = \Omega \setminus AAA does not occur
ABA \subset Bif AA occurs then so does BB
AB=A \cap B = \emptysetAA and BB are mutually exclusive

For a sequence of events (An)n1(A_n)_{n \ge 1} the following 22 sets appear constantly.

lim supnAn:=n=1k=nAk,lim infnAn:=n=1k=nAk.\limsup_{n \to \infty} A_n := \bigcap_{n=1}^{\infty} \bigcup_{k=n}^{\infty} A_k, \qquad \liminf_{n \to \infty} A_n := \bigcup_{n=1}^{\infty} \bigcap_{k=n}^{\infty} A_k .

Let us check what they mean. That ωlim supnAn\omega \in \limsup_n A_n says: for every nn there is some knk \ge n with ωAk\omega \in A_k, that is, ω\omega belongs to infinitely many of the AkA_k. So lim supnAn\limsup_n A_n is the event ”AnA_n occurs infinitely often”, also written {An i.o.}\{A_n \text{ i.o.}\}. On the other hand ωlim infnAn\omega \in \liminf_n A_n says: there is an nn such that ωAk\omega \in A_k for all knk \ge n, that is, ω\omega belongs to all but finitely many of the AkA_k. Directly from the definitions, lim infnAnlim supnAn\liminf_n A_n \subset \limsup_n A_n (if something happens in all but finitely many trials, it certainly happens infinitely often).

3. σ-algebras: the family of events that receive a probability

Section titled “3. σ-algebras: the family of events that receive a probability”

The lesson of Bertrand’s paradox was: state explicitly what receives the assignment. What conditions should that family satisfy? If we can speak of the probability of AA, we want to speak of the probability that AA fails. If we can speak of the probabilities of A1,A2,A_1, A_2, \ldots, we want to speak of the probability that at least one of them occurs. We require only these 22 closure properties, together with the requirement that the whole space belong to the family.

Definition 3.1σ-algebra and measurable space

Let Ω\Omega be a nonempty set. A family F\mathcal{F} of subsets of Ω\Omega is called a σ\sigma-algebra on Ω\Omega if it satisfies the following 33 conditions.

  1. ΩF\Omega \in \mathcal{F}.
  2. If AFA \in \mathcal{F} then AcFA^{c} \in \mathcal{F}.
  3. If A1,A2,A3,FA_1, A_2, A_3, \ldots \in \mathcal{F} (countably many) then n=1AnF\bigcup_{n=1}^{\infty} A_n \in \mathcal{F}.

The pair (Ω,F)(\Omega, \mathcal{F}) is then called a measurable space, and the elements of F\mathcal{F} are called events.

Note that condition 3 requires closure under countably many sets. The choice of countably many — neither finitely many nor arbitrarily many — determines everything that follows. With finitely many we cannot handle limits, and if we allow uncountably many then (as the Appendix shows) no measure exists at all.

Proposition 3.2Operations under which a σ-algebra is closed

Let F\mathcal{F} be a σ\sigma-algebra on Ω\Omega. Then the following hold.

  1. F\emptyset \in \mathcal{F}.
  2. If A1,,AnFA_1, \ldots, A_n \in \mathcal{F} then k=1nAkF\bigcup_{k=1}^{n} A_k \in \mathcal{F}.
  3. If A1,A2,FA_1, A_2, \ldots \in \mathcal{F} then n=1AnF\bigcap_{n=1}^{\infty} A_n \in \mathcal{F}, and likewise for finite intersections.
  4. If A,BFA, B \in \mathcal{F} then ABFA \setminus B \in \mathcal{F}.
  5. If A1,A2,FA_1, A_2, \ldots \in \mathcal{F} then lim supnAnF\limsup_n A_n \in \mathcal{F} and lim infnAnF\liminf_n A_n \in \mathcal{F}.
Proof(Proposition 3.2)
  1. By condition 1 of Definition 3.1 we have ΩF\Omega \in \mathcal{F}; applying condition 2 with A=ΩA = \Omega gives =ΩcF\emptyset = \Omega^{c} \in \mathcal{F}.

  2. Set Ak:=A_k := \emptyset for k>nk > n. By (1) each AkFA_k \in \mathcal{F}, so condition 3 applies and k=1AkF\bigcup_{k=1}^{\infty} A_k \in \mathcal{F}. Adjoining empty sets does not change the union, so k=1Ak=k=1nAk\bigcup_{k=1}^{\infty} A_k = \bigcup_{k=1}^{n} A_k, and this belongs to F\mathcal{F}.

  3. By De Morgan’s law,

n=1An=(n=1Anc)c.\bigcap_{n=1}^{\infty} A_n = \Bigl( \bigcup_{n=1}^{\infty} A_n^{c} \Bigr)^{c}.

Each AncFA_n^{c} \in \mathcal{F} (condition 2), their countable union lies in F\mathcal{F} (condition 3), and so does its complement (condition 2). The finite case follows by the same trick as in (2), assigning Ak:=ΩA_k := \Omega to the leftover indices.

  1. We have AB=ABcA \setminus B = A \cap B^{c} with BcFB^{c} \in \mathcal{F} (condition 2), so this is the case of finite intersections in (3).

  2. The sets Bn:=k=nAkB_n := \bigcup_{k=n}^{\infty} A_k lie in F\mathcal{F} by condition 3, and lim supnAn=n=1BnF\limsup_n A_n = \bigcap_{n=1}^{\infty} B_n \in \mathcal{F} by (3). For lim inf\liminf, put Cn:=k=nAkFC_n := \bigcap_{k=n}^{\infty} A_k \in \mathcal{F} (by (3)); then lim infnAn=n=1CnF\liminf_n A_n = \bigcup_{n=1}^{\infty} C_n \in \mathcal{F} by condition 3.

Part (5) of this proposition is the practical reason for using σ\sigma-algebras: the event ”AnA_n occurs infinitely often”, which can only be written in the language of limits, is automatically admitted as an event.

Example 3.3Examples and a non-example of σ-algebras

Let Ω\Omega be a nonempty set.

(a) The trivial σ\sigma-algebra F={,Ω}\mathcal{F} = \{\emptyset, \Omega\}. All 33 conditions are verified directly. This is the family that carries no information at all.

(b) The power set F=2Ω\mathcal{F} = 2^{\Omega} (all subsets of Ω\Omega). The 33 conditions clearly hold. When Ω\Omega is countable we may simply use this, and the notion of a σ\sigma-algebra looks superfluous. The Appendix shows why this is impossible in the uncountable case.

(c) The family generated by one event. For AΩA \subset \Omega put F={,A,Ac,Ω}\mathcal{F} = \{\emptyset, A, A^{c}, \Omega\}. Complementation permutes these 44 sets among themselves, and unions again stay inside them (for instance AAc=ΩA \cup A^{c} = \Omega).

(d) The countable–cocountable family F={AΩ:A is countable, or Ac is countable}\mathcal{F} = \{A \subset \Omega : A \text{ is countable, or } A^{c} \text{ is countable}\}. Condition 1 holds because Ωc=\Omega^{c} = \emptyset is countable. Condition 2 holds because the definition is symmetric in AA and AcA^{c}. For condition 3, let A1,A2,FA_1, A_2, \ldots \in \mathcal{F} and put A:=nAnA := \bigcup_n A_n. If every AnA_n is countable, then AA is countable, since a countable union of countable sets is countable. Otherwise An0cA_{n_0}^{c} is countable for some n0n_0, and Ac=nAncAn0cA^{c} = \bigcap_n A_n^{c} \subset A_{n_0}^{c}, so AcA^{c} is countable too. In either case AFA \in \mathcal{F}.

(e) A non-example. Let Ω=N\Omega = \mathbb{N} and let F\mathcal{F} consist of all finite sets together with all sets whose complement is finite. This family is closed under finite unions but not under countable ones: indeed An={2n}A_n = \{2n\} is finite, whereas nAn\bigcup_n A_n is the set of all even numbers, which is infinite and has infinite complement. So this is not a σ\sigma-algebra (it is an algebra of sets).

In practice one cannot write down a σ\sigma-algebra by listing its elements. Instead one starts from a family of sets that one wants to assign probabilities to, and enlarges it by the minimum amount necessary.

Proposition 3.4Existence and minimality of the generated σ-algebra

Let C\mathcal{C} be an arbitrary family of subsets of Ω\Omega. Then there exists a unique smallest σ\sigma-algebra containing C\mathcal{C}. That is, there is a σ\sigma-algebra σ(C)\sigma(\mathcal{C}) with Cσ(C)\mathcal{C} \subset \sigma(\mathcal{C}) such that σ(C)G\sigma(\mathcal{C}) \subset \mathcal{G} for every σ\sigma-algebra G\mathcal{G} containing C\mathcal{C}.

Proof(Proposition 3.4)

Put Σ:={G:G is a σ-algebra on Ω with CG}\Sigma := \{\mathcal{G} : \mathcal{G} \text{ is a } \sigma\text{-algebra on } \Omega \text{ with } \mathcal{C} \subset \mathcal{G}\}. By Example 3.3 (b) we have 2ΩΣ2^{\Omega} \in \Sigma, so Σ\Sigma \neq \emptyset and the following definition is meaningful:

σ(C):=GΣG={AΩ:AG for every GΣ}.\sigma(\mathcal{C}) := \bigcap_{\mathcal{G} \in \Sigma} \mathcal{G} = \{A \subset \Omega : A \in \mathcal{G} \text{ for every } \mathcal{G} \in \Sigma\}.

We verify the 33 conditions of Definition 3.1 for this family.

  1. Each GΣ\mathcal{G} \in \Sigma is a σ\sigma-algebra, so ΩG\Omega \in \mathcal{G}. Since this holds for every G\mathcal{G}, we get Ωσ(C)\Omega \in \sigma(\mathcal{C}).
  2. Let Aσ(C)A \in \sigma(\mathcal{C}). For any GΣ\mathcal{G} \in \Sigma we have AGA \in \mathcal{G}, and G\mathcal{G} is closed under complements, so AcGA^{c} \in \mathcal{G}. As this holds for every G\mathcal{G}, we get Acσ(C)A^{c} \in \sigma(\mathcal{C}).
  3. Let A1,A2,σ(C)A_1, A_2, \ldots \in \sigma(\mathcal{C}). For any GΣ\mathcal{G} \in \Sigma we have AnGA_n \in \mathcal{G} for all nn, hence nAnG\bigcup_n A_n \in \mathcal{G}. Therefore nAnσ(C)\bigcup_n A_n \in \sigma(\mathcal{C}).

That C\mathcal{C} is contained in it: every GΣ\mathcal{G} \in \Sigma contains C\mathcal{C}, hence so does their intersection. Minimality: if G\mathcal{G} is a σ\sigma-algebra containing C\mathcal{C} then GΣ\mathcal{G} \in \Sigma, and an intersection is contained in each of its terms, so σ(C)G\sigma(\mathcal{C}) \subset \mathcal{G}. Uniqueness follows because two families both having the minimality property contain each other.

Definition 3.5Generated σ-algebra and the Borel σ-algebra

The family σ(C)\sigma(\mathcal{C}) of Proposition 3.4 is called the σ\sigma-algebra generated by C\mathcal{C}. In particular, the σ\sigma-algebra generated by all open subsets of Rd\mathbb{R}^{d} is called the Borel σ\sigma-algebra, written B(Rd)\mathcal{B}(\mathbb{R}^{d}), and its elements are called Borel sets.

The family B(R)\mathcal{B}(\mathbb{R}) contains open intervals, closed intervals, half-lines (,a](-\infty, a], singletons, countable sets, and everything obtainable from these by countably many unions, intersections and complements. In fact one can show that B(R)=σ({(,a]:aQ})\mathcal{B}(\mathbb{R}) = \sigma(\{(-\infty, a] : a \in \mathbb{Q}\}). The Borel σ\sigma-algebra and the construction of Lebesgue measure are treated in Measurable Sets and Lebesgue Measure (Definition 4.5[可測集合とルベーグ測度]).

Example 3.6The probability space of infinitely many coin tosses

Let Ω={0,1}N\Omega = \{0,1\}^{\mathbb{N}} (with 11 meaning heads). For n1n \ge 1 and ε1,,εn{0,1}\varepsilon_1, \ldots, \varepsilon_n \in \{0,1\} the set

C(ε1,,εn):={ωΩ:ω1=ε1,,ωn=εn}C(\varepsilon_1, \ldots, \varepsilon_n) := \{\omega \in \Omega : \omega_1 = \varepsilon_1, \ldots, \omega_n = \varepsilon_n\}

is called a cylinder set. It is the event “the first nn tosses came out as prescribed”, which can be decided by finitely many observations. Let C\mathcal{C} be the collection of all cylinder sets and put F:=σ(C)\mathcal{F} := \sigma(\mathcal{C}). For a fair coin we want to set P(C(ε1,,εn))=2nP(C(\varepsilon_1,\ldots,\varepsilon_n)) = 2^{-n}. That this prescribed value extends in exactly one way to a probability measure on all of F\mathcal{F} follows from Carathéodory’s extension theorem (or from Kolmogorov’s extension theorem). We do not prove it here, but take the existence for granted and proceed.

Then An:={ω:ωn=1}A_n := \{\omega : \omega_n = 1\} (heads on the nn-th toss) is a finite union of cylinder sets, hence lies in F\mathcal{F}, and by Proposition 3.2 (5) the set

lim supnAn={ω:ωn=1 for infinitely many n}={heads occurs infinitely often}\limsup_{n \to \infty} A_n = \{\omega : \omega_n = 1 \text{ for infinitely many } n\} = \{\text{heads occurs infinitely often}\}

is an event as well. Being able to speak of the probability of this event, which no finite number of observations can ever decide, is the payoff for introducing σ\sigma-algebras.

4. Probability measures and Kolmogorov’s axioms

Section titled “4. Probability measures and Kolmogorov’s axioms”

Definition 4.1Probability measure and probability space (Kolmogorov's axioms)

Let (Ω,F)(\Omega, \mathcal{F}) be a measurable space. A map P:FRP : \mathcal{F} \to \mathbb{R} satisfying the following 33 conditions is called a probability measure on (Ω,F)(\Omega,\mathcal{F}).

  • (P1) Nonnegativity. P(A)0P(A) \ge 0 for every AFA \in \mathcal{F}.
  • (P2) Total probability. P(Ω)=1P(\Omega) = 1.
  • (P3) Countable additivity (σ\sigma-additivity). If A1,A2,FA_1, A_2, \ldots \in \mathcal{F} are pairwise disjoint (AiAj=A_i \cap A_j = \emptyset whenever iji \neq j), then
P(n=1An)=n=1P(An).P\Bigl( \bigcup_{n=1}^{\infty} A_n \Bigr) = \sum_{n=1}^{\infty} P(A_n).

The triple (Ω,F,P)(\Omega, \mathcal{F}, P) is called a probability space.

The right-hand side of (P3) is a series with nonnegative terms, so its value is unchanged by rearrangement (commutativity of nonnegative series). The left-hand side is the probability of a set, which does not depend on how the AnA_n are enumerated, so this consistency is needed. Also, since the left-hand side is a real number, (P3) simultaneously asserts that the series converges.

Theorem 4.2Basic properties of a probability measure

Let (Ω,F,P)(\Omega, \mathcal{F}, P) be a probability space. For A,BFA, B \in \mathcal{F}, A1,,AnFA_1, \ldots, A_n \in \mathcal{F} and (An)n1F(A_n)_{n \ge 1} \subset \mathcal{F} the following hold.

  1. P()=0P(\emptyset) = 0.
  2. (Finite additivity) If A1,,AnA_1, \ldots, A_n are pairwise disjoint then P(k=1nAk)=k=1nP(Ak)P\bigl(\bigcup_{k=1}^{n} A_k\bigr) = \sum_{k=1}^{n} P(A_k).
  3. P(Ac)=1P(A)P(A^{c}) = 1 - P(A).
  4. (Monotonicity) If ABA \subset B then P(BA)=P(B)P(A)P(B \setminus A) = P(B) - P(A); in particular P(A)P(B)P(A) \le P(B).
  5. 0P(A)10 \le P(A) \le 1.
  6. (Addition formula) P(AB)=P(A)+P(B)P(AB)P(A \cup B) = P(A) + P(B) - P(A \cap B).
  7. (Countable subadditivity) P(n=1An)n=1P(An)P\bigl(\bigcup_{n=1}^{\infty} A_n\bigr) \le \sum_{n=1}^{\infty} P(A_n), with no disjointness assumed.
Proof(Theorem 4.2)

(1) Take An:=A_n := \emptyset for every nn. Since =\emptyset \cap \emptyset = \emptyset, this sequence is pairwise disjoint, so (P3) applies and gives P()=n=1P()P(\emptyset) = \sum_{n=1}^{\infty} P(\emptyset). Put c:=P()c := P(\emptyset); by (P1) we have c0c \ge 0. If c>0c > 0 the right-hand series diverges to ++\infty, contradicting the fact that the left-hand side is a real number. Hence c=0c = 0.

(2) Set Ak:=A_k := \emptyset for k>nk > n. Since \emptyset is disjoint from every set, (Ak)k1(A_k)_{k \ge 1} is pairwise disjoint, and (P3) together with (1) gives

P(k=1nAk)=P(k=1Ak)=k=1P(Ak)=k=1nP(Ak)+k>n0=k=1nP(Ak).P\Bigl(\bigcup_{k=1}^{n} A_k\Bigr) = P\Bigl(\bigcup_{k=1}^{\infty} A_k\Bigr) = \sum_{k=1}^{\infty} P(A_k) = \sum_{k=1}^{n} P(A_k) + \sum_{k>n} 0 = \sum_{k=1}^{n} P(A_k).

(3) Since AAc=ΩA \cup A^{c} = \Omega and AAc=A \cap A^{c} = \emptyset, applying (2) with n=2n=2 gives P(A)+P(Ac)=P(Ω)P(A) + P(A^{c}) = P(\Omega), and the right-hand side equals 11 by (P2).

(4) If ABA \subset B then B=A(BA)B = A \cup (B \setminus A) with A(BA)=A \cap (B \setminus A) = \emptyset; that BAFB \setminus A \in \mathcal{F} is Proposition 3.2 (4). By (2), P(B)=P(A)+P(BA)P(B) = P(A) + P(B \setminus A), and rearranging gives P(BA)=P(B)P(A)P(B \setminus A) = P(B) - P(A). Moreover P(BA)0P(B \setminus A) \ge 0 by (P1), so P(A)P(B)P(A) \le P(B).

(5) Apply the second half of (4) twice to AΩ\emptyset \subset A \subset \Omega and use (1) and (P2): 0=P()P(A)P(Ω)=10 = P(\emptyset) \le P(A) \le P(\Omega) = 1.

(6) We have AB=A(BA)A \cup B = A \cup (B \setminus A), and these 22 sets are disjoint. Also B=(AB)(BA)B = (A \cap B) \cup (B \setminus A), and these 22 are disjoint as well (the first is contained in AA, the second does not meet AA). Applying (2) to each,

P(AB)=P(A)+P(BA),P(B)=P(AB)+P(BA).P(A \cup B) = P(A) + P(B\setminus A), \qquad P(B) = P(A \cap B) + P(B \setminus A).

The second identity gives P(BA)=P(B)P(AB)P(B \setminus A) = P(B) - P(A \cap B); substituting into the first yields the claim.

(7) Replace the given sequence by a disjoint one (disjointification):

B1:=A1,Bn:=An(A1An1)(n2).B_1 := A_1, \qquad B_n := A_n \setminus (A_1 \cup \cdots \cup A_{n-1}) \quad (n \ge 2).

By Proposition 3.2 (2) and (4), BnFB_n \in \mathcal{F}. For m<nm < n we have BnAm=B_n \cap A_m = \emptyset and BmAmB_m \subset A_m, hence BnBm=B_n \cap B_m = \emptyset: the (Bn)(B_n) are pairwise disjoint. Moreover BnAnB_n \subset A_n, and induction gives kNBk=kNAk\bigcup_{k \le N} B_k = \bigcup_{k \le N} A_k for every NN, hence nBn=nAn\bigcup_{n} B_n = \bigcup_{n} A_n. Combining this with (P3) and (4),

P(n=1An)=P(n=1Bn)=n=1P(Bn)n=1P(An).P\Bigl(\bigcup_{n=1}^{\infty} A_n\Bigr) = P\Bigl(\bigcup_{n=1}^{\infty} B_n\Bigr) = \sum_{n=1}^{\infty} P(B_n) \le \sum_{n=1}^{\infty} P(A_n).

These properties support almost every everyday probability computation. The addition formula (6) is precisely the counting principle “subtract what was counted twice”, while the subadditivity (7) says that “the probability that at least one bad thing happens is at most the sum of the individual probabilities” — the union bound, used again and again as a probabilistic error estimate in the theory of machine learning.

4.1. What countable additivity buys: continuity of measures

Section titled “4.1. What countable additivity buys: continuity of measures”

Theorem 4.3Continuity of measures and a characterization of σ-additivity

Let (Ω,F)(\Omega, \mathcal{F}) be a measurable space.

  1. (Continuity from below) Let PP be a probability measure and let (An)n1F(A_n)_{n\ge1} \subset \mathcal{F} satisfy A1A2A_1 \subset A_2 \subset \cdots. Then the sequence (P(An))(P(A_n)) converges and
P(n=1An)=limnP(An).P\Bigl( \bigcup_{n=1}^{\infty} A_n \Bigr) = \lim_{n \to \infty} P(A_n).
  1. (Continuity from above) Let PP be a probability measure and let (An)n1F(A_n)_{n\ge1} \subset \mathcal{F} satisfy A1A2A_1 \supset A_2 \supset \cdots. Then
P(n=1An)=limnP(An).P\Bigl( \bigcap_{n=1}^{\infty} A_n \Bigr) = \lim_{n \to \infty} P(A_n).
  1. (Converse) If a map P:FRP : \mathcal{F} \to \mathbb{R} satisfies (P1), (P2) and finite additivity (the property in Theorem 4.2 (2)), and in addition satisfies ”B1B2B_1 \supset B_2 \supset \cdots with nBn=\bigcap_n B_n = \emptyset implies limnP(Bn)=0\lim_n P(B_n) = 0”, then PP satisfies (P3); that is, PP is a probability measure.
Proof(Theorem 4.3)

(1) First we check convergence. From AnAn+1A_n \subset A_{n+1} and Theorem 4.2 (4) we get P(An)P(An+1)P(A_n) \le P(A_{n+1}), and (5) of the same theorem gives P(An)1P(A_n) \le 1. A real sequence that is increasing and bounded above converges (see the Completeness of the Real Numbers and Cauchy Sequences, the completeness axiom(Axiom 3.1)[Completeness of the Real Numbers and Cauchy Sequences]).

Now we compute the value. Put B1:=A1B_1 := A_1 and Bn:=AnAn1B_n := A_n \setminus A_{n-1} for n2n \ge 2. If m<nm < n then BmAmAn1B_m \subset A_m \subset A_{n-1} while BnAn1=B_n \cap A_{n-1} = \emptyset, so the (Bn)(B_n) are pairwise disjoint. That k=1nBk=An\bigcup_{k=1}^{n} B_k = A_n follows by induction (the case n=1n=1 is the definition, and knBk=An1(AnAn1)=An\bigcup_{k \le n} B_k = A_{n-1} \cup (A_n \setminus A_{n-1}) = A_n, the last equality because An1AnA_{n-1} \subset A_n). Hence k=1Bk=n=1An\bigcup_{k=1}^{\infty} B_k = \bigcup_{n=1}^{\infty} A_n, and by (P3) together with finite additivity,

P(nAn)=k=1P(Bk)=limnk=1nP(Bk)=limnP(k=1nBk)=limnP(An).P\Bigl(\bigcup_{n} A_n\Bigr) = \sum_{k=1}^{\infty} P(B_k) = \lim_{n \to \infty} \sum_{k=1}^{n} P(B_k) = \lim_{n \to \infty} P\Bigl(\bigcup_{k=1}^{n} B_k\Bigr) = \lim_{n \to \infty} P(A_n).

(2) The sets AncA_n^{c} form an increasing sequence, and by De Morgan nAnc=(nAn)c\bigcup_n A_n^{c} = (\bigcap_n A_n)^{c}. Applying (1) to (Anc)(A_n^{c}) gives P((nAn)c)=limnP(Anc)P\bigl((\bigcap_n A_n)^{c}\bigr) = \lim_n P(A_n^{c}). Using Theorem 4.2 (3) on both sides, 1P(nAn)=limn(1P(An))=1limnP(An)1 - P(\bigcap_n A_n) = \lim_n (1 - P(A_n)) = 1 - \lim_n P(A_n), and rearranging gives the claim.

(3) Let (An)n1F(A_n)_{n \ge 1} \subset \mathcal{F} be pairwise disjoint and put A:=n=1AnFA := \bigcup_{n=1}^{\infty} A_n \in \mathcal{F}. Set Rn:=Ak=1nAk=k>nAkR_n := A \setminus \bigcup_{k=1}^{n} A_k = \bigcup_{k > n} A_k; by Proposition 3.2 we have RnFR_n \in \mathcal{F}, and R1R2R_1 \supset R_2 \supset \cdots. Moreover nRn=\bigcap_n R_n = \emptyset: if ωnRn\omega \in \bigcap_n R_n then for every nn there is a k>nk > n with ωAk\omega \in A_k, so ω\omega would belong to infinitely many AkA_k; but the (Ak)(A_k) are pairwise disjoint, so ω\omega lies in at most 11 of them — a contradiction.

Since A=(k=1nAk)RnA = \bigl(\bigcup_{k=1}^{n} A_k\bigr) \cup R_n is a disjoint union, finite additivity gives

P(A)=k=1nP(Ak)+P(Rn).P(A) = \sum_{k=1}^{n} P(A_k) + P(R_n).

By hypothesis P(Rn)0P(R_n) \to 0 as nn \to \infty, so the first term on the right converges as nn \to \infty and P(A)=k=1P(Ak)P(A) = \sum_{k=1}^{\infty} P(A_k). This is (P3).

Remark 4.4Why we demand countable additivity

Part (3) of Theorem 4.3 shows that countable additivity is equivalent to “finite additivity ++ continuity at the empty event”. In other words, imposing (P3) is exactly granting permission to interchange probability with limiting operations. It is thanks to this equivalence that the probability of an event involving a limit, such as limnSn/n=p\lim_{n} S_n/n = p, can be computed as a limit of quantities determined by finitely many observations. The proofs in The Law of Large Numbers and the Central Limit Theorem all rest on this.

“Finitely additive probabilities”, satisfying finite additivity only, do exist mathematically. For instance, on Ω=N\Omega = \mathbb{N} one can construct a finitely additive PP assigning 00 to every finite set and 11 to the whole space (using a non-principal ultrafilter). But such a PP does not satisfy (P3): the sets An:={n}A_n := \{n\} are pairwise disjoint with nAn=N\bigcup_n A_n = \mathbb{N}, yet nP(An)=01=P(N)\sum_n P(A_n) = 0 \ne 1 = P(\mathbb{N}). Over such a PP, AnAA_n \uparrow A does not imply P(An)P(A)P(A_n) \to P(A), and no limit theorem can be stated at all.

Example 4.5Discrete probability spaces and a computation with two dice

When Ω\Omega is at most countable we may take F=2Ω\mathcal{F} = 2^{\Omega}. If p:Ω[0,1]p : \Omega \to [0,1] satisfies ωΩp(ω)=1\sum_{\omega \in \Omega} p(\omega) = 1, then

P(A):=ωAp(ω)(AΩ)P(A) := \sum_{\omega \in A} p(\omega) \qquad (A \subset \Omega)

is a probability measure. Indeed (P1) holds because it is a sum of nonnegative terms, (P2) follows from the hypothesis, and (P3) holds because, when the (An)(A_n) are pairwise disjoint, each ωnAn\omega \in \bigcup_n A_n lies in exactly 11 of the AnA_n, so the identity is the termwise summation of a nonnegative double series. In particular, when Ω\Omega is finite and p(ω)=1/Ωp(\omega) = 1/|\Omega| we get P(A)=A/ΩP(A) = |A|/|\Omega|, so Laplace’s classical probability is recovered as a special case.

Let us carry one concrete example through to the end. Model the experiment of rolling 22 dice by Ω={1,,6}2\Omega = \{1,\ldots,6\}^2 with Ω=36|\Omega| = 36 and the uniform distribution. Put A:={the sum is 7}A := \{\text{the sum is } 7\} and B:={at least one die shows 6}B := \{\text{at least one die shows } 6\}.

Since A={(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)}A = \{(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)\} we get P(A)=6/36=1/6P(A) = 6/36 = 1/6. The complement BcB^{c} consists of the outcomes in which neither die is 66, so Bc=52=25|B^{c}| = 5^2 = 25 and hence P(B)=125/36=11/36P(B) = 1 - 25/36 = 11/36 by Theorem 4.2 (3). Also AB={(1,6),(6,1)}A \cap B = \{(1,6),(6,1)\}, so P(AB)=2/36=1/18P(A \cap B) = 2/36 = 1/18. The addition formula Theorem 4.2 (6) gives

P(AB)=636+1136236=1536=512.P(A \cup B) = \frac{6}{36} + \frac{11}{36} - \frac{2}{36} = \frac{15}{36} = \frac{5}{12}.

Checking directly by counting: ABA \cup B consists of the 66 elements of AA together with the 99 elements of BB that are not in AA, making 1515 in all — indeed 15/3615/36.

Remark 4.6Probability 0 does not mean impossible

It is perfectly possible to have P(A)=0P(A) = 0 with AA \neq \emptyset. Take Ω=[0,1]\Omega = [0,1], F=B([0,1])\mathcal{F} = \mathcal{B}([0,1]), and let PP be the restriction of Lebesgue measure (the uniform distribution on [0,1][0,1]). Then P({x})=0P(\{x\}) = 0 for every x[0,1]x \in [0,1]. That nevertheless P([0,1])=1P([0,1]) = 1 is no contradiction with (P3): since [0,1][0,1] is uncountable, it cannot be written as a countable union of singletons, so (P3) simply does not apply. This is where the restriction to countably many sets does its work.

An event with P(A)=1P(A) = 1 is said to occur almost surely (a.s.). Holding with probability 11 and holding for every ω\omega are different things. This distinction becomes essential from Random Variables and Expectation onwards. Almost sure convergence (Definition 3.1[The Law of Large Numbers and the Central Limit Theorem]), for example, is built precisely on this phrase “with probability 11”.

5. Conditional probability and Bayes’ theorem

Section titled “5. Conditional probability and Bayes’ theorem”

Probabilities change when information arrives. If we are told “the die shows at least 33” and then ask for the probability that it is even, the answer is not 1/21/2 but 2/4=1/22/4 = 1/2 — in this example the two happen to agree, but in general they do not. Let us define this “probability after being informed”.

The shape of the definition becomes visible in the language of frequencies. Repeat the experiment NN times, let NBN_B be the number of times BB occurred and NABN_{A \cap B} the number of times both AA and BB occurred. Then “the proportion of the BB-trials in which AA also occurred” should behave as

NABNB=NAB/NNB/NP(AB)P(B).\frac{N_{A \cap B}}{N_B} = \frac{N_{A \cap B}/N}{N_B/N} \longrightarrow \frac{P(A \cap B)}{P(B)} .

Accordingly we make the following definition.

Definition 5.1Conditional probability

Let (Ω,F,P)(\Omega, \mathcal{F}, P) be a probability space and let BFB \in \mathcal{F} be an event with P(B)>0P(B) > 0. For AFA \in \mathcal{F} the quantity

P(AB):=P(AB)P(B)P(A \mid B) := \frac{P(A \cap B)}{P(B)}

is called the conditional probability of AA given that BB has occurred.

This definition is unusable when P(B)=0P(B) = 0. For continuous distributions, conditioning on "X=xX = x" is exactly this situation, and handling it requires a different framework. The definition of Conditional Expectation via σ\sigma-algebras (Definition 3.1[条件付き期待値]) is that generalization.

Proposition 5.2Conditional probability is a probability measure

Let (Ω,F,P)(\Omega, \mathcal{F}, P) be a probability space and let BFB \in \mathcal{F} with P(B)>0P(B) > 0. Define PB:FRP_B : \mathcal{F} \to \mathbb{R} by PB(A):=P(AB)P_B(A) := P(A \mid B). Then PBP_B is a probability measure on (Ω,F)(\Omega, \mathcal{F}). Moreover PB(B)=1P_B(B) = 1, and PB(A)=0P_B(A) = 0 whenever AB=A \cap B = \emptyset.

Proof(Proposition 5.2)

(P1) For AFA \in \mathcal{F} we have ABFA \cap B \in \mathcal{F} (Proposition 3.2 (3)) with P(AB)0P(A \cap B) \ge 0 (by (P1)) and P(B)>0P(B) > 0, so PB(A)0P_B(A) \ge 0.

(P2) Since ΩB=B\Omega \cap B = B, we get PB(Ω)=P(B)/P(B)=1P_B(\Omega) = P(B)/P(B) = 1.

(P3) Let (An)n1F(A_n)_{n \ge 1} \subset \mathcal{F} be pairwise disjoint. Then (AnB)(A_n \cap B) is pairwise disjoint as well (since (AiB)(AjB)AiAj=(A_i \cap B) \cap (A_j \cap B) \subset A_i \cap A_j = \emptyset), and by distributivity (nAn)B=n(AnB)\bigl(\bigcup_n A_n\bigr) \cap B = \bigcup_n (A_n \cap B). Using (P3) for PP,

PB(nAn)=1P(B)P(n(AnB))=1P(B)n=1P(AnB)=n=1PB(An).P_B\Bigl(\bigcup_{n} A_n\Bigr) = \frac{1}{P(B)} P\Bigl(\bigcup_{n} (A_n \cap B)\Bigr) = \frac{1}{P(B)}\sum_{n=1}^{\infty} P(A_n \cap B) = \sum_{n=1}^{\infty} P_B(A_n).

In the third equality we used that a convergent series may be multiplied by the constant 1/P(B)1/P(B).

The last 22 claims: PB(B)=P(BB)/P(B)=1P_B(B) = P(B \cap B)/P(B) = 1, and if AB=A \cap B = \emptyset then PB(A)=P()/P(B)=0P_B(A) = P(\emptyset)/P(B) = 0 (Theorem 4.2 (1)).

This proposition matters more than it looks. Everything proved in Theorem 4.2 and Theorem 4.3 holds for any probability measure, hence automatically for PBP_B. For instance P(AcB)=1P(AB)P(A^{c} \mid B) = 1 - P(A \mid B) and P(A1A2B)=P(A1B)+P(A2B)P(A1A2B)P(A_1 \cup A_2 \mid B) = P(A_1\mid B) + P(A_2 \mid B) - P(A_1 \cap A_2 \mid B) need no separate proof.

Theorem 5.3Multiplication rule, law of total probability, and Bayes' theorem

Let (Ω,F,P)(\Omega, \mathcal{F}, P) be a probability space.

  1. (Multiplication rule) If A1,,AnFA_1, \ldots, A_n \in \mathcal{F} satisfy P(A1An1)>0P(A_1 \cap \cdots \cap A_{n-1}) > 0, then
P(A1An)=P(A1)P(A2A1)P(A3A1A2)P(AnA1An1).P(A_1 \cap \cdots \cap A_n) = P(A_1)\, P(A_2 \mid A_1)\, P(A_3 \mid A_1 \cap A_2) \cdots P(A_n \mid A_1 \cap \cdots \cap A_{n-1}).
  1. (Law of total probability) Let II be an at most countable index set and let (Bi)iIF(B_i)_{i \in I} \subset \mathcal{F} be pairwise disjoint with iIBi=Ω\bigcup_{i \in I} B_i = \Omega and P(Bi)>0P(B_i) > 0 for every ii. Then for every AFA \in \mathcal{F},
P(A)=iIP(ABi)P(Bi).P(A) = \sum_{i \in I} P(A \mid B_i)\, P(B_i).
  1. (Bayes’ theorem) Under the same hypotheses as (2), if moreover P(A)>0P(A) > 0, then for each jIj \in I,
P(BjA)=P(ABj)P(Bj)iIP(ABi)P(Bi).P(B_j \mid A) = \frac{P(A \mid B_j)\, P(B_j)}{\sum_{i \in I} P(A \mid B_i)\, P(B_i)}.
Proof(Theorem 5.3)

(1) First we check that each conditional probability on the right is defined. For kn1k \le n-1 we have A1AkA1An1A_1 \cap \cdots \cap A_k \supset A_1 \cap \cdots \cap A_{n-1}, so monotonicity Theorem 4.2 (4) gives P(A1Ak)P(A1An1)>0P(A_1 \cap \cdots \cap A_k) \ge P(A_1 \cap \cdots \cap A_{n-1}) > 0, and Definition 5.1 applies. Writing Dk:=A1AkD_k := A_1 \cap \cdots \cap A_k, the definition gives P(Ak+1Dk)=P(Dk+1)/P(Dk)P(A_{k+1} \mid D_k) = P(D_{k+1})/P(D_k). Therefore the right-hand side telescopes:

P(D1)P(D2)P(D1)P(D3)P(D2)P(Dn)P(Dn1)=P(Dn),P(D_1) \cdot \frac{P(D_2)}{P(D_1)} \cdot \frac{P(D_3)}{P(D_2)} \cdots \frac{P(D_n)}{P(D_{n-1})} = P(D_n),

which is the left-hand side.

(2) Since (Bi)(B_i) is a partition of Ω\Omega, distributivity gives

A=AΩ=AiIBi=iI(ABi),A = A \cap \Omega = A \cap \bigcup_{i \in I} B_i = \bigcup_{i \in I} (A \cap B_i),

and (ABi)iI(A \cap B_i)_{i \in I} is pairwise disjoint (for iji \ne j, (ABi)(ABj)BiBj=(A\cap B_i) \cap (A \cap B_j) \subset B_i \cap B_j = \emptyset). As II is at most countable, (P3) applies (or Theorem 4.2 (2) if II is finite), giving

P(A)=iIP(ABi)=iIP(ABi)P(Bi).P(A) = \sum_{i \in I} P(A \cap B_i) = \sum_{i \in I} P(A \mid B_i)\, P(B_i).

The last equality is Definition 5.1 in the form P(ABi)=P(ABi)P(Bi)P(A \cap B_i) = P(A \mid B_i) P(B_i) (this is where P(Bi)>0P(B_i) > 0 is used).

(3) Since P(A)>0P(A) > 0, the quantity P(BjA)P(B_j \mid A) is defined, and by the definition

P(BjA)=P(ABj)P(A)=P(ABj)P(Bj)P(A).P(B_j \mid A) = \frac{P(A \cap B_j)}{P(A)} = \frac{P(A \mid B_j) P(B_j)}{P(A)}.

Substituting (2) into the denominator gives the claim.

ΩB₁B₂B₃B₄AA = (A ∩ B₁) ∪ (A ∩ B₂) ∪ (A ∩ B₃) ∪ (A ∩ B₄), pairwise disjoint
The law of total probability: slicing the event A along the partition B₁, …, B₄

Example 5.4What does a positive test result mean?

Consider a disease with prevalence 0.1%0.1\% and a test with sensitivity 99%99\% (the probability that a diseased person tests positive) and specificity 95%95\% (the probability that a healthy person tests negative). Given that a randomly chosen person tests positive, what is the probability that the person really has the disease?

Let DD be the event “has the disease” and TT the event “the test is positive”. The hypotheses read

P(D)=0.001,P(TD)=0.99,P(TDc)=10.95=0.05.P(D) = 0.001, \quad P(T \mid D) = 0.99, \quad P(T \mid D^{c}) = 1 - 0.95 = 0.05.

The family {D,Dc}\{D, D^{c}\} is a partition of Ω\Omega with P(D)>0P(D) > 0 and P(Dc)=0.999>0P(D^{c}) = 0.999 > 0. By the law of total probability Theorem 5.3 (2),

P(T)=0.99×0.001+0.05×0.999=0.00099+0.04995=0.05094.P(T) = 0.99 \times 0.001 + 0.05 \times 0.999 = 0.00099 + 0.04995 = 0.05094.

By Bayes’ theorem Theorem 5.3 (3),

P(DT)=0.000990.05094=0.019431.9%.P(D \mid T) = \frac{0.00099}{0.05094} = 0.01943\ldots \approx 1.9\%.

Despite a positive result on a test with 99%99\% sensitivity, the probability of actually having the disease is only about 2%2\%. The reason is visible in the breakdown of the denominator: of the total positive mass 0.050940.05094, the true positives contribute 0.000990.00099 and the false positives 0.049950.04995, so false positives outnumber true positives by a factor of 5050. The 5%5\% of the healthy people, who make up 99.9%99.9\% of the population, overwhelm the entire diseased group, which is only 0.1%0.1\% of it. The error of looking only at the likelihood while ignoring the prior is called base rate neglect.

Writing this in terms of odds makes the structure even clearer: P(DT)P(DcT)=P(TD)P(TDc)P(D)P(Dc)\dfrac{P(D \mid T)}{P(D^{c} \mid T)} = \dfrac{P(T \mid D)}{P(T \mid D^{c})} \cdot \dfrac{P(D)}{P(D^{c})} (write Bayes’ theorem for DD and for DcD^{c} and take the ratio; the factor P(T)P(T) in the denominators cancels). Inserting the numbers,

posterior odds=0.990.05×0.0010.999=19.8×0.0010010=0.019820,\text{posterior odds} = \frac{0.99}{0.05} \times \frac{0.001}{0.999} = 19.8 \times 0.0010010\ldots = 0.019820\ldots,

and converting back to a probability, 0.019820/(1+0.019820)=0.019430.019820/(1 + 0.019820) = 0.01943\ldots, in agreement with the above. The information carried by the test is condensed into the single number 19.819.8 (the likelihood ratio), which updates the prior odds of 1:9991{:}999 multiplicatively.

6. Independence of events and the Borel–Cantelli lemma

Section titled “6. Independence of events and the Borel–Cantelli lemma”

If the conditional probability P(AB)P(A \mid B) equals P(A)P(A), then learning BB does not change our judgement about AA. This is independence. The definition, however, is written without division: this allows the case P(B)=0P(B) = 0 and makes the generalization to 33 or more events natural.

Definition 6.1Independence of events

Let (Ω,F,P)(\Omega, \mathcal{F}, P) be a probability space.

  1. Two events A,BFA, B \in \mathcal{F} are independent if P(AB)=P(A)P(B)P(A \cap B) = P(A) P(B).
  2. A family of events (Ai)iIF(A_i)_{i \in I} \subset \mathcal{F} is independent if for every nonempty finite subset JJ of II,
P(iJAi)=iJP(Ai).P\Bigl( \bigcap_{i \in J} A_i \Bigr) = \prod_{i \in J} P(A_i).
  1. A family (Ai)iI(A_i)_{i \in I} is pairwise independent if AiA_i and AjA_j are independent for all i,jIi, j \in I with iji \ne j.

When P(B)>0P(B) > 0, independence of AA and BB is equivalent to P(AB)=P(A)P(A \mid B) = P(A). Indeed P(AB)=P(AB)/P(B)P(A \mid B) = P(A \cap B)/P(B), so multiplying both sides by P(B)P(B) passes from either statement to the other.

Proposition 6.2Independence is preserved under complementation

Let (Ω,F,P)(\Omega,\mathcal{F},P) be a probability space and let A,BFA, B \in \mathcal{F} be independent. Then AA and BcB^{c}, AcA^{c} and BB, and AcA^{c} and BcB^{c} are all independent.

Proof(Proposition 6.2)

We have ABAA \cap B \subset A and ABc=A(AB)A \cap B^{c} = A \setminus (A \cap B). Applying Theorem 4.2 (4) to ABAA \cap B \subset A,

P(ABc)=P(A)P(AB).P(A \cap B^{c}) = P(A) - P(A \cap B).

Substituting the hypothesis P(AB)=P(A)P(B)P(A \cap B) = P(A)P(B) and using Theorem 4.2 (3),

P(ABc)=P(A)P(A)P(B)=P(A)(1P(B))=P(A)P(Bc).P(A \cap B^{c}) = P(A) - P(A)P(B) = P(A)\bigl(1 - P(B)\bigr) = P(A) P(B^{c}).

Hence AA and BcB^{c} are independent. Independence of AcA^{c} and BB follows by the same argument with the roles of AA and BB exchanged. For AcA^{c} and BcB^{c}, apply the operation once more to the pair ”AA and BcB^{c}” just obtained, holding BcB^{c} fixed and complementing on the AA side.

Example 6.3Pairwise independent but not independent (Bernstein)

Let Ω={1,2,3,4}\Omega = \{1,2,3,4\}, F=2Ω\mathcal{F} = 2^{\Omega}, and let PP be the uniform distribution (mass 1/41/4 at each point). Put

A:={1,2},B:={1,3},C:={1,4}.A := \{1,2\}, \qquad B := \{1,3\}, \qquad C := \{1,4\}.

Then P(A)=P(B)=P(C)=2/4=1/2P(A) = P(B) = P(C) = 2/4 = 1/2. Every pairwise intersection equals {1}\{1\}, so

P(AB)=P(BC)=P(AC)=14=1212,P(A \cap B) = P(B \cap C) = P(A \cap C) = \frac{1}{4} = \frac{1}{2} \cdot \frac{1}{2},

that is, A,B,CA, B, C are pairwise independent. However ABC={1}A \cap B \cap C = \{1\}, so

P(ABC)=1418=P(A)P(B)P(C).P(A \cap B \cap C) = \frac{1}{4} \neq \frac{1}{8} = P(A)P(B)P(C).

Hence the family {A,B,C}\{A, B, C\} is not independent in the sense of Definition 6.1 (2). Intuitively, once we know that both AA and BB have occurred, the outcome is pinned to 11 and CC occurs automatically. Events can be unrelated one at a time and yet, taken two at a time, completely determine a third.

Remark 6.4An example in the opposite direction

There are also examples where the triple product identity holds but pairwise independence fails. Let Ω={1,,8}\Omega = \{1,\ldots,8\} carry the uniform distribution and put A={1,2,3,4}A = \{1,2,3,4\}, B={1,2,3,5}B = \{1,2,3,5\}, C={1,6,7,8}C = \{1,6,7,8\}. Then P(A)=P(B)=P(C)=1/2P(A) = P(B) = P(C) = 1/2, and since ABC={1}A \cap B \cap C = \{1\} we get P(ABC)=1/8=P(A)P(B)P(C)P(A\cap B \cap C) = 1/8 = P(A)P(B)P(C). But AB={1,2,3}A \cap B = \{1,2,3\}, so P(AB)=3/81/4P(A \cap B) = 3/8 \ne 1/4 and AA and BB are not independent. Examples like this are why the definition of independence for 33 or more events demands the product identity for every finite subset.

Here is the first theorem in which countable additivity really earns its keep. It bounds the probability that infinitely many of an infinite sequence of events occur, using only the sum of their individual probabilities.

Lemma 6.5Borel–Cantelli lemma (first)

Let (Ω,F,P)(\Omega, \mathcal{F}, P) be a probability space and let (An)n1F(A_n)_{n \ge 1} \subset \mathcal{F}. If

n=1P(An)<\sum_{n=1}^{\infty} P(A_n) < \infty

then P(lim supnAn)=0P\bigl(\limsup_{n \to \infty} A_n\bigr) = 0; that is, with probability 11 only finitely many of the AnA_n occur. No independence is assumed.

Proof(Lemma 6.5)

Put Bn:=k=nAkB_n := \bigcup_{k=n}^{\infty} A_k. By Proposition 3.2 we have BnFB_n \in \mathcal{F}, and by definition L:=lim supmAm=n=1BnL := \limsup_m A_m = \bigcap_{n=1}^{\infty} B_n, which is again an event (part (5) of the same proposition).

For every nn we have LBnL \subset B_n, so monotonicity Theorem 4.2 (4) gives P(L)P(Bn)P(L) \le P(B_n). Applying countable subadditivity Theorem 4.2 (7) to Bn=knAkB_n = \bigcup_{k \ge n} A_k,

P(L)P(Bn)k=nP(Ak).P(L) \le P(B_n) \le \sum_{k=n}^{\infty} P(A_k).

The right-hand side is the nn-th tail of the convergent series kP(Ak)\sum_{k} P(A_k), so it tends to 00 as nn \to \infty because the series converges. The left-hand side P(L)P(L) is a constant independent of nn, so 0P(L)infnknP(Ak)=00 \le P(L) \le \inf_n \sum_{k \ge n} P(A_k) = 0, that is, P(L)=0P(L) = 0.

Alternatively, since (Bn)(B_n) is decreasing, one may use continuity from above Theorem 4.3 (2) to conclude P(L)=limnP(Bn)=0P(L) = \lim_n P(B_n) = 0.

Example 6.6Long runs of heads must eventually stop

In the fair-coin probability space (Ω,F,P)(\Omega, \mathcal{F}, P) of Example 3.6, put

An:={ω:ωn=ωn+1==ω2n1=1}A_n := \{\omega : \omega_n = \omega_{n+1} = \cdots = \omega_{2n-1} = 1\}

(heads nn times in a row starting at toss nn). The event AnA_n is a union of cylinder sets determined by the first 2n12n-1 coordinates: there are 2n12^{n-1} choices for the free coordinates ω1,,ωn1\omega_1,\ldots,\omega_{n-1}, and each cylinder set has probability 2(2n1)2^{-(2n-1)}, so finite additivity Theorem 4.2 (2) gives

P(An)=2n12(2n1)=2(n1)(2n1)=2n.P(A_n) = 2^{n-1} \cdot 2^{-(2n-1)} = 2^{(n-1)-(2n-1)} = 2^{-n}.

Hence n=1P(An)=n=12n=1<\sum_{n=1}^{\infty} P(A_n) = \sum_{n=1}^{\infty} 2^{-n} = 1 < \infty. By Lemma 6.5 we get P(lim supnAn)=0P(\limsup_n A_n) = 0: with probability 11, only finitely many nn have the property that nn consecutive heads begin at toss nn. In other words, beyond some NN this phenomenon never happens again.

Each individual AnA_n has positive probability (2n>02^{-n} > 0), and yet the probability that they occur infinitely often is 00. Finite additivity alone cannot reach a conclusion of this kind; we needed the subadditivity and monotonicity derived from (P3). The converse statement (the second lemma, which assumes independence and deduces P(lim supnAn)=1P(\limsup_n A_n) = 1 from nP(An)=\sum_n P(A_n) = \infty) is used in the proof of the strong law of large numbers (Theorem 4.5[The Law of Large Numbers and the Central Limit Theorem]); see The Law of Large Numbers and the Central Limit Theorem.

Exercise 7.1Easy

Let (Ω,F,P)(\Omega,\mathcal{F},P) be a probability space and A,B,CFA, B, C \in \mathcal{F}. Show that

P(ABC)=P(A)+P(B)+P(C)P(AB)P(BC)P(AC)+P(ABC).P(A \cup B \cup C) = P(A) + P(B) + P(C) - P(A\cap B) - P(B \cap C) - P(A \cap C) + P(A \cap B \cap C).
Solution

Apply the addition formula Theorem 4.2 (6) to ABA \cup B and CC:

P(ABC)=P(AB)+P(C)P((AB)C).P(A \cup B \cup C) = P(A \cup B) + P(C) - P\bigl((A\cup B) \cap C\bigr).

Using (6) once more on the first term gives P(AB)=P(A)+P(B)P(AB)P(A \cup B) = P(A) + P(B) - P(A \cap B). For the third term, distributivity gives (AB)C=(AC)(BC)(A \cup B) \cap C = (A \cap C) \cup (B \cap C), and (6) again yields

P((AB)C)=P(AC)+P(BC)P((AC)(BC)),P\bigl((A\cup B)\cap C\bigr) = P(A \cap C) + P(B \cap C) - P\bigl((A \cap C) \cap (B \cap C)\bigr),

where (AC)(BC)=ABC(A\cap C)\cap(B\cap C) = A \cap B \cap C. Substituting everything,

P(ABC)=(P(A)+P(B)P(AB))+P(C)P(AC)P(BC)+P(ABC),P(A\cup B \cup C) = \bigl(P(A)+P(B)-P(A\cap B)\bigr) + P(C) - P(A\cap C) - P(B\cap C) + P(A\cap B\cap C),

which is the desired identity. That the sets appearing along the way, such as ABA \cup B and (AB)C(A\cup B)\cap C, all belong to F\mathcal{F} follows from Proposition 3.2 (2) and (3).

Exercise 7.2Standard

Behind one of 33 doors there is a prize, and the other 22 are empty; the position of the prize is uniformly distributed over the 33 doors. After the contestant picks door 11, the host — who knows where the prize is — opens one door that the contestant did not pick and that does not hide the prize (when there are 22 such doors, that is, when the prize is behind door 11, the host chooses between them with equal probability). Given that the host opened door 33, find the conditional probability that the prize is behind door 22. State the probability space explicitly.

Solution

Let C{1,2,3}C \in \{1,2,3\} be the door with the prize and H{2,3}H \in \{2,3\} the door the host opens, and set Ω:={(c,h):c{1,2,3},h{2,3},hc}\Omega := \{(c,h) : c \in \{1,2,3\},\, h \in \{2,3\},\, h \ne c\}, F:=2Ω\mathcal{F} := 2^{\Omega}. The hypotheses are

P(C=c)=13 (c=1,2,3),P(H=3C=1)=12,P(H=3C=2)=1,P(H=3C=3)=0P(C = c) = \tfrac13 \ (c=1,2,3), \quad P(H = 3 \mid C = 1) = \tfrac12, \quad P(H=3 \mid C = 2) = 1, \quad P(H = 3 \mid C = 3) = 0

(if C=2C=2 the host cannot open door 22, and door 11 was chosen by the contestant, so only door 33 remains; if C=3C=3 the host cannot open door 33). By the multiplication rule Theorem 5.3 (1) the probability of each point is determined:

P(C=1,H=3)=1312=16,P(C=2,H=3)=131=13,P(C=3,H=3)=0.P(C=1, H=3) = \tfrac13 \cdot \tfrac12 = \tfrac16, \quad P(C=2,H=3) = \tfrac13 \cdot 1 = \tfrac13, \quad P(C=3,H=3) = 0.

The events {C=1},{C=2},{C=3}\{C=1\},\{C=2\},\{C=3\} partition Ω\Omega and each has positive probability, so the law of total probability Theorem 5.3 (2) applies:

P(H=3)=16+13+0=12.P(H = 3) = \tfrac16 + \tfrac13 + 0 = \tfrac12 .

Since P(H=3)>0P(H=3) > 0, Bayes’ theorem Theorem 5.3 (3) is applicable and

P(C=2H=3)=P(C=2,H=3)P(H=3)=1/31/2=23,P(C=1H=3)=1/61/2=13.P(C = 2 \mid H = 3) = \frac{P(C=2, H=3)}{P(H=3)} = \frac{1/3}{1/2} = \frac{2}{3}, \qquad P(C = 1 \mid H = 3) = \frac{1/6}{1/2} = \frac{1}{3}.

Switching doors wins with probability 2/32/3. The key is that P(H=3C=1)=1/2P(H=3\mid C=1) = 1/2 differs from P(H=3C=2)=1P(H=3 \mid C=2) = 1; that is, the host’s behaviour carries information about the location of the prize. If instead the host did not know where the prize was and chose between doors 22 and 33 with equal probability, happening to reveal an empty door, then P(H=3C=1)=P(H=3C=2)=1/2P(H=3\mid C=1) = P(H=3\mid C=2) = 1/2 and the same computation gives the answer 1/21/2.

Exercise 7.3Standard

Let (Ω,F,P)(\Omega,\mathcal{F},P) be a probability space and let A,B,CFA, B, C \in \mathcal{F} be independent in the sense of Definition 6.1 (2). Show that AA and BCB \cup C are independent.

Solution

By distributivity, A(BC)=(AB)(AC)A \cap (B \cup C) = (A \cap B) \cup (A \cap C). Applying the addition formula Theorem 4.2 (6) to the right-hand side and noting that (AB)(AC)=ABC(A\cap B) \cap (A \cap C) = A \cap B \cap C,

P(A(BC))=P(AB)+P(AC)P(ABC).P\bigl(A \cap (B\cup C)\bigr) = P(A\cap B) + P(A \cap C) - P(A \cap B \cap C).

Using the independence of the family {A,B,C}\{A,B,C\} for the subsets {A,B}\{A,B\}, {A,C}\{A,C\} and {A,B,C}\{A,B,C\}, this equals

=P(A)P(B)+P(A)P(C)P(A)P(B)P(C)=P(A)(P(B)+P(C)P(B)P(C)).= P(A)P(B) + P(A)P(C) - P(A)P(B)P(C) = P(A)\bigl(P(B) + P(C) - P(B)P(C)\bigr).

Independence for {B,C}\{B,C\} gives P(B)P(C)=P(BC)P(B)P(C) = P(B\cap C), so by the addition formula the bracket equals P(B)+P(C)P(BC)=P(BC)P(B) + P(C) - P(B\cap C) = P(B \cup C). Therefore

P(A(BC))=P(A)P(BC),P\bigl(A \cap (B \cup C)\bigr) = P(A)\, P(B\cup C),

that is, AA and BCB \cup C are independent. To see where pairwise independence would not suffice, note that we used P(ABC)=P(A)P(B)P(C)P(A\cap B\cap C) = P(A)P(B)P(C). Checking with the A,B,CA,B,C of Example 6.3: there BC={1,3,4}B \cup C = \{1,3,4\} with P(BC)=3/4P(B\cup C) = 3/4, while A(BC)={1}A \cap (B\cup C) = \{1\} has probability 1/4(1/2)(3/4)=3/81/4 \ne (1/2)(3/4) = 3/8, so pairwise independence alone does not give the conclusion.

Exercise 7.4Hard

Let (Ω,F,P)(\Omega,\mathcal{F},P) be a probability space and (An)n1F(A_n)_{n\ge1} \subset \mathcal{F}. Show that

P(lim infnAn)lim infnP(An)lim supnP(An)P(lim supnAn).P\Bigl(\liminf_{n\to\infty} A_n\Bigr) \le \liminf_{n \to \infty} P(A_n) \le \limsup_{n\to\infty} P(A_n) \le P\Bigl(\limsup_{n\to\infty} A_n\Bigr).
Solution

Put Cn:=k=nAkC_n := \bigcap_{k=n}^{\infty} A_k and Bn:=k=nAkB_n := \bigcup_{k=n}^{\infty} A_k. By Proposition 3.2 we have Bn,CnFB_n, C_n \in \mathcal{F}, with C1C2C_1 \subset C_2 \subset \cdots and B1B2B_1 \supset B_2 \supset \cdots, and lim infnAn=nCn\liminf_n A_n = \bigcup_n C_n, lim supnAn=nBn\limsup_n A_n = \bigcap_n B_n.

The left inequality. Continuity from below Theorem 4.3 (1) gives P(lim infnAn)=limnP(Cn)P(\liminf_n A_n) = \lim_{n} P(C_n). On the other hand CnAnC_n \subset A_n, so monotonicity Theorem 4.2 (4) gives P(Cn)P(An)P(C_n) \le P(A_n). Since the limit inferior of a sequence preserves termwise inequalities,

P(lim infnAn)=limnP(Cn)=lim infnP(Cn)lim infnP(An).P\Bigl(\liminf_n A_n\Bigr) = \lim_n P(C_n) = \liminf_n P(C_n) \le \liminf_n P(A_n).

(The limit limnP(Cn)\lim_n P(C_n) exists, so it coincides with the limit inferior.)

The middle inequality. For any real sequence, lim inflim sup\liminf \le \limsup (let nn \to \infty on both sides of infknxksupknxk\inf_{k\ge n} x_k \le \sup_{k \ge n} x_k).

The right inequality. Continuity from above Theorem 4.3 (2) gives P(lim supnAn)=limnP(Bn)P(\limsup_n A_n) = \lim_n P(B_n). Since AnBnA_n \subset B_n, monotonicity gives P(An)P(Bn)P(A_n) \le P(B_n), hence

lim supnP(An)lim supnP(Bn)=limnP(Bn)=P(lim supnAn).\limsup_n P(A_n) \le \limsup_n P(B_n) = \lim_n P(B_n) = P\Bigl(\limsup_n A_n\Bigr).

In particular, when limnAn\lim_n A_n exists (that is, when lim infnAn=lim supnAn\liminf_n A_n = \limsup_n A_n), all 44 quantities agree and we obtain P(limnAn)=limnP(An)P(\lim_n A_n) = \lim_n P(A_n). This is the set-theoretic version of Fatou’s lemma for measures, the prototype of the version for functions (Lemma 6.1[ルベーグ積分の定義と収束定理]) treated in The Lebesgue Integral and the Convergence Theorems.

  • A. N. Kolmogorov, Grundbegriffe der Wahrscheinlichkeitsrechnung, Springer, 1933 (English translation: Foundations of the Theory of Probability, Chelsea, 1950) — Chapter I. This is the source of the axiom system used in this article.
  • Kiyosi Itô, Kakuritsuron (Probability Theory), Iwanami Shoten (Iwanami Kiso Sūgaku Sensho), 1991 — Chapter 1 (in Japanese). The standard Japanese reference on measure-theoretic probability.
  • Naohisa Funaki, Kakuritsuron (Probability Theory), Asakura Shoten (Kōza Sūgaku no Kangaekata 20), 2004 — Chapters 1 and 2 (in Japanese). Careful treatment of the construction of probability spaces and of the extension theorem.
  • P. Billingsley, Probability and Measure, 3rd ed., Wiley, 1995 — Chapters 1–4. Detailed treatment of the Borel–Cantelli lemma and of independence.
  • R. Durrett, Probability: Theory and Examples, 5th ed., Cambridge University Press, 2019 — Chapter 1.
  • D. Williams, Probability with Martingales, Cambridge University Press, 1991 — Chapters 1–4. A lucid presentation of the reading of σ\sigma-algebras as information.

Appendix: Non-measurable sets — why the family of events must be restricted

Section titled “Appendix: Non-measurable sets — why the family of events must be restricted”

The problem. As we saw in Example 3.3 (b), the collection 2Ω2^{\Omega} of all subsets of Ω\Omega is always a σ\sigma-algebra. Why, then, should we go to the trouble of choosing a smaller F\mathcal{F}? Because on 2Ω2^{\Omega} there may be no probability measure with the properties we want. The following fact, proved by Vitali in 19051905, is the typical case.

Claim. There is no probability measure PP defined on all of 2Ω2^{\Omega} for Ω:=[0,1)\Omega := [0,1) that is translation invariant, that is, satisfies P(At)=P(A)P(A \oplus t) = P(A) for every A[0,1)A \subset [0,1) and every t[0,1)t \in [0,1). Here At:={(a+t)mod1:aA}A \oplus t := \{(a + t) \bmod 1 : a \in A\}.

Construction. Introduce on [0,1)[0,1) the equivalence relation xy:    xyQx \sim y :\iff x - y \in \mathbb{Q}. Reflexivity, symmetry and transitivity follow from the fact that the rationals form an additive group. By the axiom of choice there is a set V[0,1)V \subset [0,1) containing exactly 11 point from each equivalence class. Since Q[0,1)\mathbb{Q} \cap [0,1) is countably infinite, enumerate it as {q1,q2,q3,}\{q_1, q_2, q_3, \ldots\} and put Vn:=VqnV_n := V \oplus q_n.

This sequence is a countable partition of [0,1)[0,1). First, disjointness. If xVnVmx \in V_n \cap V_m then x=(v+qn)mod1=(v+qm)mod1x = (v + q_n) \bmod 1 = (v' + q_m) \bmod 1 for some v,vVv, v' \in V. Then vvQv - v' \in \mathbb{Q}, so vvv \sim v', and since VV contains only 11 point from each class, v=vv = v'; hence qn=qmq_n = q_m, that is, n=mn = m. Second, covering. Take any x[0,1)x \in [0,1) and let vVv \in V be the representative of the class of xx. Then xvQx - v \in \mathbb{Q}, and (xv)mod1(x - v) \bmod 1 is an element of Q[0,1)\mathbb{Q}\cap[0,1), hence equal to some qnq_n. Therefore x=(v+qn)mod1Vnx = (v + q_n) \bmod 1 \in V_n.

The contradiction. Suppose such a PP existed. By translation invariance, P(Vn)=P(V)=:cP(V_n) = P(V) =: c for every nn. The (Vn)(V_n) are pairwise disjoint with union [0,1)[0,1), so (P3) and (P2) give

1=P([0,1))=n=1P(Vn)=n=1c.1 = P([0,1)) = \sum_{n=1}^{\infty} P(V_n) = \sum_{n=1}^{\infty} c .

If c=0c = 0 the right-hand side is 00, and if c>0c > 0 it diverges to ++\infty. Neither equals 11: a contradiction.

Conclusion and a caveat. Hence one cannot consistently assign translation-invariant probabilities to all subsets of [0,1)[0,1). If we want to retain the notion of length, we have no choice but to restrict the objects receiving a probability to something like the Borel sets (or the Lebesgue measurable sets), and this is the reason for introducing σ\sigma-algebras. For the detailed construction, in particular the definition of measurable sets via Carathéodory’s criterion (Definition 4.1[可測集合とルベーグ測度]), see Measurable Sets and Lebesgue Measure.

Note that this argument uses the axiom of choice in an essential way. In 19701970 Solovay showed that (assuming the existence of an inaccessible cardinal) there are models of set theory, with choice weakened to dependent choice, in which every subset of R\mathbb{R} is Lebesgue measurable. Non-measurable sets are objects produced by the axiom of choice; they cannot be written down explicitly. Since ordinary mathematics nevertheless adopts the axiom of choice, σ\sigma-algebras remain a necessary tool.

Report an error in this article ・Operated by: Mugen Giken LLCPricingTermsLegal notice

© 2026 夢現技研合同会社 ・Feeding the text to an LLM is welcome. Code samples are MIT licensed.