Quant Sandbox
DerivativesPortfolio & RiskFixed IncomeCorporate FinanceProbability & MeasureStochastic ModelsMarket MicrostructureGuide
Guide
Derivatives pricing0 / 17
01Forwards, calls and puts02Combining positions03Arbitrage and the forward price04Put–call parity05The one-step binomial model06Risk-neutral probabilities07Multi-step trees and backward induction08American options and early exercise09Delta and hedging10Geometric Brownian motion11The Black–Scholes formula12The Greeks: gamma, vega, theta and rho13Options on dividend-paying stocks, indices, currencies and futures14Implied volatility and the volatility smile15Stochastic volatility and the Heston model16Static replication: Breeden–Litzenberger and Carr–Madan17Exotic options: barriers, Asians and digitals
Portfolio & risk0 / 12
01Returns and volatility02Diversification and correlation03The efficient frontier and the capital market line04Risk aversion and the optimal complete portfolio05CAPM, beta and the security market line06Performance measures: Sharpe, Treynor, Jensen and information ratio07Factor models and systematic risk08The Fama–French factor models09Value at Risk and expected shortfall10Systemic risk and contagion11Portfolio constraints and the no-short-sales frontier12Estimating expected returns and covariances
Fixed income0 / 10
01Bond prices and yields02Duration and convexity03Immunization and duration matching04Spot rates, forward rates and the yield curve05Non-parallel curve moves and key-rate durations06Bond futures and the cheapest-to-deliver07Interest rate swaps08Callable bonds and negative convexity09Credit risk: default probabilities and credit spreads10Real rates, inflation and inflation-linked bonds
Corporate finance0 / 10
01Interest, compounding and discounting02Annuities, perpetuities and loan amortization03Net present value and internal rate of return04Project risk: sensitivity, scenarios and Monte Carlo NPV05The weighted average cost of capital06Capital structure and the Modigliani–Miller theorems07Dividends, payout policy and the dividend discount model08Discounted cash flow valuation09Relative valuation with multiples10Real options: the value of flexibility
Probability and measure0 / 13
01Measuring the size of sets02σ-algebras and Borel sets03Lebesgue measure and null sets04Measurable functions05The Lebesgue integral06Convergence theorems07Probability spaces and Kolmogorov's axioms08Random variables and their distributions09Expectation, variance and inequalities10Independence and product measures11Modes of convergence and the law of large numbers12Conditional probability and conditional expectation13Measure theory in option pricing
Stochastic models0 / 17
01Random walks and Brownian motion02The law of large numbers and the central limit theorem03Probability spaces, σ-algebras and random variables04Filtrations, adapted processes and stopping times05Conditional expectation and martingales06Properties of Brownian motion07The reflection principle and first passage times08The Brownian bridge09The Itô integral10Itô's lemma11Kolmogorov equations and the Feynman–Kac formula12Change of measure and Girsanov's theorem13Monte Carlo option pricing14Simulating SDEs: the Euler–Maruyama scheme15Correlated Brownian motions and multi-asset models16Mean reversion: Ornstein–Uhlenbeck and Vasicek17Jumps and the Merton jump-diffusion model
Market microstructure0 / 11
01Market makers and liquidity02The limit order book03Queue position and fill probability04Adverse selection and informed trading05The Glosten–Milgrom model06Measuring and decomposing the bid–ask spread07Informed trading and Kyle's lambda08Price impact and optimal execution09Inventory risk and quote skewing10Optimal quoting: the Avellaneda–Stoikov model11Market making profit and loss attribution
Knowledge graph

© 2026 Quant Sandbox · A study aid for quantitative finance

Privacy & dataNo cookies

This site does not use cookies and asks for no personal data. It keeps a few small settings in your browser's local storage — your chosen theme and language, the sidebar layout, and your progress and answers in the Guides — so it remembers them on your next visit. This data never leaves your device; clearing your browser storage removes it. Inputs you change can also be captured in the page URL, so you can share or bookmark a specific setup. The site uses Vercel Web Analytics, a privacy-friendly, cookieless service that records only anonymous, aggregated usage (such as page views) without identifying you or tracking you across other sites.

Guides/Probability and measure/07

Probability spaces and Kolmogorov's axioms

Lesson 7 of 13 · 1 min read

