Skip to content

Probability Spaces

Tier: F (Foundation), with the U-level question of why the definition has this shape. Everything in probability; random variables, expectation, convergence, martingales, the central limit theorem; is a sentence about a probability space.

Attempt these from memory before reading.

  • Write down the definition of a probability space. How many objects are in it?
  • State the three axioms of a sigma-algebra. Why countable unions rather than arbitrary unions?
  • State the three axioms of a probability measure.
  • State Bayes’ theorem.
  • Give three events that are pairwise independent but not mutually independent.

Check your answers against the text. The sigma-algebra axioms are the part most people can recite but cannot motivate.

Motivation: why is F\mathcal{F} not just the power set?

Section titled “Motivation: why is F\mathcal{F}F not just the power set?”

The naive definition of a probability space is “a sample space Ω\Omega and a probability for every subset”. That is exactly what finite combinatorics does, and it works there. The reason measure theory insists on a sigma-algebra is that for uncountable Ω\Omega it is impossible.

The Vitali counterexample (A). On Ω=[0,1]\Omega = [0,1] with the uniform distribution, define x∼yx \sim y if x−y∈Qx - y \in \mathbb{Q}. This partitions [0,1][0,1] into equivalence classes, each countable. Choosing one representative from each class gives a set VV; the Vitali set; with the property that the translates V+qV + q, q∈Q∩[−1,1]q \in \mathbb{Q} \cap [-1,1], are pairwise disjoint and cover [0,1][0,1].

If VV were measurable, countable additivity would force the contradictory conclusion that its measure is both 00 and positive. So no probability can be assigned to every subset, and the sigma-algebra is the honest statement of which subsets we can measure.

The second reason is forward-looking rather than defensive: countable additivity is what makes limits of events meaningful. It is exactly the hypothesis needed for Borel–Cantelli, the strong law of large numbers, and every “almost surely” statement in the subject. Finite additivity cannot prove any of them.

So the definition is not pedantry. It is the smallest structure that is (a) rich enough to contain the events you care about and (b) small enough to avoid the Vitali obstruction; and it is closed under exactly the operations limits need.

Definition (F). A probability space is a triple (Ω,F,P)(\Omega, \mathcal{F}, P) where:

  • Ω\Omega is the sample space; the set of all possible outcomes.
  • F\mathcal{F} is a sigma-algebra on Ω\Omega.
  • P:F→[0,1]P : \mathcal{F} \to [0,1] is a probability measure.

Definition. A sigma-algebra F\mathcal{F} on Ω\Omega is a collection of subsets satisfying:

  1. Ω∈F\Omega \in \mathcal{F}.
  2. If A∈FA \in \mathcal{F} then Ac∈FA^c \in \mathcal{F}.
  3. If A1,A2,…∈FA_1, A_2, \ldots \in \mathcal{F} then ⋃i=1∞Ai∈F\bigcup_{i=1}^{\infty} A_i \in \mathcal{F}.

Axiom 1 plus 2 give ∅∈F\emptyset \in \mathcal{F} by De Morgan; 2 plus 3 give closure under countable intersections by De Morgan. The axioms are the minimum needed to state limits of events.

Definition. A probability measure PP satisfies:

  1. P(A)≥0P(A) \ge 0 for all A∈FA \in \mathcal{F}.
  2. P(Ω)=1P(\Omega) = 1.
  3. If A1,A2,…A_1, A_2, \ldots are pairwise disjoint then P(⋃iAi)=∑i=1∞P(Ai)P\left(\bigcup_i A_i\right) = \sum_{i=1}^{\infty} P(A_i).

Why countable additivity and not finite additivity. Finite additivity cannot distinguish “the limit of the probabilities” from “the probability of the limit”. Countable additivity is what lets you write P(lim sup⁡An)P(\limsup A_n), and without that there is no strong law, no Borel–Cantelli, and no almost-sure convergence.

Proposition 1.1. For any probability space:

  1. P(∅)=0P(\emptyset) = 0
  2. P(Ac)=1−P(A)P(A^c) = 1 - P(A)
  3. A⊆B  ⟹  P(A)≤P(B)A \subseteq B \implies P(A) \le P(B)
  4. P(A∪B)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B) - P(A \cap B)
  5. Boole: P(⋃i=1nAi)≤∑i=1nP(Ai)P\left(\bigcup_{i=1}^{n} A_i\right) \le \sum_{i=1}^{n} P(A_i)
  6. Bonferroni: P(⋂i=1nAi)≥1−∑i=1n(1−P(Ai))P\left(\bigcap_{i=1}^{n} A_i\right) \ge 1 - \sum_{i=1}^{n} (1 - P(A_i))

Proof of (1). Apply countable additivity to Ω=Ω∪∅∪∅∪⋯\Omega = \Omega \cup \emptyset \cup \emptyset \cup \cdots: 1=1+P(∅)+P(∅)+⋯1 = 1 + P(\emptyset) + P(\emptyset) + \cdots, so P(∅)=0P(\emptyset) = 0. ■\blacksquare

Proof of (3). B=A∪(B∖A)B = A \cup (B \setminus A) is disjoint, so P(B)=P(A)+P(B∖A)≥P(A)P(B) = P(A) + P(B \setminus A) \ge P(A). ■\blacksquare

