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/02

σ-algebras and Borel sets

Lesson 2 of 13 · 1 min read

The lesson "Measuring the size of sets" defined a measure as a rule that gives a size to every set of a suitable collection of sets, and left open which collection that is. This lesson answers. The answer is not simply "all sets", for two reasons. The first is about knowledge: an observer who has only partial information about an outcome can decide membership in some sets and not in others, and a size makes sense only for sets whose membership can be decided. The second is about mathematics: on the interval [0,1)[0, 1)[0,1) there is a set to which no length can be given without breaking the rules of a measure. The collections that avoid both problems are called σ-algebras. The lesson defines them, shows that on a finite set they are the same thing as splitting the set into blocks, builds the Borel sets, the σ-algebra on which length will live, and ends with Vitali's set, the reason length cannot be given to every set.

Events as answerable questions

A die is rolled behind a screen, so the set of possible outcomes is Ω={1,2,3,4,5,6}\Omega = \{1, 2, 3, 4, 5, 6\}Ω={1,2,3,4,5,6} and nobody sees which face came up. Two observers are told something about the result. Observer P is told only whether the face is even or odd. Observer S is told only whether the face is at most 2.

Afterwards, P can answer the question "was the face even?", which asks whether the outcome lies in {2,4,6}\{2, 4, 6\}{2,4,6}, and the question "was it odd?", which asks about {1,3,5}\{1, 3, 5\}{1,3,5}. P cannot answer "was it a 4?", because the parity does not settle it. So the sets that P can decide are exactly four: the empty set (the question "is the face one of no faces?", always answered no), {2,4,6}\{2, 4, 6\}{2,4,6}, {1,3,5}\{1, 3, 5\}{1,3,5}, and Ω\OmegaΩ itself (always answered yes). For S the four sets are ∅\emptyset∅, {1,2}\{1, 2\}{1,2}, {3,4,5,6}\{3, 4, 5, 6\}{3,4,5,6} and Ω\OmegaΩ. In this lesson an event is a set of outcomes whose membership an observer can decide.

These collections have a shape. If you can answer "is the outcome in AAA?", you can answer "is it outside AAA?" by flipping the answer. If you can answer the questions about AAA and about BBB, you can answer "is it in AAA or in BBB?". So the collection {∅,{1,2},{2,3,4},Ω}\{\emptyset, \{1, 2\}, \{2, 3, 4\}, \Omega\}{∅,{1,2},{2,3,4},Ω} cannot be everything that an observer decides: flipping the answer about {1,2}\{1, 2\}{1,2} gives {3,4,5,6}\{3, 4, 5, 6\}{3,4,5,6}, and combining the two answers gives {1,2,3,4}\{1, 2, 3, 4\}{1,2,3,4}, and neither is in the collection. A believable list of events has to be closed under these operations, and the next section turns this closure into a definition.

σ-algebras

Let Ω\OmegaΩ be the set of all outcomes and let F\mathcal{F}F be a collection of subsets of Ω\OmegaΩ. It is a σ-algebra on Ω\OmegaΩ if it has three properties:

  • Ω∈F\Omega \in \mathcal{F}Ω∈F. The question "is the outcome somewhere in Ω\OmegaΩ?" can be answered; the answer is always yes.
  • If A∈FA \in \mathcal{F}A∈F, then the complement Ac=Ω∖AA^c = \Omega \setminus AAc=Ω∖A is in F\mathcal{F}F. If you can answer a question, you can answer its opposite.
  • If A1,A2,A3,…∈FA_1, A_2, A_3, \ldots \in \mathcal{F}A1​,A2​,A3​,…∈F, then A1∪A2∪A3∪⋯∈FA_1 \cup A_2 \cup A_3 \cup \cdots \in \mathcal{F}A1​∪A2​∪A3​∪⋯∈F. If you can answer every question of a countable list, you can answer "is the answer yes to at least one of them?".