The lesson "Measuring the size of sets" called a measure of total mass 1 a probability measure, "σ-algebras and Borel sets" explained which sets such a measure may measure, and "Lebesgue measure and null sets" built length on the real line and showed that a set can have length zero without being empty. Everything needed to talk about chance is therefore already in place, except the vocabulary. This lesson supplies it. It reads a measure space of total mass 1 as a model of an experiment with an uncertain result, translates each word of measure theory into a word of probability, and writes down Kolmogorov's axioms. It then builds the models that the rest of the track keeps returning to: two dice, a dart thrown at a square board, a number drawn uniformly from [0,1][0, 1][0,1], and a coin tossed forever.

Outcomes, events and probabilities

Probability starts with an experiment whose result is not known in advance: roll two dice, throw a dart at a board, toss a coin. A probability space is a mathematical description of such an experiment. It has three ingredients, and they are exactly the three ingredients of a measure space.

The first is the set Ω\OmegaΩ of outcomes. An outcome is a complete description of one possible result, detailed enough that once it is known, every question about the experiment has an answer. For two dice an outcome is an ordered pair such as (3,5)(3, 5)(3,5), meaning that the first die shows 3 and the second shows 5; there are 6⋅6=366 \cdot 6 = 366⋅6=36 of them. For a dart thrown at a square board of side 1, an outcome is the point (x,y)(x, y)(x,y) where the tip lands, and Ω\OmegaΩ is the unit square. When the experiment is run, exactly one outcome occurs.

The second is the collection F\mathcal{F}F of events. An event is a statement about the result that is either true or false once the outcome is known, such as "the sum of the dice is 7" or "the dart lands in the left half". Each statement is identified with the set of outcomes that make it true: "the sum is 7" is the set {(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)}\{(1, 6), (2, 5), (3, 4), (4, 3), (5, 2), (6, 1)\}{(1,6),(2,5),(3,4),(4,3),(5,2),(6,1)}. As "σ-algebras and Borel sets" explained, F\mathcal{F}F is a σ-algebra. It lists the questions that may be asked, and it is closed under the operations that combine questions: not, or, and their countable versions. For two dice, F\mathcal{F}F can safely contain every subset of Ω\OmegaΩ.

The third is the probability P\mathbb{P}P, a measure on (Ω,F)(\Omega, \mathcal{F})(Ω,F) that gives each event AAA a number P(A)\mathbb{P}(A)P(A) between 0 and 1 saying how likely it is. The triple (Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P})(Ω,F,P) is the probability space.

Because events are sets, the words of everyday logic turn into the words of set theory that the earlier lessons already use. The dictionary is short:

  • an outcome is a point ω∈Ω\omega \in \Omegaω∈Ω;
  • an event is a set A∈FA \in \mathcal{F}A∈F, and it occurs when the outcome ω\omegaω lies in AAA;
  • "AAA or BBB" is the union A∪BA \cup BA∪B, and "AAA and BBB" is the intersection A∩BA \cap BA∩B;
  • "not AAA" is the complement Ac=Ω∖AA^c = \Omega \setminus AAc=Ω∖A;
  • the impossible event is the empty set ∅\emptyset∅, and the certain event is Ω\OmegaΩ;
  • "AAA and BBB cannot happen together" means A∩B=∅A \cap B = \emptysetA∩B=∅, that is, the events are disjoint;
  • "if AAA occurs then BBB occurs" means A⊆BA \subseteq BA⊆B.

Take two dice, and let AAA be "at least one die shows a six" and BBB be "the sum is 7". The event AAA has 11 outcomes: six with the first die a six, six with the second die a six, and the pair (6,6)(6, 6)(6,6) counted twice, so 6+6−1=116 + 6 - 1 = 116+6−1=11. The event BBB has the 6 outcomes listed above. "AAA and BBB" holds only for (1,6)(1, 6)(1,6) and (6,1)(6, 1)(6,1), so A∩BA \cap BA∩B has 2 outcomes, and "AAA or BBB" has 11+6−2=1511 + 6 - 2 = 1511+6−2=15. The events "the sum is 7" and "the sum is 8" are disjoint, since no pair has both sums.

Kolmogorov's axioms