Proof of (4). P(A∪B)=P(A)+P(B∖A)=P(A)+P(B)−P(A∩B)P(A \cup B) = P(A) + P(B \setminus A) = P(A) + P(B) - P(A \cap B). ■\blacksquare

Boole and Bonferroni are the workhorses of probability bounds. Boole extends to countable unions by taking limits, which is the first half of Borel–Cantelli.

Definition. For P(B)>0P(B) > 0, the conditional probability of AA given BB is

P(A∣B)=P(A∩B)P(B).P(A \mid B) = \frac{P(A \cap B)}{P(B)}.

Theorem 1.2 (Law of Total Probability). If B1,…,BnB_1, \dots, B_n partition Ω\Omega with P(Bi)>0P(B_i) > 0 then P(A)=∑iP(A∣Bi)P(Bi)P(A) = \sum_i P(A \mid B_i) P(B_i).

Theorem 1.3 (Bayes’ Theorem). Under the same conditions,

P(Bj∣A)=P(A∣Bj) P(Bj)∑i=1nP(A∣Bi) P(Bi).P(B_j \mid A) = \frac{P(A \mid B_j)\, P(B_j)}{\sum_{i=1}^{n} P(A \mid B_i)\, P(B_i)}.

The reading that makes Bayes non-trivial. P(A∣Bj)P(A \mid B_j) is the forward direction; how often you would see this evidence if the hypothesis were true. P(Bj∣A)P(B_j \mid A) is the backward direction; how likely the hypothesis is given the evidence. The theorem tells you the backward from the forward plus a base rate, and the base rate is the term people forget. That omission is the base rate fallacy, and it is why a highly accurate test for a rare disease can still give mostly false positives.

Worked example (base rates). A test detects a disease with sensitivity 99% and false-positive rate 1%. The disease affects 1 in 10,000. Given a positive test, the probability of disease is

0.99×0.00010.99×0.0001+0.01×0.9999≈0.0098.\frac{0.99 \times 0.0001}{0.99 \times 0.0001 + 0.01 \times 0.9999} \approx 0.0098.

Under 1%. The intuition fails because the false positives outnumber the true positives by roughly 100 to 1.

Definition. AA and BB are independent if P(A∩B)=P(A)P(B)P(A \cap B) = P(A)P(B).

Definition. A1,…,AnA_1, \dots, A_n are mutually independent if for every J⊆{1,…,n}J \subseteq \{1, \dots, n\}, P(⋂j∈JAj)=∏j∈JP(Aj)P\left(\bigcap_{j \in J} A_j\right) = \prod_{j \in J} P(A_j).

Worked example: pairwise versus mutual independence

Section titled “Worked example: pairwise versus mutual independence”

The classic counterexample, and the reason the definition of mutual independence requires every subset rather than just pairs.

Roll two fair dice. Let

  • AA = “first die is even”
  • BB = “second die is even”
  • CC = “sum is even”

Each has probability 12\tfrac12, and P(A∩B)=14=P(A)P(B)P(A \cap B) = \tfrac14 = P(A)P(B), and similarly for the other pairs. So the events are pairwise independent.

But A∩B∩CA \cap B \cap C = “both dice even and the sum even”. Both even forces the sum even, so P(A∩B∩C)=14≠18=P(A)P(B)P(C)P(A \cap B \cap C) = \tfrac14 \ne \tfrac18 = P(A)P(B)P(C). Not mutually independent.

Why this matters beyond the puzzle. In the central limit theorem, in the law of large numbers, and everywhere in statistics, “independent” means mutually independent. Substituting pairwise independence silently breaks the proof; and there are genuine results (e.g. in number theory and ergodic theory) where pairwise independence holds and the theorems genuinely fail.

ClaimTrue?Counterexample
Every subset of Ω\Omega is measurablenothe Vitali set on [0,1][0,1]
Pairwise independence implies mutualnothe two-dice example above
P(A∣B)=P(B∣A)P(A \mid B) = P(B \mid A)nodisease testing with low base rate
P(A∪B)=P(A)+P(B)P(A \cup B) = P(A) + P(B)nounless A∩B=∅A \cap B = \emptyset
Finite additivity implies countablenothe whole point of axiom 3
PitfallWhy it happensFix
Ignoring the base rateBayes is stated forwardsAlways write the denominator out
Assuming independence from “no obvious link”Independence is a measure-theoretic statement, not a causal oneIt must be verified from the joint distribution
Treating Ω\Omega as always finiteFinite combinatorics is the special caseUncountable Ω\Omega is where sigma-algebras earn their keep
Using pairwise independence in proofsThe definition needs all subsetsCheck every subset

Mix these with material from Measure Theory and Limit Theorems.

  1. Show that if F\mathcal{F} is a sigma-algebra then it is closed under countable intersections.
  2. Show that the collection of finite or cofinite subsets of N\mathbb{N} is an algebra but not a sigma-algebra.
  3. Show Boole’s inequality extends to countable unions, and deduce the first Borel–Cantelli lemma.
  4. A test has sensitivity ss and false-positive rate ff. For which disease prevalence pp does a positive result give at least a 50% chance of disease? Express the answer in terms of ss and ff.
  5. Construct three events that are pairwise independent but not mutually independent on a sample space of four equally likely outcomes. (Harder than the dice version, and instructive.)