The sets of F\mathcal{F}F are called measurable sets or events, and the letter σ in the name refers to the countable unions in the third property. P's four sets form a σ-algebra: the complement of {2,4,6}\{2, 4, 6\}{2,4,6} is {1,3,5}\{1, 3, 5\}{1,3,5}, the complement of Ω\OmegaΩ is ∅\emptyset∅, and every union of two or more of the four sets is again one of the four. The same holds for S. The collection {∅,{1,2},{2,3,4},Ω}\{\emptyset, \{1, 2\}, \{2, 3, 4\}, \Omega\}{∅,{1,2},{2,3,4},Ω} of the previous section is not a σ-algebra, since it contains {1,2}\{1, 2\}{1,2} but not its complement {3,4,5,6}\{3, 4, 5, 6\}{3,4,5,6}.

Each property rules out an inconsistency. Without the first, no event would say that something happened. Without the second, an observer could know that the face is in {1,2}\{1, 2\}{1,2} yet be unable to say that it is not. Without the third, answering infinitely many questions would produce no answer.

Consequences of the three properties

A few more closure properties follow at once, and each needs only a line.

  • The empty set is an event, because ∅=Ωc\emptyset = \Omega^c∅=Ωc is the complement of the first event.
  • A union of finitely many events is an event: to form A∪BA \cup BA∪B, use the third property on the list A,B,∅,∅,…A, B, \emptyset, \emptyset, \ldotsA,B,∅,∅,….
  • A countable intersection of events is an event. This is De Morgan's rule, which turns an intersection into a complement of a union of complements:
A1∩A2∩A3∩⋯=(A1c∪A2c∪A3c∪⋯)c.A_1 \cap A_2 \cap A_3 \cap \cdots = \big( A_1^c \cup A_2^c \cup A_3^c \cup \cdots \big)^c.A1​∩A2​∩A3​∩⋯=(A1c​∪A2c​∪A3c​∪⋯)c.

The right side is built from complements and one countable union, so it lies in F\mathcal{F}F. Two sets give that A∩BA \cap BA∩B is an event, and then the difference A∖B=A∩BcA \setminus B = A \cap B^cA∖B=A∩Bc is one too. In words: every logical combination of countably many answerable questions is answerable.

Countable unions and algebras

Why countable unions and not just finite ones? A collection with only the first two properties and closure under finite unions is called an algebra of sets. Algebras are too small for the questions that matter, as two examples show.

The first example is a die rolled again and again without end. Let AnA_nAn​ be the event "roll number nnn shows a six". Each AnA_nAn​ is a question about a single roll. The question "does a six ever appear?" is the union A1∪A2∪A3∪⋯A_1 \cup A_2 \cup A_3 \cup \cdotsA1​∪A2​∪A3​∪⋯ of infinitely many of them, and no finite union can express it: after any finite number of rolls the answer may still be undecided. Whoever wants to attach a size to "a six eventually appears" needs the countable union.

The second example lives on [0,1][0, 1][0,1]. Let A\mathcal{A}A be the collection of all finite unions of intervals of [0,1][0, 1][0,1], where the intervals may be open, closed or half-open, and a single point counts as a degenerate interval. The complement of a finite union of intervals is again one, so A\mathcal{A}A is an algebra. It contains every single point {q}\{q\}{q}. But it does not contain the set Q∩[0,1]\mathbb{Q} \cap [0, 1]Q∩[0,1] of rational numbers, although this set is the countable union {q1}∪{q2}∪⋯\{q_1\} \cup \{q_2\} \cup \cdots{q1​}∪{q2​}∪⋯ of events of A\mathcal{A}A. If a finite union of intervals equalled the rationals, no interval in it could have positive length, because every such interval contains irrational numbers. The union would consist of finitely many single points, yet there are infinitely many rationals.

There is also a reason from the definition of a measure: countable additivity, μ(A1∪A2∪⋯ )=μ(A1)+μ(A2)+⋯\mu(A_1 \cup A_2 \cup \cdots) = \mu(A_1) + \mu(A_2) + \cdotsμ(A1​∪A2​∪⋯)=μ(A1​)+μ(A2​)+⋯ for disjoint sets, has a meaning only if the countable union is itself in the domain of μ\muμ.

Measurable spaces and measure spaces