A probability has to give sensible numbers, and Kolmogorov's three axioms say what that means. A function P\mathbb{P}P defined on the events of a σ-algebra F\mathcal{F}F is a probability measure if:

  1. Non-negativity: P(A)≥0\mathbb{P}(A) \ge 0P(A)≥0 for every event AAA. A chance is never negative.
  2. Normalisation: P(Ω)=1\mathbb{P}(\Omega) = 1P(Ω)=1. Something certainly happens, and the scale is fixed so that certainty is 1, not 100 or 6.
  3. Countable additivity: P(⋃kAk)=∑kP(Ak)\mathbb{P}\big(\bigcup_{k} A_k\big) = \sum_{k} \mathbb{P}(A_k)P(⋃k​Ak​)=∑k​P(Ak​) for every finite or infinite sequence of pairwise disjoint events A1,A2,…A_1, A_2, \ldotsA1​,A2​,…. If events cannot happen together, the chance that one of them happens is the sum of their chances.

These are the rules of a measure from "Measuring the size of sets" (sizes are non-negative and add over disjoint pieces, now countably many), together with one extra requirement, a total mass of 1. A probability space is therefore nothing other than a measure space (Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P})(Ω,F,P) with P(Ω)=1\mathbb{P}(\Omega) = 1P(Ω)=1. Every fact about measures proved in the earlier lessons is a fact about probabilities, and probability contributes a new vocabulary and new questions, not new axioms.

Each axiom has a job. Without non-negativity, additivity could cancel one chance against another. Without normalisation, the numbers would be sizes, not probabilities: under counting measure a fair die would give "a six" the number 1 and "a number from 1 to 6" the number 6. Without countable additivity, infinite experiments would behave badly. "Measuring the size of sets" showed this with the natural density of the positive integers, a finitely additive size that gives every single positive integer size 0 and yet gives the set of all positive integers size 1. A probability like that would describe a lottery that has a winner among the integers although no integer has any chance of winning.

The axioms are named after Andrey Kolmogorov, who published them in 1933 in his book "Foundations of the Theory of Probability". Before then probability had been in use for almost three centuries without a settled definition: counting equally likely cases breaks down for infinitely many cases, and limits of frequencies were hard to make precise. Measure theory, developed by Borel and Lebesgue in the first years of the twentieth century, supplied what was missing. Kolmogorov's observation was that a probability is a measure of total mass one.

What probabilities mean

The axioms say how probabilities combine. They do not say what a probability is, and three readings are in use. Each one obeys the axioms.

  • Symmetry. When outcomes are interchangeable, they get equal shares. A fair die has no preferred face, so each face gets 1/61/61/6, and the probability of an event is the share of outcomes in it.
  • Long-run frequency. Repeat the experiment many times: the fraction of repetitions in which AAA occurs settles near P(A)\mathbb{P}(A)P(A). Roll a fair die 6,000 times and about 1,000 sixes appear.
  • Degree of belief. P(A)\mathbb{P}(A)P(A) measures how strongly one is convinced that AAA is true. This reading also covers experiments that cannot be repeated, such as whether tomorrow will be rainy.

The readings agree on the rules, and the rules are all that this track uses. For beliefs the axioms are a consistency check. Suppose someone is 60 % sure that a die will show an even number and 60 % sure that it will show a 1. These events are disjoint, so their chances would have to add up to 120 %120\ \%120 % for an event that cannot be more than certain. No probability measure produces such beliefs, so they are incoherent.

Rules that follow from the axioms

Every property of measures in "Measuring the size of sets" holds for P\mathbb{P}P, and the total mass 1 makes several of them simpler. Each rule comes with its short reason.

Complement. The events AAA and AcA^cAc are disjoint and their union is Ω\OmegaΩ, so P(A)+P(Ac)=P(Ω)=1\mathbb{P}(A) + \mathbb{P}(A^c) = \mathbb{P}(\Omega) = 1P(A)+P(Ac)=P(Ω)=1:

P(Ac)=1−P(A).\mathbb{P}(A^c) = 1 - \mathbb{P}(A).P(Ac)=1−P(A).

The chance that something does not happen is one minus the chance that it does. This is the main tool for events of the form "at least one …", whose complement is "none", which is often easier to count. Two consequences: P(∅)=1−P(Ω)=0\mathbb{P}(\emptyset) = 1 - \mathbb{P}(\Omega) = 0P(∅)=1−P(Ω)=0, and every probability is at most 1.

Monotonicity. If A⊆BA \subseteq BA⊆B, then BBB is the disjoint union of AAA and B∖AB \setminus AB∖A, so