A set Ω\OmegaΩ together with a σ-algebra F\mathcal{F}F on it is a measurable space, written (Ω,F)(\Omega, \mathcal{F})(Ω,F). It fixes which sets may receive a size without yet giving any size. Adding a measure μ\muμ, a function defined on the sets of F\mathcal{F}F with the rules of "Measuring the size of sets", gives a measure space (Ω,F,μ)(\Omega, \mathcal{F}, \mu)(Ω,F,μ). The sets of F\mathcal{F}F are the measurable sets; a set outside F\mathcal{F}F is not measured at all, which is different from having size zero.

Every set Ω\OmegaΩ has two extreme σ-algebras. The smallest is the trivial σ-algebra {∅,Ω}\{\emptyset, \Omega\}{∅,Ω}: an observer who is told nothing can decide only the two questions that every outcome answers in the same way. The largest is the power set 2Ω2^{\Omega}2Ω of all subsets: an observer who sees the outcome exactly can decide every question. For the die, the power set has 26=642^6 = 6426=64 sets. Everything else lies between the two.

Take counting measure on the die, μ(A)=\mu(A) = μ(A)= the number of faces in AAA. On the power set, μ({2})=1\mu(\{2\}) = 1μ({2})=1. On P's σ-algebra, {2}\{2\}{2} is not an event, so μ({2})\mu(\{2\})μ({2}) has no value, while μ({2,4,6})=3\mu(\{2, 4, 6\}) = 3μ({2,4,6})=3 keeps its value. Restricting a measure to a smaller σ-algebra keeps its values and drops the sets that cannot be decided.

A measure space has three parts: the outcomes Ω\OmegaΩ, the σ-algebra F\mathcal{F}F of sets that may be measured, and the measure μ\muμ on F\mathcal{F}F. Changing the σ-algebra changes the question "what has a size", not the sizes of the sets that remain.

Finite σ-algebras and partitions

When Ω\OmegaΩ is finite, a σ-algebra can be described by a list of blocks. Look at P again: it cannot tell 1 from 3 or from 5, and cannot tell 2 from 4 or from 6. It sees the die as two blocks, {1,3,5}\{1, 3, 5\}{1,3,5} and {2,4,6}\{2, 4, 6\}{2,4,6}, and every event it can decide is a union of blocks: none of them, the first, the second, or both. A split of Ω\OmegaΩ into disjoint non-empty blocks that together cover Ω\OmegaΩ is a partition.

The blocks that a finite σ-algebra cannot cut into smaller events are its atoms. Formally, an atom is a non-empty event that has no non-empty event as a proper subset. Three facts hold for every σ-algebra F\mathcal{F}F on a finite set, and the first one is proved in a few lines.

  • The atoms form a partition of Ω\OmegaΩ. For an outcome ω\omegaω, let AωA_\omegaAω​ be the intersection of all events that contain ω\omegaω. There are finitely many events, so AωA_\omegaAω​ is an event, the smallest one containing ω\omegaω. Suppose x∈Aωx \in A_\omegax∈Aω​. Then Ax⊆AωA_x \subseteq A_\omegaAx​⊆Aω​, because AωA_\omegaAω​ is an event containing xxx. Also ω∈Ax\omega \in A_xω∈Ax​: otherwise Aω∖AxA_\omega \setminus A_xAω​∖Ax​ would be an event that contains ω\omegaω but not xxx, smaller than AωA_\omegaAω​. So Aω⊆AxA_\omega \subseteq A_xAω​⊆Ax​, and the two sets are equal. Any two of the sets AωA_\omegaAω​ are therefore equal or disjoint, and they cover Ω\OmegaΩ. Each is an atom, since a smaller event inside AωA_\omegaAω​ would contain some yyy, and then Ay=AωA_y = A_\omegaAy​=Aω​ would lie inside it; and every atom is one of them.
  • Every event is a union of atoms: an event AAA equals the union of the sets AωA_\omegaAω​ over its outcomes ω∈A\omega \in Aω∈A.
  • Conversely, every partition gives a σ-algebra, namely all unions of its blocks (the empty union included). If there are kkk atoms, each of them is either in a given event or not, so there are 2k2^k2k events.

So on a finite set, σ-algebras and partitions are the same thing seen two ways. P has k=2k = 2k=2 atoms and 22=42^2 = 422=4 events; S has the atoms {1,2}\{1, 2\}{1,2} and {3,4,5,6}\{3, 4, 5, 6\}{3,4,5,6} and also 4 events. The trivial σ-algebra has one atom, Ω\OmegaΩ, and 21=22^1 = 221=2 events; the power set of the die has six atoms, the single faces, and 26=642^6 = 6426=64 events. The number of different σ-algebras on the die equals the number of ways to partition six faces, which is 203.

Suppose a third observer hears both reports. Faces 1 and 2 differ from each other (odd versus even) and from the rest (small versus large), faces 3 and 5 are both odd and large, and faces 4 and 6 are both even and large. The atoms are {1}\{1\}{1}, {2}\{2\}{2}, {3,5}\{3, 5\}{3,5} and {4,6}\{4, 6\}{4,6}, giving 24=162^4 = 1624=16 events, among them every event of P and of S. More information means a finer partition and a larger σ-algebra.

Generated σ-algebras

In practice one rarely lists a whole σ-algebra. One names a few sets that must be events and asks for the smallest σ-algebra that contains them. Given a collection C\mathcal{C}C of subsets of Ω\OmegaΩ, the σ-algebra generated by C\mathcal{C}C, written σ(C)\sigma(\mathcal{C})σ(C), is the smallest σ-algebra on Ω\OmegaΩ that contains every set of C\mathcal{C}C. In the language of observers, σ(C)\sigma(\mathcal{C})σ(C) is everything that can be decided by someone who can decide exactly the questions in C\mathcal{C}C, and is therefore forced to decide everything built from them.

"Smallest" needs a definition that works also when Ω\OmegaΩ is infinite, where one cannot just keep adding complements and unions until nothing new appears. The definition is an intersection:

σ(C)=⋂{F:F is a σ-algebra on Ω and C⊆F}.\sigma(\mathcal{C}) = \bigcap \{ \mathcal{F} : \mathcal{F} \text{ is a } \sigma\text{-algebra on } \Omega \text{ and } \mathcal{C} \subseteq \mathcal{F} \}.σ(C)=⋂{F:F is a σ-algebra on Ω and C⊆F}.

The family being intersected is not empty, since the power set contains C\mathcal{C}C. An intersection of σ-algebras is a σ-algebra: every member contains Ω\OmegaΩ; if AAA is in every member, so is AcA^cAc; and if each AnA_nAn​ is in every member, so is their countable union. The result contains C\mathcal{C}C and lies inside every other σ-algebra that contains C\mathcal{C}C, which is what smallest means.

On a finite Ω\OmegaΩ the atoms of σ(C)\sigma(\mathcal{C})σ(C) can be found directly. Give every outcome a signature, its list of yes/no answers to the generating sets: "is it in the first set? is it in the second?". Outcomes with the same signature cannot be told apart by anything built from the generators, and outcomes with different signatures can. So the atoms of σ(C)\sigma(\mathcal{C})σ(C) are the groups of outcomes with equal signatures, and the number of events is 2k2^k2k for kkk groups.

The figure does this for the die. The faces on top are coloured and numbered by atom. Below are up to three rows, G1, G2 and G3, of cells: press a cell to put a face into that generating event, and a row with no pressed cell is ignored. The default, G1 ={1,2}= \{1, 2\}={1,2} and G2 ={2,3,4}= \{2, 3, 4\}={2,3,4}, gives the atoms {1}\{1\}{1}, {2}\{2\}{2}, {3,4}\{3, 4\}{3,4} and {5,6}\{5, 6\}{5,6}: k=4k = 4k=4 and 16 events. "Both observers" shows the atoms {1}\{1\}{1}, {2}\{2\}{2}, {3,5}\{3, 5\}{3,5} and {4,6}\{4, 6\}{4,6} of the previous section. "Every face" shows that three well-chosen questions already separate all six faces: 6 atoms and 64 events.