P(B∖A)=P(B)−P(A),P(A)≤P(B).\mathbb{P}(B \setminus A) = \mathbb{P}(B) - \mathbb{P}(A), \qquad \mathbb{P}(A) \le \mathbb{P}(B).P(B∖A)=P(B)−P(A),P(A)≤P(B).

Inclusion–exclusion. Adding P(A)\mathbb{P}(A)P(A) and P(B)\mathbb{P}(B)P(B) counts the overlap A∩BA \cap BA∩B twice, so one copy has to be taken away:

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

Union bound. For any events, disjoint or not, the chance that at least one occurs is at most the sum of their chances:

P(⋃k=1∞Ak)≤∑k=1∞P(Ak).\mathbb{P}\Big(\bigcup_{k=1}^{\infty} A_k\Big) \le \sum_{k=1}^{\infty} \mathbb{P}(A_k).P(k=1⋃∞​Ak​)≤k=1∑∞​P(Ak​).

Continuity. If A1⊆A2⊆⋯A_1 \subseteq A_2 \subseteq \cdotsA1​⊆A2​⊆⋯ grow to A=⋃nAnA = \bigcup_n A_nA=⋃n​An​, then P(An)→P(A)\mathbb{P}(A_n) \to \mathbb{P}(A)P(An​)→P(A). If B1⊇B2⊇⋯B_1 \supseteq B_2 \supseteq \cdotsB1​⊇B2​⊇⋯ shrink to B=⋂nBnB = \bigcap_n B_nB=⋂n​Bn​, then P(Bn)→P(B)\mathbb{P}(B_n) \to \mathbb{P}(B)P(Bn​)→P(B). The second statement is continuity from above, and it holds here because the total mass is finite. Both are used below, when infinitely many coin tosses appear.

Here is how the rules work on two dice. The chance of "at least one six" is easiest through the complement: "no six" has 5⋅5=255 \cdot 5 = 255⋅5=25 of the 36 outcomes, so

P(at least one six)=1−2536=1136≈0.3056.\mathbb{P}(\text{at least one six}) = 1 - \frac{25}{36} = \frac{11}{36} \approx 0.3056.P(at least one six)=1−3625​=3611​≈0.3056.

Inclusion–exclusion gives the same number. Let A1A_1A1​ be "the first die shows six" and A2A_2A2​ "the second die shows six"; then P(A1∪A2)=16+16−136=1136\mathbb{P}(A_1 \cup A_2) = \frac16 + \frac16 - \frac1{36} = \frac{11}{36}P(A1​∪A2​)=61​+61​−361​=3611​. The union bound would give only 16+16=13≈0.3333\frac16 + \frac16 = \frac13 \approx 0.333361​+61​=31​≈0.3333. It overshoots by 136\frac1{36}361​, exactly the probability of A1∩A2A_1 \cap A_2A1​∩A2​, the pair (6,6)(6, 6)(6,6) that the sum counts twice.

Discrete models

The simplest probability spaces have countably many outcomes, finitely many or listed in a sequence ω1,ω2,…\omega_1, \omega_2, \ldotsω1​,ω2​,…. Such a model is fixed by a mass function p(ω)≥0p(\omega) \ge 0p(ω)≥0 that gives each outcome a share, with the shares adding up to 1:

∑ω∈Ωp(ω)=1,P(A)=∑ω∈Ap(ω).\sum_{\omega \in \Omega} p(\omega) = 1, \qquad \mathbb{P}(A) = \sum_{\omega \in A} p(\omega).ω∈Ω∑​p(ω)=1,P(A)=ω∈A∑​p(ω).

Here F\mathcal{F}F is the collection of all subsets of Ω\OmegaΩ, since every subset of a countable set is a countable union of single points. The three axioms hold. Sums of non-negative numbers are non-negative, P(Ω)=1\mathbb{P}(\Omega) = 1P(Ω)=1 is the first equation, and the sum over a countable disjoint union can be split into the sums over the pieces because the terms are non-negative, so the order of adding does not matter.

For two fair dice every one of the 36 outcomes gets p=1/36p = 1/36p=1/36. The sum is 7 for six outcomes, so P(sum=7)=6/36=1/6≈0.1667\mathbb{P}(\text{sum} = 7) = 6/36 = 1/6 \approx 0.1667P(sum=7)=6/36=1/6≈0.1667. The sum is even for 18 outcomes, so it has probability 1/21/21/2.