The σ-algebra generated by a few events of a dieOpen in σ-Algebras
1A12A23A34A35A46A4
Event G1
Event G2
Event G3
  • A1 {1}
  • A2 {2}
  • A3 {3, 4}
  • A4 {5, 6}
Atoms k
4
Events 2ᵏ
16

Press cells to put faces into a generating event; a row with no cell pressed is ignored. Faces with the same yes/no answers to every generating event share an atom, and every event of the σ-algebra is a union of atoms.

Worked example

The σ-algebra generated by {1, 2} and {2, 3, 4}

  1. Faces that answer yes to the first set and no to the second, the atom {1}\{1\}{1}. Count the faces:

    ∣{1,2}∖{2,3,4}∣\displaystyle |\{1, 2\} \setminus \{2, 3, 4\}|∣{1,2}∖{2,3,4}∣=1
  2. Faces that answer yes to both, the atom {2}\{2\}{2}:

    ∣{1,2}∩{2,3,4}∣\displaystyle |\{1, 2\} \cap \{2, 3, 4\}|∣{1,2}∩{2,3,4}∣=1
  3. Faces that answer no to the first and yes to the second, the atom {3,4}\{3, 4\}{3,4}:

    ∣{2,3,4}∖{1,2}∣\displaystyle |\{2, 3, 4\} \setminus \{1, 2\}|∣{2,3,4}∖{1,2}∣=2
  4. Faces that answer no to both, the atom {5,6}\{5, 6\}{5,6}:

    ∣Ω∖({1,2}∪{2,3,4})∣\displaystyle |\Omega \setminus (\{1, 2\} \cup \{2, 3, 4\})|∣Ω∖({1,2}∪{2,3,4})∣=2
  5. The four atoms make 242^424 events, among them {2,5,6}={2}∪{5,6}\{2, 5, 6\} = \{2\} \cup \{5, 6\}{2,5,6}={2}∪{5,6} and the complement {3,4,5,6}={3,4}∪{5,6}\{3, 4, 5, 6\} = \{3, 4\} \cup \{5, 6\}{3,4,5,6}={3,4}∪{5,6} of the first generator. Number of events:

    24\displaystyle 2^424=16
  6. An event contains the face 1 exactly when it uses the atom {1}\{1\}{1}, and the other three atoms are free to be in or out. Number of events that contain the face 1:

    23\displaystyle 2^323=8
  7. Add the generator {5}\{5\}{5}. It splits the atom {5,6}\{5, 6\}{5,6} into {5}\{5\}{5} and {6}\{6\}{6} and leaves the others alone: 5 atoms. Number of events:

    25\displaystyle 2^525=32

Borel sets

On the real line there are no atoms to list, so the σ-algebra is defined by its generators. The Borel σ-algebra B(R)\mathcal{B}(\mathbb{R})B(R) is the σ-algebra generated by the open intervals (a,b)(a, b)(a,b) with a<ba < ba<b, and its members are the Borel sets. This is the smallest σ-algebra that contains all intervals, so any measure of length must be defined on at least these sets.

The choice of generators is flexible. The same σ-algebra is generated by the half-open intervals (a,b](a, b](a,b], by the half-lines (−∞,x](-\infty, x](−∞,x], or by all open sets. Three derivations show why, each using only the three properties of a σ-algebra.

  • From half-lines to half-open intervals: (a,b]=(−∞,b]∖(−∞,a](a, b] = (-\infty, b] \setminus (-\infty, a](a,b]=(−∞,b]∖(−∞,a], a difference of two half-lines.
  • From half-open intervals to open intervals: (a,b)=⋃n≥1(a,b−1n](a, b) = \bigcup_{n \ge 1} (a, b - \tfrac1n](a,b)=⋃n≥1​(a,b−n1​], a countable union in which the terms with b−1n≤ab - \tfrac1n \le ab−n1​≤a are empty.
  • From open intervals to every open set: let UUU be open. Each point xxx of UUU has an interval around it that lies inside UUU, and the endpoints can be moved to rational numbers without leaving UUU or losing xxx. There are only countably many intervals with rational endpoints, so UUU is a countable union of them.

Hence every open set is Borel, and so is every closed set, as the complement of an open set. A single point is Borel as well, because {x}=⋂n(x−1n,x]\{x\} = \bigcap_n (x - \tfrac1n, x]{x}=⋂n​(x−n1​,x] is a countable intersection of half-open intervals. Taking countable unions of points, every countable set is Borel, in particular the rational numbers Q\mathbb{Q}Q, and the irrational numbers are Borel as the complement of Q\mathbb{Q}Q. The Cantor set of the next lesson, "Lebesgue measure and null sets", is the intersection of countably many sets CnC_nCn​, each a finite union of closed intervals, so it is Borel too.

Every set you can write down by a formula or a limiting construction is Borel. Starting from intervals and applying countable unions and complements, in any order and any number of times, stays inside the Borel sets.

Not every subset of the real line is Borel. A counting argument shows this without naming a set: there are as many Borel sets as real numbers, but far more subsets of the line. The next section gives a set that cannot get a length at all, and the next lesson shows that Borel sets can.

Sets without a length

Suppose length, λ\lambdaλ, were defined for every subset of [0,1)[0, 1)[0,1), with the three properties that any sensible length has: the interval [0,1)[0, 1)[0,1) has length 1; length is countably additive; and shifting a set around the circle does not change its length. Here the circle means [0,1)[0, 1)[0,1) with 1 glued to 0: for r∈[0,1)r \in [0, 1)r∈[0,1) let x⊕rx \oplus rx⊕r be x+rx + rx+r if that is below 1 and x+r−1x + r - 1x+r−1 otherwise. For a set VVV write Vr={v⊕r:v∈V}V_r = \{v \oplus r : v \in V\}Vr​={v⊕r:v∈V}. Cut VVV at the point 1−r1 - r1−r: the part below it moves rrr to the right, the part above it moves 1−r1 - r1−r to the left, and a plain shift changes no length, so λ(Vr)=λ(V)\lambda(V_r) = \lambda(V)λ(Vr​)=λ(V). Vitali's argument shows that these assumptions contradict each other.

  1. Call two numbers x,y∈[0,1)x, y \in [0, 1)x,y∈[0,1) equivalent when x−yx - yx−y is a rational number. This splits [0,1)[0, 1)[0,1) into classes; the class of xxx consists of all numbers reachable from xxx by adding a rational number and wrapping around. Each class is countable and lies densely in [0,1)[0, 1)[0,1), and there are uncountably many classes.
  2. Choose exactly one number from each class and collect the chosen numbers in a set VVV. This step uses the axiom of choice, because there is no formula that says which number to pick in each class.
  3. For every rational r∈[0,1)r \in [0, 1)r∈[0,1) form the shifted copy VrV_rVr​. There are countably many such rrr.
  4. The copies are pairwise disjoint. If v⊕r=w⊕sv \oplus r = w \oplus sv⊕r=w⊕s for v,w∈Vv, w \in Vv,w∈V, then v−wv - wv−w is rational, so vvv and www are equivalent. Only one number was chosen from a class, so v=wv = wv=w, and then r=sr = sr=s.
  5. The copies cover [0,1)[0, 1)[0,1). Take any xxx. It is equivalent to the chosen number vvv of its class, so x=v⊕rx = v \oplus rx=v⊕r for some rational rrr, which puts xxx in VrV_rVr​.
  6. Countable additivity now gives 1=λ([0,1))=∑rλ(Vr)=λ(V)+λ(V)+λ(V)+⋯1 = \lambda([0, 1)) = \sum_r \lambda(V_r) = \lambda(V) + \lambda(V) + \lambda(V) + \cdots1=λ([0,1))=∑r​λ(Vr​)=λ(V)+λ(V)+λ(V)+⋯, with every term equal to the same number a=λ(V)a = \lambda(V)a=λ(V). If a=0a = 0a=0, the sum is 0. If a>0a > 0a>0, the sum is infinite. Neither equals 1.

The contradiction lies in the assumptions, not in VVV: no length can be assigned to every subset of [0,1)[0, 1)[0,1). Vitali's set has no explicit description and cannot be built without the axiom of choice, so no calculation will meet it. But it exists in the framework that all of measure theory uses, so something has to be given up.