An infinite example: toss a fair coin until the first head appears and record the number of the toss. The outcomes are 1,2,3,…1, 2, 3, \ldots1,2,3,…. The first head comes on toss kkk only if the first k−1k - 1k−1 tosses are tails and toss kkk is a head. Each toss has two equally likely results, so the pattern of kkk tosses has probability (1/2)k(1/2)^k(1/2)k and p(k)=2−kp(k) = 2^{-k}p(k)=2−k. The shares add up to 12+14+18+⋯=1\frac12 + \frac14 + \frac18 + \cdots = 121​+41​+81​+⋯=1, as a mass function requires. The model has no outcome "no head ever", and needs none: the shares already use up the total mass, so such an outcome would get probability 0.

Countable additivity now matters. How likely is it that the first head comes on an even toss? The event is {2,4,6,…}\{2, 4, 6, \ldots\}{2,4,6,…}, a countable disjoint union of single outcomes, so its probability is an infinite sum:

P(first head on an even toss)=∑j=1∞2−2j=14+116+164+⋯ .\mathbb{P}(\text{first head on an even toss}) = \sum_{j=1}^{\infty} 2^{-2j} = \frac14 + \frac1{16} + \frac1{64} + \cdots.P(first head on an even toss)=j=1∑∞​2−2j=41​+161​+641​+⋯.

Finite additivity could not even state this probability. The worked example evaluates it.

Worked example

The first head on an even toss

  1. The first head comes on toss 2 when the tosses are tail, head:

    2−2\displaystyle 2^{-2}2−2=0.25
  2. It comes on toss 4 when the tosses are tail, tail, tail, head:

    2−4\displaystyle 2^{-4}2−4=0.0625
  3. Each term is this multiple of the one before it:

    2−4/2−2\displaystyle 2^{-4} / 2^{-2}2−4/2−2=0.25
  4. The first three terms together:

    14+116+164\displaystyle \tfrac14 + \tfrac1{16} + \tfrac1{64}41​+161​+641​=0.328125
  5. All terms form a geometric series with first term 14\tfrac1441​ and ratio 14\tfrac1441​:

    1/41−1/4\displaystyle \frac{1/4}{1 - 1/4}1−1/41/4​=0.333333
  6. The complementary event, the first head on an odd toss:

    1−13\displaystyle 1 - \tfrac131−31​=0.666667

Continuous models

Not every experiment has countably many outcomes. When the result is a number on a scale or a position on a board, Ω\OmegaΩ is uncountable, and the probability has to be spread out like sand rather than placed in lumps.

The first continuous model is a number UUU chosen uniformly from [0,1][0, 1][0,1]. Here Ω=[0,1]\Omega = [0, 1]Ω=[0,1], F\mathcal{F}F is the Borel σ-algebra and P=λ\mathbb{P} = \lambdaP=λ is Lebesgue measure, which is a probability measure because λ([0,1])=1\lambda([0, 1]) = 1λ([0,1])=1. The probability of an event is its length, so intervals of equal length are equally likely wherever they sit:

P(0.2≤U≤0.5)=0.5−0.2=0.3,P(U≤0.25 or U≥0.75)=0.25+0.25=0.5.\mathbb{P}(0.2 \le U \le 0.5) = 0.5 - 0.2 = 0.3, \qquad \mathbb{P}(U \le 0.25 \text{ or } U \ge 0.75) = 0.25 + 0.25 = 0.5.P(0.2≤U≤0.5)=0.5−0.2=0.3,P(U≤0.25 or U≥0.75)=0.25+0.25=0.5.

Whether an endpoint is included makes no difference, because a single point has length 0.

The second model is a dart that lands at a uniformly chosen point of the unit square. Here Ω=[0,1]2\Omega = [0, 1]^2Ω=[0,1]2 and P\mathbb{P}P is area, the two-dimensional Lebesgue measure of "Lebesgue measure and null sets". The dart lands in the left half with probability 0.50.50.5. It lands within 0.10.10.1 of the centre of the board with the probability that equals the area of a disc of radius 0.10.10.1, which fits inside the square, so π⋅0.12≈0.0314\pi \cdot 0.1^2 \approx 0.0314π⋅0.12≈0.0314. The largest disc that fits has radius 0.50.50.5 and area π/4≈0.7854\pi/4 \approx 0.7854π/4≈0.7854. In both models the probability of a region depends only on its size, which is what "uniform" means.