What to give up

The argument used four ingredients: length is defined on every set, it is countably additive, it is unchanged by shifts, and [0,1)[0, 1)[0,1) has length 1. The last one cannot usefully be dropped: if [0,1)[0, 1)[0,1) had length 0 or ∞\infty∞, the contradiction would disappear, but so would any use of length. That leaves three possible repairs, one for each of the other ingredients.

  • Give up countable additivity and keep only finite additivity. A finitely additive, shift-invariant length defined on all bounded subsets of the line does exist, by a theorem of Banach, but it behaves badly under limits: the unions of the first nnn shifted copies VrV_rVr​ of Vitali's set increase to [0,1)[0, 1)[0,1), yet each union has length 0, because nnn disjoint copies of equal length fit into [0,1)[0, 1)[0,1) for every nnn. Almost every later theorem of this track depends on such limits.
  • Give up shift invariance. A set could then have a different size at a different place, which is not what the word length means, and every set of positive size could be moved to change it.
  • Give up measuring every set. Keep a countably additive, shift-invariant length, and define it only on a σ-algebra that is large enough to contain everything of interest but too small to contain Vitali's set.

Measure theory takes the third option. The cost is small: every set described by a formula or a limiting process is Borel, and the next lesson builds a length with all the desired properties on the Borel sets. The gain is what the rest of the track uses: limits of sets behave well, and the rules of "Measuring the size of sets", continuity included, hold on the whole domain.

Choosing the σ-algebra

Which σ-algebra to use depends on the space and the purpose. For a finite set such as the die, the usual choice is the power set: all 26=642^6 = 6426=64 subsets are events. For the real line, or an interval of it, the choice is the Borel σ-algebra; on [0,1][0, 1][0,1] these are the Borel sets that lie inside [0,1][0, 1][0,1]. The next lesson adds all subsets of sets of length zero, which changes no size.

On one set, different σ-algebras describe different observers. The die has 203 of them, from the trivial one that knows nothing to the power set that knows everything, with the partial reports of P and S and their combinations in between. Choosing F\mathcal{F}F is choosing what the model can talk about: too small a σ-algebra cannot express what an observer knows, and too large a one may demand sizes for sets that have none.

Summary

  • An event is a set whose membership can be decided; a σ-algebra F\mathcal{F}F is a collection of events containing Ω\OmegaΩ and closed under complements and countable unions, hence also under countable intersections and differences.
  • A measurable space (Ω,F)(\Omega, \mathcal{F})(Ω,F) says which sets may get a size; a measure space (Ω,F,μ)(\Omega, \mathcal{F}, \mu)(Ω,F,μ) adds the sizes. The extremes are {∅,Ω}\{\emptyset, \Omega\}{∅,Ω} and the power set.
  • On a finite set a σ-algebra is a partition into atoms; kkk atoms give 2k2^k2k events, and a finer partition means more information. The σ-algebra σ(C)\sigma(\mathcal{C})σ(C) generated by C\mathcal{C}C is the smallest one containing C\mathcal{C}C, the intersection of all σ-algebras that do.
  • The Borel σ-algebra B(R)\mathcal{B}(\mathbb{R})B(R) is generated by the intervals, the half-lines or the open sets. It contains points, countable sets, open and closed sets and the Cantor set, though not every subset of the line.
  • Vitali's set, one representative per class of numbers differing by rationals, cannot get a length without breaking countable additivity or shift invariance, so measure theory measures only the sets of a σ-algebra.
Try itOpen the σ-algebras lab
Previous · 01Measuring the size of setsNext · 03Lebesgue measure and null sets
Connections

σ-algebras and Borel sets

Open the full graph
Builds on
05.01Measuring the size of sets
Leads to
05.03Lebesgue measure and null sets05.04Measurable functions05.05The Lebesgue integral05.07Probability spaces and Kolmogorov's axioms05.08Random variables and their distributions05.10Independence and product measures05.12Conditional probability and conditional expectation05.13Measure theory in option pricing
See it in the knowledge graph
Labs for this lesson
σ-Algebras