Two features differ from the discrete case. First, there is no mass function: every single outcome has probability zero. P(U=0.5)=λ({0.5})=0\mathbb{P}(U = 0.5) = \lambda(\{0.5\}) = 0P(U=0.5)=λ({0.5})=0, and the same holds for every point of the board and, by the rule that countable sets are null, for every countable set of points, such as all the rational numbers in [0,1][0, 1][0,1]. Second, F\mathcal{F}F cannot be the collection of all subsets. Vitali's set from "σ-algebras and Borel sets" has no length, so events are the Borel sets, and any event one can actually describe is among them.

This looks like a paradox. Every outcome has probability 0, yet the experiment produces an outcome, so an event of probability 0 has happened. The resolution is that countable additivity adds countably many probabilities and says nothing about uncountably many. The interval [0,1][0, 1][0,1] is the union of uncountably many points, each of probability 0, and the sum of uncountably many zeros is not defined and need not be 0. Probability behaves like mass in a solid rod: a single point of the rod weighs nothing, and the rod still weighs something.

Infinitely many coin tosses

Many experiments are repeated without a bound: toss a coin again and again, forever. A probability space for this needs an outcome that records an entire infinite sequence of heads and tails, and a probability under which the tosses are fair and separate. The requirement is concrete: any particular result of the first kkk tosses, say head, tail, head, has probability (1/2)k(1/2)^k(1/2)k, in this case 1/81/81/8. There is a short way to build such a space from the uniform number of the previous section, with nothing new to construct.

Every number ω∈[0,1)\omega \in [0, 1)ω∈[0,1) has a binary expansion ω=0.b1b2b3…2\omega = 0.b_1 b_2 b_3 \ldots_2ω=0.b1​b2​b3​…2​, which means

ω=b12+b24+b38+⋯ ,bk∈{0,1}.\omega = \frac{b_1}{2} + \frac{b_2}{4} + \frac{b_3}{8} + \cdots, \qquad b_k \in \{0, 1\}.ω=2b1​​+4b2​​+8b3​​+⋯,bk​∈{0,1}.

For example 0.6875=12+18+116=0.101120.6875 = \tfrac12 + \tfrac18 + \tfrac1{16} = 0.1011_20.6875=21​+81​+161​=0.10112​, and 13=0.010101…2\tfrac13 = 0.010101\ldots_231​=0.010101…2​. The digit b1b_1b1​ tells which half of [0,1)[0, 1)[0,1) the number lies in, 0 for the left half and 1 for the right, and each further digit tells which half of the remaining piece it lies in. The coin model reads the digits as tosses: draw ω\omegaω uniformly from [0,1)[0, 1)[0,1), and toss kkk is a head when the kkk-th binary digit of ω\omegaω is 1 and a tail when it is 0. So ω=0.6875\omega = 0.6875ω=0.6875 gives head, tail, head, head, and then tails forever, and ω=1/3\omega = 1/3ω=1/3 gives tail, head, tail, head, and so on, alternating.

To see that these tosses are fair, look at what a pattern of the first kkk tosses says about ω\omegaω. A first head means ω∈[12,1)\omega \in [\tfrac12, 1)ω∈[21​,1), a set of length 12\tfrac1221​. Fixing the second toss as well cuts that half in two: head then tail is [12,34)[\tfrac12, \tfrac34)[21​,43​) and head then head is [34,1)[\tfrac34, 1)[43​,1), each of length 14\tfrac1441​. Every further toss halves each piece again. After kkk tosses the unit interval is cut into 2k2^k2k dyadic intervals of length 2−k2^{-k}2−k, one for each pattern, and the pattern with binary value mmm corresponds to [m/2k,(m+1)/2k)[m/2^k, (m+1)/2^k)[m/2k,(m+1)/2k). For head, tail, head the value is m=1012=5m = 101_2 = 5m=1012​=5, the interval is [58,68)=[0.625,0.75)[\tfrac58, \tfrac68) = [0.625, 0.75)[85​,86​)=[0.625,0.75), and its length, hence its probability, is 18\tfrac1881​ as required:

P(the first k tosses show a given pattern)=2−k.\mathbb{P}(\text{the first } k \text{ tosses show a given pattern}) = 2^{-k}.P(the first k tosses show a given pattern)=2−k.

The figure shows the construction. Move the number ω\omegaω and watch its first twelve tosses change; then press the tosses of the pattern to flip them, and change the number kkk of tosses in the pattern. The highlighted interval is always the set of numbers whose first tosses equal the pattern, and its length is always 2−k2^{-k}2−k. With the defaults, ω=0.6875\omega = 0.6875ω=0.6875 starts H T H H followed by tails, the pattern H T H occupies [0.625,0.75)[0.625, 0.75)[0.625,0.75) with probability 0.1250.1250.125, and ω\omegaω lies inside it.

Infinitely many coin tosses as the binary digits of one numberOpen in Probability Space
0.6875
04095
3
16
00.51
  1. 1H
  2. 2T
  3. 3H
  4. 4H
  5. 5T
  6. 6T
  7. 7T
  8. 8T
  9. 9T
  10. 10T
  11. 11T
  12. 12T
Tosses of ω
HTHHTTTTTTTT …
Pattern interval
[0.625, 0.75)
Probability 2⁻ᵏ
1/8 = 0.125
ω matches
yes

Move ω and read its binary digits as tosses (1 is a head). Flip the tosses of the pattern and change k: the highlighted interval of all numbers that start with that pattern always has length 2⁻ᵏ.

One technical point. Some numbers have two binary expansions: 0.5=0.1000…2=0.0111…20.5 = 0.1000\ldots_2 = 0.0111\ldots_20.5=0.1000…2​=0.0111…2​. These are the numbers m/2nm/2^nm/2n, a countable set, which is null, so the choice affects no event with positive probability. The convention is to use the expansion that does not end in endless 1s, and that is what the figure and the rest of the track do.

The space now answers questions about the whole infinite sequence at once. Take "a head appears at some point". Its complement, "all tails", needs every digit to be 0, which only the number ω=0\omega = 0ω=0 achieves. So the probability is 1−0=11 - 0 = 11−0=1. Continuity gives the same from the other side. The event "no head in the first nnn tosses" is the interval [0,2−n)[0, 2^{-n})[0,2−n), with probability 2−n2^{-n}2−n, and these events shrink to {0}\{0\}{0} as nnn grows. For n=10n = 10n=10 the probability is 1/1024≈0.00097661/1024 \approx 0.00097661/1024≈0.0009766, for n=20n = 20n=20 it is about 9.537⋅10−79.537 \cdot 10^{-7}9.537⋅10−7, and the limit is 0. "Every toss is a tail" is the single outcome ω=0\omega = 0ω=0: possible, yet of probability zero.

The first-head model of the previous section sits inside this one. The first head comes on toss kkk exactly when the digits are k−1k - 1k−1 zeros followed by a 1, which is ω∈[2−k,21−k)\omega \in [2^{-k}, 2^{1-k})ω∈[2−k,21−k), an interval of length 2−k=p(k)2^{-k} = p(k)2−k=p(k). The first head on an even toss is the union of [14,12)[\tfrac14, \tfrac12)[41​,21​), [116,18)[\tfrac1{16}, \tfrac18)[161​,81​), [164,132)[\tfrac1{64}, \tfrac1{32})[641​,321​) and so on, with lengths 14,116,164,…\tfrac14, \tfrac1{16}, \tfrac1{64}, \ldots41​,161​,641​,…, which add up to 13\tfrac1331​ as in the worked example. Both models give the same answers. That the tosses are "separate" has only been used informally so far; a later lesson of this track makes it precise and shows that the binary digits of a uniform number behave as separate fair coins.

Almost sure events

An event AAA with P(A)=1\mathbb{P}(A) = 1P(A)=1 occurs almost surely (a.s.). This is the probability name for what "Lebesgue measure and null sets" called "almost everywhere": a property that fails only on a null set, which in a probability space is an event of probability 0. A number drawn uniformly from [0,1][0, 1][0,1] is almost surely irrational, almost surely outside the Cantor set, and almost surely has a 7 somewhere in its decimal expansion. In the coin model a head appears almost surely.

An event of probability 0 can still happen. Whatever number the experiment produces, the event "UUU equals that number" had probability 0 before the draw and occurred. Probability zero describes how thin an event is: it would be hit with frequency zero in a long series of repetitions, not that it has no outcomes.

Three different statements: an event is impossible if it is the empty set; it has probability zero if it is null, which allows outcomes (any single point of [0,1][0, 1][0,1]); it occurs almost surely if its complement is null. Impossible implies probability zero, and probability zero does not imply impossible.

Almost sure events combine well. If A1,A2,…A_1, A_2, \ldotsA1​,A2​,… each occur almost surely, so does their intersection: the complements are null, a countable union of null events is null by the union bound, P(⋃nAnc)≤∑n0=0\mathbb{P}\big(\bigcup_n A_n^c\big) \le \sum_n 0 = 0P(⋃n​Anc​)≤∑n​0=0, and the complement of that union is the intersection. For the coin model, fix nnn and consider "a head occurs after toss nnn". Its complement says that all digits after the nnn-th are 0, so ω\omegaω is one of the 2n2^n2n numbers m/2nm/2^nm/2n, a finite set, which is null. The event is therefore almost sure for each nnn, and so is the intersection over all nnn: almost surely there are infinitely many heads.

A last statement, quoted without proof: the fraction of heads among the first nnn tosses tends to 1/21/21/2 almost surely. A later lesson of this track proves it.

Choosing a model

The same experiment can have several probability spaces. A single fair die can be modelled by Ω={1,…,6}\Omega = \{1, \ldots, 6\}Ω={1,…,6} with p=1/6p = 1/6p=1/6 for each face. It can also be modelled by Ω=[0,1)\Omega = [0, 1)Ω=[0,1) with Lebesgue measure, reading the face kkk when k−16≤ω<k6\tfrac{k-1}{6} \le \omega < \tfrac{k}{6}6k−1​≤ω<6k​. Both give the face 4 probability 1/61/61/6 and the even faces probability 3/6=1/23/6 = 1/23/6=1/2, and every other question about the die gets the same answer in both. What matters is that the events of interest receive the right probabilities, and a smaller space is often easier.

The model also has to be chosen with care, because "pick a number at random" is not a complete description. If UUU is uniform on [0,1][0, 1][0,1] then the number U2U^2U2 is not. By "Measurable functions", λ(x2≤c)=c\lambda(x^2 \le c) = \sqrt{c}λ(x2≤c)=c​, so P(U2≤0.25)=P(U≤0.5)=0.5\mathbb{P}(U^2 \le 0.25) = \mathbb{P}(U \le 0.5) = 0.5P(U2≤0.25)=P(U≤0.5)=0.5, while a number uniform on [0,1][0, 1][0,1] would fall below 0.250.250.25 with probability 0.250.250.25. Squaring moves probability towards 0. Whenever an experiment is described in words, the first task is to say which P\mathbb{P}P is meant. The next lesson, "Random variables and their distributions", studies exactly this: how a quantity computed from the outcome, such as U2U^2U2 or the sum of two dice, has a probability measure of its own.

Summary

  • A probability space (Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P})(Ω,F,P) is a measure space of total mass 1: Ω\OmegaΩ holds the outcomes, the events in F\mathcal{F}F are the answerable questions, and P(A)\mathbb{P}(A)P(A) is the chance of the event AAA.
  • Kolmogorov's axioms are non-negativity, P(Ω)=1\mathbb{P}(\Omega) = 1P(Ω)=1 and countable additivity. They fit symmetry, frequencies and degrees of belief alike, and they give the complement rule, inclusion–exclusion, the union bound and continuity.
  • A discrete model is a mass function with total 1 on a countable set; a continuous model spreads probability, like Lebesgue measure, so that every single outcome has probability zero.
  • Infinitely many fair coin tosses are the binary digits of one uniform number: a pattern of kkk tosses is a dyadic interval of length 2−k2^{-k}2−k.
  • An event of probability 1 occurs almost surely, the probability name for almost everywhere; probability zero does not mean impossible, and countably many almost sure events hold together.
  • One experiment can have several probability spaces, and "at random" is incomplete until P\mathbb{P}P is specified.
Try itOpen the probability space lab
Previous · 06Convergence theoremsNext · 08Random variables and their distributions
Connections

Probability spaces and Kolmogorov's axioms

Open the full graph
Builds on
05.06Convergence theorems05.01Measuring the size of sets05.02σ-algebras and Borel sets05.03Lebesgue measure and null sets05.04Measurable functions
Leads to
05.08Random variables and their distributions05.10Independence and product measures05.11Modes of convergence and the law of large numbers05.12Conditional probability and conditional expectation05.13Measure theory in option pricing
See it in the knowledge graph
Labs for this lesson
Probability Space