Lecture 2

Measure spaces, measures, and random variables

Course edition
Fall 2026
Last updated
October 19, 2026

Part I · Foundations: the language of probability · Lecture 2 of 5

Student PDFReport an issue

A guided route

Lecture map

High and mid topics are both examined. Follow the topic links, and open optional branches when they help.

These notes support STAT 709 at the University of Wisconsin–Madison. Use them alongside the cited textbooks; corrections and questions are welcome.

  • Familiar tools. Do we need measure theory for every calculation in applied statistics or machine learning? Often the familiar rules for sums, densities, and expectations are enough.

  • Where they fall short. It is still useful to understand where that picture breaks down: a distribution may live on a curve, a statistical claim may involve infinitely many observations, or the data may themselves define a random measure.

  • Our route. Measure theory supplies a common language for these examples and for the limiting operations used throughout statistics. We will start with the models and the Riemann integral we already know, then identify the sets, probabilities, and functions needed to make those calculations precise. The goal is to explain what the abstraction buys us before developing it.

Recap from earlier lecturesFrom Lecture 1: sets, countability, eigenvalues · 1 min

Reminder only: this block introduces no new exam requirements.

Learning goals

After this lecture, you should be able to:

1. Why probability needs measure theory

1.1. Statistical motivations

High priorityWhy we need measures to describe probability

Two familiar probability models show why a list of outcomes and a density formula are not always sufficient.

An infinite sequence of observations.

  • Model. Suppose \(X_1,X_2,\ldots\)X1,X2,…X_1,X_2,\ldots are independent Bernoulli\((1/2)\)(1/2)(1/2) observations.

  • Sample space. A finite sample lives in \(\{0,1\}^n\){0,1}n\{0,1\}^n, but an entire sequence lives in \(\Omega=\{0,1\}^{\mathbb N}\)Ω={0,1}ℕ\Omega=\{0,1\}^{\mathbb N}. Asymptotic statistics asks about events such as \[\left\{\liminf_{n\to\infty}\frac1n\sum_{i=1}^nX_i>\frac13\right\}.\]{liminfn→∞1n∑i=1nXi>13}.\left\{\liminf_{n\to\infty}\frac1n\sum_{i=1}^nX_i>\frac13\right\}.

  • Question. How can we assign a probability to a condition involving infinitely many observations?

  • What we need. We need one probability space for the whole sequence, with events closed under countable unions and intersections.

Why a finite prefix is not enough

Specifying the first \(m\)mm tosses gives an event with probability \(2^{-m}\)2−m2^{-m}. The displayed limiting event cannot be decided from any fixed finite prefix; it is built using countably many unions and intersections of finite-sample events. Constructing that infinite product space is a later, optional topic; the need for closure under countable operations is already apparent. The countable-union/intersection representation is given in Exercise 9, with a complete set-theoretic representation in Section 6; the product-measure construction is cited in the optional proof references.

A distribution on a circle.

  • Construction. Let \(U\sim\Unif[0,2\pi)\)U∼Unif[0,2π)U\sim\operatorname{Unif}[0,2\pi) and \((X,Y)=(\cos U,\sin U)\)(X,Y)=(cosU,sinU)(X,Y)=(\cos U,\sin U). All probability lies on the unit circle \(S\subset\R^2\)S⊂ℝ2S\subset\mathbb{R}^2.

  • Question. Does this model have either a probability mass function or an ordinary two-dimensional density?

  • Conclusion. The law exists, but it is neither discrete nor described by an area density.

In particular, there is no nonnegative Borel measurable function \(f_{X,Y}\)fX,Yf_{X,Y} such that, for every \(a_1<a_2\)a1<a2a_1<a_2 and \(b_1<b_2\)b1<b2b_1<b_2,

\[\int_{a_1}^{a_2}\int_{b_1}^{b_2}f_{X,Y}(x,y)\,dy\,dx =P\bigl(X\in[a_1,a_2],\ Y\in[b_1,b_2]\bigr).\]∫a1a2∫b1b2fX,Y(x,y)dydx=P(X∈[a1,a2],Y∈[b1,b2]).\int_{a_1}^{a_2}\int_{b_1}^{b_2}f_{X,Y}(x,y)\,dy\,dx =P\left(X\in[a_1,a_2],\ Y\in[b_1,b_2]\right).

(1)

Thus the problem is not merely that a continuous density is unavailable: even allowing a measurable density does not solve it. The two steps behind this claim—why the circle has area zero and why agreement on rectangles would determine its whole law—are worked out in the solution to Exercise 6.

Why the usual density picture fails

Every individual point has probability zero, so a discrete mass function cannot describe the law. The circle also has area zero. Any density with respect to area would therefore give \(P((X,Y)\in S)=0\)P((X,Y)∈S)=0P((X,Y)\in S)=0, whereas the model gives probability one. Nevertheless, probabilities are easy to interpret: an arc subtending an angle \(\alpha\in[0,2\pi]\)α∈[0,2π]\alpha\in[0,2\pi] has probability \(\alpha/(2\pi)\)α/(2π)\alpha/(2\pi). The same exercise verifies the point and arc probabilities, including \(\alpha=0\)α=0\alpha=0 and \(\alpha=2\pi\)α=2π\alpha=2\pi.

  • Measure. Length, number of points, and probability are all instances of a measure. The central design is \[\boxed{\text{sample space }\Omega \quad+\quad \text{observable events }\F \quad+\quad \text{probability measure }P.}\]sample space Ω+observable events ℱ+probability measure P.\boxed{\text{sample space }\Omega \quad+\quad \text{observable events }\mathcal{F} \quad+\quad \text{probability measure }P.}

  • Observable map. A random variable maps this possibly complicated space into a familiar space such as \(\R^d\)ℝd\mathbb{R}^d while preserving observable events.

  • Stability. The aim is a collection of sets and functions rich enough for statistical models and stable under the countable operations used in limits.

Low priority — not examined: Motivating preview: a random measure

Sometimes the observed object is itself a probability measure. Returning to the eigenvalues from Lecture 1, let \(X_n\)XnX_n be a real symmetric \(n\times n\)n×nn\times n matrix with independent entries on and above the diagonal: \[(X_n)_{ij}\sim N(0,1)\ (i<j),\qquad (X_n)_{ii}\sim N(0,2),\qquad (X_n)_{ji}=(X_n)_{ij}.\](Xn)ij∼N(0,1)(i<j),(Xn)ii∼N(0,2),(Xn)ji=(Xn)ij.(X_n)_{ij}\sim N(0,1)\ (i<j),\qquad (X_n)_{ii}\sim N(0,2),\qquad (X_n)_{ji}=(X_n)_{ij}. This is the Gaussian orthogonal ensemble (GOE). For \(Y_n=X_n/\sqrt n\)Yn=Xn/nY_n=X_n/\sqrt n, its empirical spectral distribution assigns mass \(1/n\)1/n1/n to each eigenvalue: \[\mu_{Y_n}=\frac1n\sum_{i=1}^n\delta_{\lambda_i(Y_n)},\qquad \mu_{Y_n}(B)=\frac1n\left|\{i:\lambda_i(Y_n)\in B\}\right|.\]μYn=1n∑i=1nδλi(Yn),μYn(B)=1n|{i:λi(Yn)∈B}|.\mu_{Y_n}=\frac1n\sum_{i=1}^n\delta_{\lambda_i(Y_n)},\qquad \mu_{Y_n}(B)=\frac1n\left|\{i:\lambda_i(Y_n)\in B\}\right|. Here \(\delta_a(B)=\mathbf1\{a\in B\}\)δa(B)=1{a∈B}\delta_a(B)=\mathbf1\{a\in B\} is a point mass. Thus \(\mu_{Y_n}(B)\)μYn(B)\mu_{Y_n}(B) is the fraction of eigenvalues in \(B\)BB; a histogram displays these masses after grouping them into bins. The measure is random because the matrix, and hence its eigenvalues, are random.

For this normalization, Wigner’s semicircle law gives a deterministic limiting probability measure with density \[\rho_{\mathrm{SC}}(x)= \begin{cases} \dfrac1{2\pi}\sqrt{4-x^2},& |x|\leq2,\\ 0,& |x|>2. \end{cases}\]ρSC(x)={12π4−x2,|x|≤2,0,|x|>2.\rho_{\mathrm{SC}}(x)= \begin{cases} \dfrac1{2\pi}\sqrt{4-x^2},& |x|\leq2,\\ 0,& |x|>2. \end{cases} The convergence can be read through averages: for every bounded continuous function \(g\)gg, \(n^{-1}\sum_i g(\lambda_i(Y_n))\)n−1∑ig(λi(Yn))n^{-1}\sum_i g(\lambda_i(Y_n)) converges in probability to \(\int_{-2}^2g(x)\rho_{\mathrm{SC}}(x)\,dx\)∫−22g(x)ρSC(x)dx\int_{-2}^2g(x)\rho_{\mathrm{SC}}(x)\,dx; see [5]. What does it mean for an entire measure to converge? This is the motivating question, rather than a theorem to prove here. Section 5 returns to random measures after the basic definitions are available. For the theorem and proof, use the semicircle-law reference in Section 6.2.

Mid priorityA mental picture of the definitions ahead
Instructor’s NoteConceptual understanding

The following is an informal mental picture, not a substitute for the definitions. Even before learning the technical details, the gist is to set up the right mathematical workspace for sets, probabilities, functions, random variables, and limits.

  • Sets in \(\R^d\)ℝd\mathbb{R}^d: for \(d\geq1\)d≥1d\geq1, think of the hierarchy \[\{\text{open or closed sets}\} \subseteq \{\text{Borel sets}\} \subsetneq \{\text{all subsets of }\R^d\}.\]{open or closed sets}⊆{Borel sets}⊊{all subsets of ℝd}.\{\text{open or closed sets}\} \subseteq \{\text{Borel sets}\} \subsetneq \{\text{all subsets of }\mathbb{R}^d\}. Borel sets include the familiar geometric sets and are closed under countable set operations.

  • Functions on \(\R^d\)ℝd\mathbb{R}^d: for real-valued functions, the picture is \[\{\text{continuous functions}\} \subseteq\{\text{Borel measurable functions}\} \subseteq\{\text{all functions}\}.\]{continuous functions}⊆{Borel measurable functions}⊆{all functions}.\{\text{continuous functions}\} \subseteq\{\text{Borel measurable functions}\} \subseteq\{\text{all functions}\}. Measurability keeps useful structure while allowing discontinuities.

  • Random variables: familiar discrete and density-based models fit inside the broader class of measurable maps \(X:(\Omega,\F)\to(\R,\gB(\R))\)X:(Ω,ℱ)→(ℝ,ℬ(ℝ))X:(\Omega,\mathcal{F})\to(\mathbb{R},\mathcal{B}(\mathbb{R})). The circle example shows why this broader viewpoint matters for random vectors. The original sample space need not itself be Euclidean or have a Borel \(\sigma\)σ\sigma-algebra.

  • Integrable functions: on a fixed compact interval \([a,b]\)[a,b][a,b] with length measure, we have \[\{\text{bounded piecewise-continuous functions}\} \subseteq\{\text{Lebesgue integrable functions}\}.\]{bounded piecewise-continuous functions}⊆{Lebesgue integrable functions}.\{\text{bounded piecewise-continuous functions}\} \subseteq\{\text{Lebesgue integrable functions}\}. Here piecewise continuity means continuity on finitely many pieces with finite one-sided limits. Integrability depends on the domain and the measure; measurability alone does not imply integrability.

The aim is a class rich enough for the models we use and stable under the countable operations we need. The precise definitions tell us when this mental picture is valid. The relevant justifications are linked below: the Borel-generator argument, the measurability argument, and the integration references.

1.2. Riemann integration and the need for measure theory

Mid priorityArea, approximation, and two different limit problems

From rectangles to an integral.

  • Tagged sum. For \(f\geq0\)f≥0f\geq0 on \([a,b]\)[a,b][a,b], the Riemann integral represents area under the graph. More generally, take a bounded \(f:[a,b]\to\R\)f:[a,b]→ℝf:[a,b]\to\mathbb{R} and a partition \(\mathcal P=\{a=x_0<x_1<\cdots<x_m=b\}\)𝒫={a=x0<x1<⋯<xm=b}\mathcal P=\{a=x_0<x_1<\cdots<x_m=b\}. A tagged sum is \[S(f,\mathcal P,t)=\sum_{i=1}^m f(t_i)(x_i-x_{i-1}),\qquad t_i\in[x_{i-1},x_i].\]S(f,𝒫,t)=∑i=1mf(ti)(xi−xi−1),ti∈[xi−1,xi].S(f,\mathcal P,t)=\sum_{i=1}^m f(t_i)(x_i-x_{i-1}),\qquad t_i\in[x_{i-1},x_i].

  • Mesh. Each term is height times interval length. The mesh \(|\mathcal P|=\max_i(x_i-x_{i-1})\)|𝒫|=maxi(xi−xi−1)|\mathcal P|=\max_i(x_i-x_{i-1}) measures the width of the largest interval.

  • Integrability. Riemann integrability means that these sums approach one finite value as \(|\mathcal P|\to0\)|𝒫|→0|\mathcal P|\to0, independently of the partitions and tags.

Details: upper and lower sums

The lower and upper sums bound every tagged sum: \[\begin{aligned} L(f,\mathcal P)&=\sum_{i=1}^m \left(\inf_{x\in[x_{i-1},x_i]}f(x)\right)(x_i-x_{i-1}),\\ U(f,\mathcal P)&=\sum_{i=1}^m \left(\sup_{x\in[x_{i-1},x_i]}f(x)\right)(x_i-x_{i-1}). \end{aligned}\]L(f,𝒫)=∑i=1m(infx∈[xi−1,xi]f(x))(xi−xi−1),U(f,𝒫)=∑i=1m(supx∈[xi−1,xi]f(x))(xi−xi−1).\begin{aligned} L(f,\mathcal P)&=\sum_{i=1}^m \left(\inf_{x\in[x_{i-1},x_i]}f(x)\right)(x_i-x_{i-1}),\\ U(f,\mathcal P)&=\sum_{i=1}^m \left(\sup_{x\in[x_{i-1},x_i]}f(x)\right)(x_i-x_{i-1}). \end{aligned} Equivalently, \(f\)ff is Riemann integrable if for every \(\epsilon>0\)ϵ>0\epsilon>0 there is a partition with \(U(f,\mathcal P)-L(f,\mathcal P)<\epsilon\)U(f,𝒫)−L(f,𝒫)<ϵU(f,\mathcal P)-L(f,\mathcal P)<\epsilon. In that case, \[\sup_{\mathcal P}L(f,\mathcal P) =\inf_{\mathcal P}U(f,\mathcal P)=\int_a^b f(x)\,dx.\]sup𝒫L(f,𝒫)=inf𝒫U(f,𝒫)=∫abf(x)dx.\sup_{\mathcal P}L(f,\mathcal P) =\inf_{\mathcal P}U(f,\mathcal P)=\int_a^b f(x)\,dx. This makes the approximation precise, but taking limits of functions raises two separate questions. For the equivalence of the tagged-sum and upper/lower-sum definitions, see the Riemann-integrability reference.

First problem: the limit may leave the Riemann class.

  • Construction. Enumerate \(\Q\cap[0,1]=\{q_1,q_2,\ldots\}\)ℚ∩[0,1]={q1,q2,…}\mathbb{Q}\cap[0,1]=\{q_1,q_2,\ldots\}, set \(A_n=\{q_1,\ldots,q_n\}\)An={q1,…,qn}A_n=\{q_1,\ldots,q_n\}, and let \(f_n=\mathbf1_{A_n}\)fn=1Anf_n=\mathbf1_{A_n}. Then \[\int_0^1 f_n(x)\,dx=0\quad\text{for every }n,\qquad f_n(x)\uparrow\mathbf1_{\Q\cap[0,1]}(x).\]∫01fn(x)dx=0for every n,fn(x)↑1ℚ∩[0,1](x).\int_0^1 f_n(x)\,dx=0\quad\text{for every }n,\qquad f_n(x)\uparrow\mathbf1_{\mathbb{Q}\cap[0,1]}(x).

  • Outcome. Each \(f_n\)fnf_n is Riemann integrable, but its pointwise limit is not.

Details: the rational-point example

A finite set can be covered by intervals of arbitrarily small total length, so the upper sums of \(f_n\)fnf_n can be made arbitrarily small; the lower sums are zero. In contrast, every nondegenerate interval contains both rational and irrational points. For the limit function every upper sum is \(1\)11 and every lower sum is \(0\)00. Thus \(\lim_n\int f_n=0\)limn∫fn=0\lim_n\int f_n=0 exists, while the Riemann integral of \(\lim_n f_n\)limnfn\lim_n f_n does not exist. Lebesgue integration repairs this particular problem: the countable rational set has measure zero, so its indicator has Lebesgue integral zero as well. Exercise 10 asks for the details of this argument and the countable-null-set calculation; its solution is in Section 6.

Second problem: mass can escape to infinity.

  • Construction and outcome. On \(\R\)ℝ\mathbb{R}, let \(f_n(x)=\mathbf1_{[n,n+1]}(x)\)fn(x)=1[n,n+1](x)f_n(x)=\mathbf1_{[n,n+1]}(x). For each fixed \(x\)xx, the block eventually moves past \(x\)xx, so \(f_n(x)\to0\)fn(x)→0f_n(x)\to0, although its area stays one: \[\lim_{n\to\infty}\int_{\R}f_n(x)\,dx =1\neq0=\int_{\R}\lim_{n\to\infty}f_n(x)\,dx.\]limn→∞∫ℝfn(x)dx=1≠0=∫ℝlimn→∞fn(x)dx.\lim_{n\to\infty}\int_{\mathbb{R}}f_n(x)\,dx =1\neq0=\int_{\mathbb{R}}\lim_{n\to\infty}f_n(x)\,dx.

  • Limitation. Here all the integrals exist, whether understood as improper Riemann integrals or Lebesgue integrals. Changing the definition of the integral does not make this exchange valid.

  • Proof route. Exercise 10 also explains which monotone-convergence hypothesis fails and why there is no common integrable dominating function.

The connection to integration with respect to a measure.

  • Construction. Riemann sums weight function values by lengths of intervals. Measure theory extends this idea to measurable sets: a nonnegative simple function \(s=\sum_{j=1}^k c_j\mathbf1_{B_j}\)s=∑j=1kcj1Bjs=\sum_{j=1}^k c_j\mathbf1_{B_j}, with disjoint measurable \(B_j\)BjB_j, has \[\int s\,d\nu=\sum_{j=1}^k c_j\nu(B_j).\]∫sdν=∑j=1kcjν(Bj).\int s\,d\nu=\sum_{j=1}^k c_j\nu(B_j).

  • Convention. Here \(c_j\geq0\)cj≥0c_j\geq0, and the convention \(0\cdot\infty=0\)0⋅∞=00\cdot\infty=0 makes a zero-height piece contribute zero even when its supporting set has infinite measure.

  • Interpretations. Length gives Lebesgue integration; counting gives sums; probability gives expectation. More general integrals are built by approximation.

  • Agreement. On a compact interval, a bounded Riemann-integrable function is Lebesgue integrable and the two integrals agree.

  • Limit exchanges. The extension includes more functions and supplies precise convergence theorems; it does not permit unrestricted limit exchanges.

  • Next lecture. Lecture 3 will distinguish monotone convergence and dominated convergence from Fatou’s inequality. Nonnegativity alone does not give an equality, as the escaping block demonstrates.

  • References. The simple-function construction and the agreement of the two integrals are supported by the integration references.

Instructor’s NoteAn informal picture of the extension

The high-level idea is to broaden the space of Riemann-integrable functions. We work with sets more flexible than intervals, but retain useful rules for measuring them and adding countably many contributions. We still want intervals and their familiar integrals! This gives a better workspace for limits, rather than a promise that every limit can pass through an integral. The two examples above explain why both the larger workspace and the right convergence hypotheses are needed.

2. \(\sigma\)σ\sigma-algebras and measurable spaces

High priorityObservable events and the Borel sigma-algebra
Definition 1\(\sigma\)σ\sigma-algebra

Let \(\Omega\)Ω\Omega be a set. A collection \(\F\subseteq 2^\Omega\)ℱ⊆2Ω\mathcal{F}\subseteq 2^\Omega is a \(\sigma\)σ\sigma-algebra if:

  1. \(\Omega\in\F\)Ω∈ℱ\Omega\in\mathcal{F};

  2. \(A\in\F\)A∈ℱA\in\mathcal{F} implies \(A^c=\Omega\setminus A\in\F\)Ac=Ω\A∈ℱA^c=\Omega\setminus A\in\mathcal{F}; and

  3. \(A_1,A_2,\ldots\in\F\)A1,A2,…∈ℱA_1,A_2,\ldots\in\mathcal{F} implies \(\bigcup_{n=1}^{\infty}A_n\in\F\)⋃n=1∞An∈ℱ\bigcup_{n=1}^{\infty}A_n\in\mathcal{F}.

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

The three axioms immediately imply several closure properties: \[\emptyset\in\F,\qquad \bigcap_{n=1}^{\infty}A_n\in\F,\qquad A\setminus B\in\F \quad\text{for }A,B,A_n\in\F.\]∅∈ℱ,⋂n=1∞An∈ℱ,A\B∈ℱfor A,B,An∈ℱ.\emptyset\in\mathcal{F},\qquad \bigcap_{n=1}^{\infty}A_n\in\mathcal{F},\qquad A\setminus B\in\mathcal{F} \quad\text{for }A,B,A_n\in\mathcal{F}. For example, countable intersections follow from De Morgan’s identity \[\bigcap_{n=1}^{\infty} A_n = \left(\bigcup_{n=1}^{\infty}A_n^c\right)^c.\]⋂n=1∞An=(⋃n=1∞Anc)c.\bigcap_{n=1}^{\infty} A_n = \left(\bigcup_{n=1}^{\infty}A_n^c\right)^c. The word countable matters: a \(\sigma\)σ\sigma-algebra is not required to be closed under arbitrary uncountable unions. For practice with these closure rules, see Exercise 1 and its solution.

Example 1Information carried by a finite \(\sigma\)σ\sigma-algebra

For two coin tosses, let \[\Omega=\{HH,HT,TH,TT\}.\]Ω={HH,HT,TH,TT}.\Omega=\{HH,HT,TH,TT\}. If we observe only the first toss, the available events form \[\F_1=\{\emptyset,\Omega,\{HH,HT\},\{TH,TT\}\}.\]ℱ1={∅,Ω,{HH,HT},{TH,TT}}.\mathcal{F}_1=\{\emptyset,\Omega,\{HH,HT\},\{TH,TT\}\}. This is a \(\sigma\)σ\sigma-algebra. The event \(\{HH,TH\}\){HH,TH}\{HH,TH\}, which asks whether the second toss is heads, is deliberately absent: it cannot be determined from the available information.

The same four outcomes HH, HT, TH, TT form two blocks after the first toss and four singleton blocks after both tosses. More information gives a finer partition.The same four outcomes HH, HT, TH, TT form two blocks after the first toss and four singleton blocks after both tosses. More information gives a finer partition. Panel 1 of 2.The same four outcomes HH, HT, TH, TT form two blocks after the first toss and four singleton blocks after both tosses. More information gives a finer partition. Panel 2 of 2.

Observing the second toss refines two information blocks into four singleton blocks.

Definition 2Generated \(\sigma\)σ\sigma-algebra

For a collection \(\mathcal C\subseteq2^\Omega\)𝒞⊆2Ω\mathcal C\subseteq2^\Omega, the \(\sigma\)σ\sigma-algebra generated by \(\mathcal C\)𝒞\mathcal C is \[\sigma(\mathcal C) = \bigcap\{\mathcal A:\mathcal A\text{ is a $\sigma$-algebra and } \mathcal C\subseteq\mathcal A\}.\]σ(𝒞)=⋂{𝒜:𝒜 is a σ-algebra and 𝒞⊆𝒜}.\sigma(\mathcal C) = \bigcap\{\mathcal A:\mathcal A\text{ is a $\sigma$-algebra and } \mathcal C\subseteq\mathcal A\}. It is the smallest \(\sigma\)σ\sigma-algebra containing \(\mathcal C\)𝒞\mathcal C.

  • Definition. The intersection in this definition is a \(\sigma\)σ\sigma-algebra, so the smallest one really exists. In Euclidean space, the Borel \(\sigma\)σ\sigma-algebra is \[\gB(\R^d)=\sigma\{O:O\subseteq\R^d\text{ is open}\}.\]ℬ(ℝd)=σ{O:O⊆ℝd is open}.\mathcal{B}(\mathbb{R}^d)=\sigma\{O:O\subseteq\mathbb{R}^d\text{ is open}\}.

  • Included sets. It contains all open and closed sets, intervals, rectangles, and every set obtained from these by countably many unions, intersections, and complements.

  • Default target. Unless stated otherwise, random vectors taking values in \(\R^d\)ℝd\mathbb{R}^d use \(\gB(\R^d)\)ℬ(ℝd)\mathcal{B}(\mathbb{R}^d) as their target \(\sigma\)σ\sigma-algebra.

  • Proof route. Exercise 11(1) proves that the intersection really is the smallest \(\sigma\)σ\sigma-algebra; see its solution.

Remark 1Borel sets as a working collection

As an informal working rule, Borel sets are the de facto sets in Euclidean space that we use for observations and events. They include open and closed sets and remain Borel under countable unions, intersections, and complements, but they do not include every subset of \(\R^d\)ℝd\mathbb{R}^d. This is a useful middle ground between just intervals and all possible subsets.1

Mid priorityUseful generators and limit operations on sets
Remark 2Intervals and rectangles are Borel

Sets such as \((a,b]\)(a,b](a,b] and \([a,b]\)[a,b][a,b] are Borel. In \(\R^d\)ℝd\mathbb{R}^d, the rectangles \[(a_1,b_1]\times\cdots\times(a_d,b_d] =\prod_{j=1}^d(a_j,b_j]\](a1,b1]×⋯×(ad,bd]=∏j=1d(aj,bj](a_1,b_1]\times\cdots\times(a_d,b_d] =\prod_{j=1}^d(a_j,b_j] are Borel as well, and these rectangles generate \(\gB(\R^d)\)ℬ(ℝd)\mathcal{B}(\mathbb{R}^d).

The same Borel \(\sigma\)σ\sigma-algebra on \(\R\)ℝ\mathbb{R} is generated by any of the following collections: \[\{(-\infty,a]:a\in\R\},\qquad \{(a,b]:a<b\},\qquad \{(a,b):a<b\}.\]{(−∞,a]:a∈ℝ},{(a,b]:a<b},{(a,b):a<b}.\{(-\infty,a]:a\in\mathbb{R}\},\qquad \{(a,b]:a<b\},\qquad \{(a,b):a<b\}. It is enough to restrict the endpoints to rational numbers when open intervals are used. For instance, \[(a,b)= \bigcup_{\substack{r,s\in\Q\\a<r<s<b}}(r,s),\](a,b)=⋃r,s∈ℚa<r<s<b(r,s),(a,b)= \bigcup_{\substack{r,s\in\mathbb{Q}\\a<r<s<b}}(r,s), and the union is countable. These equivalent generators are useful because measurability needs to be checked only on a generating class. The countable-basis and rectangle steps are proved in Exercise 5; the generating-class test for functions is proved in Exercise 11.

Set limits are also written as \[\liminf_{n\to\infty} A_n =\bigcup_{m=1}^{\infty}\bigcap_{n\ge m}A_n, \qquad \limsup_{n\to\infty} A_n =\bigcap_{m=1}^{\infty}\bigcup_{n\ge m}A_n.\]liminfn→∞An=⋃m=1∞⋂n≥mAn,limsupn→∞An=⋂m=1∞⋃n≥mAn.\liminf_{n\to\infty} A_n =\bigcup_{m=1}^{\infty}\bigcap_{n\ge m}A_n, \qquad \limsup_{n\to\infty} A_n =\bigcap_{m=1}^{\infty}\bigcup_{n\ge m}A_n. The first is the event that all but finitely many \(A_n\)AnA_n occur; the second is the event that infinitely many \(A_n\)AnA_n occur. Both are measurable whenever all \(A_n\)AnA_n are measurable.

A useful limiting-set picture.

  • Construction. If \(a<b_n<b\)a<bn<ba<b_n<b and \(b_n\uparrow b\)bn↑bb_n\uparrow b, then \[(a,b)=\bigcup_{n=1}^{\infty}(a,b_n].\](a,b)=⋃n=1∞(a,bn].(a,b)=\bigcup_{n=1}^{\infty}(a,b_n].

  • Endpoint matters. This is a concrete reason to want countable unions: the limiting interval is still measurable. The endpoint matters—if we allowed \(b_n=b\)bn=bb_n=b, the union instead contains \(b\)bb and equals \((a,b]\)(a,b](a,b].

  • Proof route. The membership arguments for this identity and the two set limits appear in Exercise 9.

3. Measures and probability measures

High priorityDefinition, calculations, and continuity of measures

The length of \((a,b]\)(a,b](a,b] is \(b-a\)b−ab-a, and the volume of a rectangle \(\prod_{j=1}^d(a_j,b_j]\)∏j=1d(aj,bj]\prod_{j=1}^d(a_j,b_j] is \(\prod_{j=1}^d(b_j-a_j)\)∏j=1d(bj−aj)\prod_{j=1}^d(b_j-a_j). A measure extends this familiar idea of size to sets in an abstract measurable space.

Definition 3Measure

Let \((\Omega,\F)\)(Ω,ℱ)(\Omega,\mathcal{F}) be a measurable space. A function \(\nu:\F\to[0,\infty]\)ν:ℱ→[0,∞]\nu:\mathcal{F}\to[0,\infty] is a measure if:

  1. \(\nu(\emptyset)=0\)ν(∅)=0\nu(\emptyset)=0; and

  2. for every pairwise disjoint sequence \(A_1,A_2,\ldots\in\F\)A1,A2,…∈ℱA_1,A_2,\ldots\in\mathcal{F}, \[\nu\left(\bigcup_{n=1}^{\infty}A_n\right) = \sum_{n=1}^{\infty}\nu(A_n).\]ν(⋃n=1∞An)=∑n=1∞ν(An).\nu\left(\bigcup_{n=1}^{\infty}A_n\right) = \sum_{n=1}^{\infty}\nu(A_n).

The triple \((\Omega,\F,\nu)\)(Ω,ℱ,ν)(\Omega,\mathcal{F},\nu) is a measure space. If \(\nu(\Omega)=1\)ν(Ω)=1\nu(\Omega)=1, then \(\nu\)ν\nu is a probability measure, usually denoted by \(P\)PP, and \((\Omega,\F,P)\)(Ω,ℱ,P)(\Omega,\mathcal{F},P) is a probability space.

Countable additivity yields the following rules that are used constantly.

Proposition 1Basic measure calculations

Let \(\nu\)ν\nu be a measure.

  1. If \(A\subseteq B\)A⊆BA\subseteq B, then \(\nu(A)\leq\nu(B)\)ν(A)≤ν(B)\nu(A)\leq\nu(B).

  2. For arbitrary \(A_1,A_2,\ldots\in\F\)A1,A2,…∈ℱA_1,A_2,\ldots\in\mathcal{F}, \[\nu\left(\bigcup_{n=1}^{\infty}A_n\right) \leq \sum_{n=1}^{\infty}\nu(A_n).\]ν(⋃n=1∞An)≤∑n=1∞ν(An).\nu\left(\bigcup_{n=1}^{\infty}A_n\right) \leq \sum_{n=1}^{\infty}\nu(A_n).

  3. If \(A_n\uparrow A\)An↑AA_n\uparrow A, meaning \(A_1\subseteq A_2\subseteq\cdots\)A1⊆A2⊆⋯A_1\subseteq A_2\subseteq\cdots and \(A=\bigcup_nA_n\)A=⋃nAnA=\bigcup_nA_n, then \[\nu(A_n)\uparrow\nu(A).\]ν(An)↑ν(A).\nu(A_n)\uparrow\nu(A).

  4. If \(A_n\downarrow A\)An↓AA_n\downarrow A and \(\nu(A_1)<\infty\)ν(A1)<∞\nu(A_1)<\infty, then \[\nu(A_n)\downarrow\nu(A).\]ν(An)↓ν(A).\nu(A_n)\downarrow\nu(A).

Nested disks of radii 1 minus 2 to the minus n fill the open unit disk. Their areas increase to pi. The finite sketch illustrates an infinite sequence.Nested disks of radii 1 minus 2 to the minus n fill the open unit disk. Their areas increase to pi. The finite sketch illustrates an infinite sequence. Panel 1 of 2.Nested disks of radii 1 minus 2 to the minus n fill the open unit disk. Their areas increase to pi. The finite sketch illustrates an infinite sequence. Panel 2 of 2.

For disks \(A_n\)AnA_n of radius \(1-2^{-n}\)1−2−n1-2^{-n}, \(m_2(A_n)=\pi(1-2^{-n})^2\uparrow\pi\)m2(An)=π(1−2−n)2↑πm_2(A_n)=\pi(1-2^{-n})^2\uparrow\pi. The finite drawing illustrates an infinite sequence.

Proof. For monotonicity, write \(B=A\cup(B\setminus A)\)B=A∪(B\A)B=A\cup(B\setminus A) as a disjoint union. For countable subadditivity, replace \(A_n\)AnA_n by the disjoint sets \[B_1=A_1,\qquad B_n=A_n\setminus\bigcup_{j<n}A_j,\quad n\ge2.\]B1=A1,Bn=An\⋃j<nAj,n≥2.B_1=A_1,\qquad B_n=A_n\setminus\bigcup_{j<n}A_j,\quad n\ge2. Then \(\bigcup_nB_n=\bigcup_nA_n\)⋃nBn=⋃nAn\bigcup_nB_n=\bigcup_nA_n and \(\nu(B_n)\le\nu(A_n)\)ν(Bn)≤ν(An)\nu(B_n)\le\nu(A_n).

For continuity from below, use the disjoint increments \(B_1=A_1\)B1=A1B_1=A_1 and \(B_n=A_n\setminus A_{n-1}\)Bn=An\An−1B_n=A_n\setminus A_{n-1}. Countable additivity gives \[\nu(A)=\sum_{n=1}^{\infty}\nu(B_n) =\lim_{m\to\infty}\sum_{n=1}^m\nu(B_n) =\lim_{m\to\infty}\nu(A_m).\]ν(A)=∑n=1∞ν(Bn)=limm→∞∑n=1mν(Bn)=limm→∞ν(Am).\nu(A)=\sum_{n=1}^{\infty}\nu(B_n) =\lim_{m\to\infty}\sum_{n=1}^m\nu(B_n) =\lim_{m\to\infty}\nu(A_m). For continuity from above, apply continuity from below to \(A_1\setminus A_n\uparrow A_1\setminus A\)A1\An↑A1\AA_1\setminus A_n\uparrow A_1\setminus A and subtract from \(\nu(A_1)\)ν(A1)\nu(A_1). The finiteness of \(\nu(A_1)\)ν(A1)\nu(A_1) prevents the undefined subtraction \(\infty-\infty\)∞−∞\infty-\infty. ◻

Example 2Three fundamental measures
  1. For \(x\in\Omega\)x∈Ωx\in\Omega, the Dirac measure at \(x\)xx is \[\delta_x(A)=\mathbf 1\{x\in A\}.\]δx(A)=1{x∈A}.\delta_x(A)=\mathbf 1\{x\in A\}.

  2. On a countable set with all subsets measurable, the counting measure is \(\nu_{\mathrm{count}}(A)=|A|\)νcount(A)=|A|\nu_{\mathrm{count}}(A)=|A|, allowing the value \(\infty\)∞\infty.

  3. The Lebesgue measure \(m\)mm on \((\R,\gB(\R))\)(ℝ,ℬ(ℝ))(\mathbb{R},\mathcal{B}(\mathbb{R})) is the unique translation-invariant Borel measure normalized by \[m((a,b])=b-a,\qquad -\infty<a<b<\infty.\]m((a,b])=b−a,−∞<a<b<∞.m((a,b])=b-a,\qquad -\infty<a<b<\infty.

Length as a probability.

  • Construction. Restricting Lebesgue measure to \([0,1]\)[0,1][0,1] gives a probability measure, since \(m([0,1])=1\)m([0,1])=1m([0,1])=1. Its measurable sets form the trace \(\sigma\)σ\sigma-algebra \[\gB_{[0,1]}=\{[0,1]\cap B:B\in\gB(\R)\}.\]ℬ[0,1]={[0,1]∩B:B∈ℬ(ℝ)}.\mathcal{B}_{[0,1]}=\{[0,1]\cap B:B\in\mathcal{B}(\mathbb{R})\}.

  • Interpretation. This is the familiar uniform probability on \([0,1]\)[0,1][0,1]: the probability of an interval inside \([0,1]\)[0,1][0,1] is its length.

  • Inherited properties. The trace collection inherits countable unions and complements relative to \([0,1]\)[0,1][0,1], and countable additivity is inherited from \(m\)mm.

  • Discrete. Discrete probability measures are weighted sums of Dirac measures: \[P=\sum_{k=1}^{\infty}p_k\delta_{x_k}, \qquad p_k\ge0,\qquad \sum_{k=1}^{\infty}p_k=1.\]P=∑k=1∞pkδxk,pk≥0,∑k=1∞pk=1.P=\sum_{k=1}^{\infty}p_k\delta_{x_k}, \qquad p_k\ge0,\qquad \sum_{k=1}^{\infty}p_k=1.

  • Density. An absolutely continuous probability measure on \(\R\)ℝ\mathbb{R} takes the familiar form \(P(A)=\int_A f(x)\,dx\)P(A)=∫Af(x)dxP(A)=\int_A f(x)\,dx for a nonnegative density \(f\)ff satisfying \(\int f=1\)∫f=1\int f=1. Lecture 3 will unify both formulas as integration with respect to a measure.

  • Justification. Exercise 3 verifies the discrete construction, including the interchange of its two nonnegative sums. The existence and uniqueness of Lebesgue measure and the density characterization are covered by the measure-construction references.

Mid priorityCDFs, sigma-finiteness, and finite product measures

Cumulative distribution functions.

  • Definition and properties. For a probability measure \(P\)PP on \((\R,\gB(\R))\)(ℝ,ℬ(ℝ))(\mathbb{R},\mathcal{B}(\mathbb{R})), define \[F(x)=P((-\infty,x]).\]F(x)=P((−∞,x]).F(x)=P((-\infty,x]). Then \(F\)FF is nondecreasing and right-continuous, with \(F(x)\to0\)F(x)→0F(x)\to0 as \(x\to-\infty\)x→−∞x\to-\infty and \(F(x)\to1\)F(x)→1F(x)\to1 as \(x\to\infty\)x→∞x\to\infty.

  • Converse. Conversely, every function having these four properties determines a unique probability measure on \(\gB(\R)\)ℬ(ℝ)\mathcal{B}(\mathbb{R}), with \[P((a,b])=F(b)-F(a).\]P((a,b])=F(b)−F(a).P((a,b])=F(b)-F(a).

  • Existence. Thus a CDF always exists, even when neither a probability mass function nor a Lebesgue density exists.

  • Random vector. For a random vector with law \(P_X\)PXP_X on \(\R^d\)ℝd\mathbb{R}^d, the same idea gives \[F(x_1,\ldots,x_d) =P_X\bigl((-\infty,x_1]\times\cdots\times(-\infty,x_d]\bigr).\]F(x1,…,xd)=PX((−∞,x1]×⋯×(−∞,xd]).F(x_1,\ldots,x_d) =P_X\left((-\infty,x_1]\times\cdots\times(-\infty,x_d]\right). This is the multivariate cumulative distribution function.

  • Proof route. The forward properties of a CDF are proved in Exercise 12. For the converse existence and uniqueness assertion, see the cited construction and inverse-CDF proofs.

  • Extra condition. The four one-dimensional conditions alone are not a multivariate characterization; rectangle increments must also be nonnegative.

Sigma-finiteness.

  • Definition. A measure \(\nu\)ν\nu is \(\sigma\)σ\sigma-finite if \[\Omega=\bigcup_{n=1}^{\infty}E_n \quad\text{for measurable }E_n\text{ with }\nu(E_n)<\infty.\]Ω=⋃n=1∞Enfor measurable En with ν(En)<∞.\Omega=\bigcup_{n=1}^{\infty}E_n \quad\text{for measurable }E_n\text{ with }\nu(E_n)<\infty.

  • Examples and use. Probability measures, Lebesgue measure on \(\R^d\)ℝd\mathbb{R}^d, and counting measure on a countable set are \(\sigma\)σ\sigma-finite. This mild condition supports the product and Radon–Nikodym theorems used later.

  • Covers. Concrete covers are the whole space for a probability measure, \([-n,n]^d\)[−n,n]d[-n,n]^d for Lebesgue measure, and finite initial segments of an enumeration for a countable space.

Product measures.

  • Measurable sets. For measurable spaces \((\Omega_i,\F_i)\)(Ωi,ℱi)(\Omega_i,\mathcal{F}_i), define \[\F_1\otimes\F_2 = \sigma\{A_1\times A_2:A_i\in\F_i\}.\]ℱ1⊗ℱ2=σ{A1×A2:Ai∈ℱi}.\mathcal{F}_1\otimes\mathcal{F}_2 = \sigma\{A_1\times A_2:A_i\in\mathcal{F}_i\}.

  • Measure. If \(\nu_1\)ν1\nu_1 and \(\nu_2\)ν2\nu_2 are \(\sigma\)σ\sigma-finite measures, there is a unique product measure \(\nu_1\otimes\nu_2\)ν1⊗ν2\nu_1\otimes\nu_2 satisfying \[(\nu_1\otimes\nu_2)(A_1\times A_2) = \nu_1(A_1)\nu_2(A_2).\](ν1⊗ν2)(A1×A2)=ν1(A1)ν2(A2).(\nu_1\otimes\nu_2)(A_1\times A_2) = \nu_1(A_1)\nu_2(A_2).

  • Extension. The theorem says much more than the rectangle formula: it extends that formula consistently to every event in the product \(\sigma\)σ\sigma-algebra. Lecture 3 will use the product measure in Tonelli’s and Fubini’s theorems.

  • Proof route. The general existence/uniqueness proof is in the product-measure reference; Exercise 7 works out the finite case and contrasts it with dependent coordinates.

    Dyadic squares lying inside the open unit disk give increasingly fine inner approximations. Rectangles generate the product Borel sigma-algebra, which also contains nonrectangular sets.Dyadic squares lying inside the open unit disk give increasingly fine inner approximations. Rectangles generate the product Borel sigma-algebra, which also contains nonrectangular sets. Panel 1 of 3.Dyadic squares lying inside the open unit disk give increasingly fine inner approximations. Rectangles generate the product Borel sigma-algebra, which also contains nonrectangular sets. Panel 2 of 3.Dyadic squares lying inside the open unit disk give increasingly fine inner approximations. Rectangles generate the product Borel sigma-algebra, which also contains nonrectangular sets. Panel 3 of 3.

    Rectangles generate the product sigma-algebra; sets in that sigma-algebra need not themselves be rectangles. The squares approximate the open disk from inside.

4. Measurable functions, random variables, and laws

High priorityMeasurability tests and pushforward distributions
Quick Recall
σ-algebra

  • Familiar class. The next step is to broaden our familiar class of continuous functions.

  • Method. The useful idea is to express a condition on a function in terms of the sets it pulls back.

  • Reason. This is why inverse images are the central device.

For a map \(f:\Omega\to\Lambda\)f:Ω→Λf:\Omega\to\Lambda and a set \(B\subseteq\Lambda\)B⊆ΛB\subseteq\Lambda, the inverse image is \[f^{-1}(B)=\{\omega\in\Omega:f(\omega)\in B\}.\]f−1(B)={ω∈Ω:f(ω)∈B}.f^{-1}(B)=\{\omega\in\Omega:f(\omega)\in B\}. Inverse images preserve the set operations used by \(\sigma\)σ\sigma-algebras: \[\begin{split} f^{-1}(B^c)&=(f^{-1}(B))^c,\\ f^{-1}\left(\bigcup_nB_n\right)&=\bigcup_nf^{-1}(B_n),\\ f^{-1}\left(\bigcap_nB_n\right)&=\bigcap_nf^{-1}(B_n). \end{split}\]f−1(Bc)=(f−1(B))c,f−1(⋃nBn)=⋃nf−1(Bn),f−1(⋂nBn)=⋂nf−1(Bn).\begin{split} f^{-1}(B^c)&=(f^{-1}(B))^c,\\ f^{-1}\left(\bigcup_nB_n\right)&=\bigcup_nf^{-1}(B_n),\\ f^{-1}\left(\bigcap_nB_n\right)&=\bigcap_nf^{-1}(B_n). \end{split}

Definition 4Measurable function

Let \((\Omega,\F)\)(Ω,ℱ)(\Omega,\mathcal{F}) and \((\Lambda,\gG)\)(Λ,𝒢)(\Lambda,\mathcal{G}) be measurable spaces. A map \(f:\Omega\to\Lambda\)f:Ω→Λf:\Omega\to\Lambda is \((\F,\gG)\)(ℱ,𝒢)(\mathcal{F},\mathcal{G})-measurable if \[f^{-1}(B)\in\F\qquad\text{for every }B\in\gG.\]f−1(B)∈ℱfor every B∈𝒢.f^{-1}(B)\in\mathcal{F}\qquad\text{for every }B\in\mathcal{G}.

  • Criterion. It is enough to verify inverse images on a class that generates \(\gG\)𝒢\mathcal{G}. In particular, a real-valued \(f\)ff is measurable if and only if \[\{\omega:f(\omega)\le a\}\in\F \qquad\text{for every }a\in\R.\]{ω:f(ω)≤a}∈ℱfor every a∈ℝ.\{\omega:f(\omega)\le a\}\in\mathcal{F} \qquad\text{for every }a\in\mathbb{R}.

  • Use. This is often the most useful calculation-based test.

  • Proof route. Exercise 11(2) proves the generating-class test; the solution explains why half-lines suffice.

Borel functions in practice.

  • Meaning. For maps between Euclidean spaces, a Borel function means a measurable function when both spaces carry their Borel \(\sigma\)σ\sigma-algebras.

  • Convention. Unless specified otherwise, transformations used below are Borel measurable.

  • Continuous case. A continuous function pulls open sets back to open sets, which explains why continuous functions are Borel measurable.

Proposition 2Operations that preserve measurability
  1. Every continuous \(f:\R^d\to\R^k\)f:ℝd→ℝkf:\mathbb{R}^d\to\mathbb{R}^k is Borel measurable.

  2. If \(f:(\Omega,\F)\to(\Lambda,\gG)\)f:(Ω,ℱ)→(Λ,𝒢)f:(\Omega,\mathcal{F})\to(\Lambda,\mathcal{G}) and \(g:(\Lambda,\gG)\to(\Xi,\gH)\)g:(Λ,𝒢)→(Ξ,ℋ)g:(\Lambda,\mathcal{G})\to(\Xi,\mathcal{H}) are measurable, then \(g\circ f\)g∘fg\circ f is measurable.

  3. If \(f\)ff and \(g\)gg are real-valued measurable functions, then \(f+g\)f+gf+g, \(fg\)fgfg, \(\min(f,g)\)min(f,g)\min(f,g), and \(\max(f,g)\)max(f,g)\max(f,g) are measurable.

  4. If \(f_1,f_2,\ldots\)f1,f2,…f_1,f_2,\ldots are extended real-valued measurable functions, then \(\inf_nf_n\)infnfn\inf_nf_n, \(\sup_nf_n\)supnfn\sup_nf_n, \(\liminf_nf_n\)liminfnfn\liminf_nf_n, and \(\limsup_nf_n\)limsupnfn\limsup_nf_n are measurable.

These claims follow from inverse-image identities or composition with continuous maps. The worked supremum identity is left to the complete solution in Section 6. Complete proofs of the composition and arithmetic steps appear in Exercise 11; the countable supremum/infimum steps, including infinite values, appear in Exercise 4.

  • Closure. Composition retains a familiar property of continuous functions; closure under countable suprema and pointwise limits is an additional advantage of measurable functions.

  • Example. The rational-point indicators in Section 1.2 illustrate that measurability survives even when Riemann integrability does not.

  • Caveat. They do not give an example of continuous functions losing continuity: the finite-point indicators already have discontinuities.

Definition 5Random variable and random vector

On a probability space \((\Omega,\F,P)\)(Ω,ℱ,P)(\Omega,\mathcal{F},P), a random variable is a measurable map \[X:(\Omega,\F)\longrightarrow(\R,\gB(\R)).\]X:(Ω,ℱ)→(ℝ,ℬ(ℝ)).X:(\Omega,\mathcal{F})\longrightarrow(\mathbb{R},\mathcal{B}(\mathbb{R})). A measurable map into \((\R^d,\gB(\R^d))\)(ℝd,ℬ(ℝd))(\mathbb{R}^d,\mathcal{B}(\mathbb{R}^d)) is a random vector.

These maps turn a potentially complicated sample space into numerical observations. The abbreviation “r.v.” means random variable; informally, the term is sometimes also used for random vectors.

Definition 6Law or distribution

The law of a random variable \(X\)XX is the probability measure \[P_X=P\circ X^{-1}, \qquad P_X(B)=P(X\in B),\quad B\in\gB(\R).\]PX=P∘X−1,PX(B)=P(X∈B),B∈ℬ(ℝ).P_X=P\circ X^{-1}, \qquad P_X(B)=P(X\in B),\quad B\in\mathcal{B}(\mathbb{R}). It is also denoted by \(\mathcal L(X)\)ℒ(X)\mathcal L(X) or \(\mu_X\)μX\mu_X.

  • Event notation. The notation \(P(X\in B)\)P(X∈B)P(X\in B) is shorthand for \(P(\{\omega:X(\omega)\in B\})\)P({ω:X(ω)∈B})P(\{\omega:X(\omega)\in B\}). Measurability is exactly what guarantees that this inverse image is an event to which \(P\)PP may be applied.

  • Justification. Why the law is a probability measure, and why \(P_{h(X)}=P_X\circ h^{-1}\)Ph(X)=PX∘h−1P_{h(X)}=P_X\circ h^{-1}, are verified in Exercise 11(4).

A finite inverse-image picture.

On \(\Omega=\{a,b,c,d\}\)Ω={a,b,c,d}\Omega=\{a,b,c,d\} with all subsets measurable and each outcome of probability \(1/4\)1/41/4, define the random variable \(X\)XX by \[\begin{array}{c|rrrr} \omega&a&b&c&d\\\hline X(\omega)&-1&0&0&2 \end{array}\]ωabcdX(ω)−1002\begin{array}{c|rrrr} \omega&a&b&c&d\\\hline X(\omega)&-1&0&0&2 \end{array} Choose a closed interval \(B=[\ell,r]\)B=[ℓ,r]B=[\ell,r] with integer endpoints \(-2\le\ell\le r\le3\)−2≤ℓ≤r≤3-2\le\ell\le r\le3. Which outcomes belong to \(X^{-1}(B)\)X−1(B)X^{-1}(B), and how much probability does \(P_X\)PXP_X assign to \(B\)BB? Compare a singleton interval with an interval that contains none of the observed values.

Explore an inverse image

Outcomes in ΩValues of XBa·b✓c✓d·-102Outcomes in ΩValues of XBa·b✓c✓d·-102

✓ marks an outcome in the inverse image.

B = [0, 0]; X⁻¹(B) = {b, c}; P_X(B) = 0.5.

Outcomes in ΩValues of XBa·b✓c✓d·-102Outcomes in ΩValues of XBa·b✓c✓d·-102

✓ marks an outcome in the inverse image.

Read the explanation

  • Direction. The map \(X\)XX sends outcomes to numbers. An inverse image instead pulls a set of numbers back to outcomes.

  • Probability. Add the probabilities of those outcomes to obtain \(P_X(B)=P(X^{-1}(B))\)PX(B)=P(X−1(B))P_X(B)=P(X^{-1}(B)); repeated values of \(X\)XX collect multiple masses.

  • Caveat. No inverse function is needed, and a nonempty interval can have an empty inverse image.

For \(B=[0,0]=\{0\}\)B=[0,0]={0}B=[0,0]=\{0\}, the inverse image is \(\{b,c\}\){b,c}\{b,c\} and \(P_X(B)=1/4+1/4=1/2\)PX(B)=1/4+1/4=1/2P_X(B)=1/4+1/4=1/2. For \(B=[3,3]\)B=[3,3]B=[3,3], it is empty and \(P_X(B)=0\)PX(B)=0P_X(B)=0. These are exact finite probabilities, not simulation estimates.

Example 3A law supported on a curve

For \((X,Y)=(\cos U,\sin U)\)(X,Y)=(cosU,sinU)(X,Y)=(\cos U,\sin U), the law \(P_{(X,Y)}\)P(X,Y)P_{(X,Y)} is the pushforward of the uniform law on \([0,2\pi)\)[0,2π)[0,2\pi). If \(S=\{(x,y):x^2+y^2=1\}\)S={(x,y):x2+y2=1}S=\{(x,y):x^2+y^2=1\}, then \[P_{(X,Y)}(S)=1 \quad\text{but}\quad m_2(S)=0,\]P(X,Y)(S)=1butm2(S)=0,P_{(X,Y)}(S)=1 \quad\text{but}\quad m_2(S)=0, where \(m_2\)m2m_2 is two-dimensional Lebesgue measure. If a Lebesgue density existed, its integral over \(S\)SS would be zero, a contradiction. The law exists; only a particular representation of it as a two-dimensional density fails. For the area-zero calculation and the rectangle-identity argument, return to Exercise 6.

Mid priorityHow measurable maps encode statistical transformations

Solid arrows map outcomes forward through X and h. Dashed arrows pull an event C back through h and then X; the pulled-back event lives in the original sample space.

Maps carry outcomes forward; inverse images pull events back into the original sample space.

If \(X=(X_1,\ldots,X_d)\)X=(X1,…,Xd)X=(X_1,\ldots,X_d) is a random vector and \(h:\R^d\to\R^k\)h:ℝd→ℝkh:\mathbb{R}^d\to\mathbb{R}^k is Borel measurable, then \(h(X)\)h(X)h(X) is a random vector. This single statement validates familiar constructions such as \[\bar X_n=\frac1n\sum_{i=1}^nX_i,\qquad \max_{1\le i\le n}X_i,\qquad \|X\|_2,\qquad \mathbf 1\{X\in B\}.\]X‾n=1n∑i=1nXi,max1≤i≤nXi,∥X∥2,1{X∈B}.\bar X_n=\frac1n\sum_{i=1}^nX_i,\qquad \max_{1\le i\le n}X_i,\qquad \|X\|_2,\qquad \mathbf 1\{X\in B\}. The law of \(h(X)\)h(X)h(X) can be written as another pushforward: \[P_{h(X)}=P_X\circ h^{-1}.\]Ph(X)=PX∘h−1.P_{h(X)}=P_X\circ h^{-1}. This viewpoint separates two objects that are often conflated:

  • \(X\)XX is a function on the original sample space; and

  • \(P_X\)PXP_X is a probability measure on the observation space.

Most statistical calculations depend only on \(P_X\)PXP_X, but almost-sure comparisons between several random variables depend on how they are jointly defined on \(\Omega\)Ω\Omega.

Remark 3An informal conclusion: why the abstraction helps

The point of the abstraction is to find a useful mathematical workspace in which our operations are rigorous. We want familiar sets such as intervals, closure under countable operations, and functions that preserve measurable events. Borel sets and Borel measurable functions are the standard starting point. This is not a blanket objection to using all subsets: on a finite or countable sample space that is natural. In Euclidean space, however, ordinary length cannot be extended to every subset while retaining both countable additivity and translation invariance. The Vitali-set reference gives the precise obstruction; its set-theoretic construction is optional.

5. Technical extensions and further reading

Low priority — not examined: Completion and null-set modifications

The Borel \(\sigma\)σ\sigma-algebra is generated by topology, but it is not complete with respect to Lebesgue measure: a subset of a Borel null set need not itself be Borel. The Lebesgue \(\sigma\)σ\sigma-algebra is the completion of \(\gB(\R^d)\)ℬ(ℝd)\mathcal{B}(\mathbb{R}^d) under Lebesgue measure. It contains every set of the form \[B\cup N,\qquad B\in\gB(\R^d),\quad N\subseteq Z,\quad Z\in\gB(\R^d),\quad m(Z)=0.\]B∪N,B∈ℬ(ℝd),N⊆Z,Z∈ℬ(ℝd),m(Z)=0.B\cup N,\qquad B\in\mathcal{B}(\mathbb{R}^d),\quad N\subseteq Z,\quad Z\in\mathcal{B}(\mathbb{R}^d),\quad m(Z)=0. The completed measure assigns \(N\)NN measure zero.

Completion formalizes the principle that changing an object on a null set should not affect its integral or probability. It also explains why one must specify the relevant \(\sigma\)σ\sigma-algebra when using the phrase “measurable function”: Borel measurability and Lebesgue measurability are closely related but not identical.

An informal picture of completion.

Completion allows all changes to measurable sets on sets of measure zero. For real-valued functions on \(\R^d\)ℝd\mathbb{R}^d, keeping the target Borel \(\sigma\)σ\sigma-algebra fixed, this gives the hierarchy \[\{\text{Borel measurable functions}\} \subseteq\{\text{Lebesgue measurable functions}\}.\]{Borel measurable functions}⊆{Lebesgue measurable functions}.\{\text{Borel measurable functions}\} \subseteq\{\text{Lebesgue measurable functions}\}.

Optional size comparison.

For \(d\geq1\)d≥1d\geq1, the Borel sets have the same cardinality as \(\R\)ℝ\mathbb{R}, whereas the collection of all subsets of \(\R^d\)ℝd\mathbb{R}^d has strictly larger cardinality: \[|\gB(\R^d)|=|\R|<|2^{\R^d}|.\]|ℬ(ℝd)|=|ℝ|<|2ℝd|.|\mathcal{B}(\mathbb{R}^d)|=|\mathbb{R}|<|2^{\mathbb{R}^d}|. Thus some subsets are not Borel. There are even non-Borel subsets of Borel null sets, which completion makes measurable. The set-theoretic argument is optional; see Tao’s An Introduction to Measure Theory, Exercise 1.4.16. For the full completion construction, see the proof reference; Exercise 8 checks what happens to subsets of a null set. Return to the core Borel definition.

Low priority — not examined: Infinite products and random measures

Finite product measures are not by themselves a construction of an infinite sequence \(X_1,X_2,\ldots\)X1,X2,…X_1,X_2,\ldots. For finite-state or Euclidean coordinate spaces, the Kolmogorov extension theorem gives an infinite-dimensional probability measure when a consistent family of finite-dimensional distributions is supplied. This is the rigorous foundation for canonical sequence and stochastic-process models. The space assumptions and proof are stated in the extension-theorem reference.

A measure can itself also be data. Let \(Y_n\)YnY_n be a symmetric random matrix, and write its eigenvalues as \(\lambda_1,\ldots,\lambda_n\)λ1,…,λn\lambda_1,\ldots,\lambda_n. Its empirical spectral distribution is the random probability measure \[\mu_{Y_n}=\frac1n\sum_{i=1}^n\delta_{\lambda_i}.\]μYn=1n∑i=1nδλi.\mu_{Y_n}=\frac1n\sum_{i=1}^n\delta_{\lambda_i}. For a normalized Gaussian orthogonal ensemble, this random measure converges under suitable conditions to the semicircle law with density \[x\longmapsto \frac{1}{2\pi}\sqrt{4-x^2}\, \mathbf 1\{|x|\le2\}.\]x↦12π4−x21{|x|≤2}.x\longmapsto \frac{1}{2\pi}\sqrt{4-x^2}\, \mathbf 1\{|x|\le2\}. The density is interpreted as zero outside \([-2,2]\)[−2,2][-2,2], as in the piecewise formula in the introductory preview. This example motivates later notions of weak convergence for measures; see [5].

Return to the core definition of a law.

Further reading: References, construction theorems, and self-study

For a probability-oriented development of measurable spaces, measures, and measurable maps, see Chapters 1–2 of [1]. Sections 1.1–1.2 of [4] emphasize the statistical viewpoint. A more analysis-centered treatment, including construction and completion of Lebesgue measure, appears in [3].

Useful self-study directions are:

  • the Carathéodory extension theorem, which constructs a measure from its values on a simpler class of sets;

  • the monotone-class and \(\pi\)π\pi–\(\lambda\)λ\lambda theorems, which reduce equality and measurability checks to generators;

  • the Kolmogorov extension theorem for stochastic processes; and

  • random probability measures and empirical distributions.

Key ideas

  • A sigma-algebra specifies which sets can be assigned probabilities.

  • Countable additivity yields monotonicity, subadditivity and continuity of measures.

  • Random variables are measurable maps; their laws live on the value space.

  • One measure-theoretic language includes discrete, continuous and singular models.

Looking ahead

Lecture 3 builds integrals from the measures introduced here. It then asks when a limit or a change in integration order preserves the answer. Continue to Lecture 3.

6. Exercises and complete solutions12 exercises · complete solutions

The solution links in the main text lead directly to the relevant analysis below. Exercises 9–12 give additional justifications; Section 6.2 provides precise references for longer construction theorems.

High priorityCore practice: sigma-algebra calculations
Exercise 1Closure properties and observed information#

Let \(\F\)ℱ\mathcal{F} be a \(\sigma\)σ\sigma-algebra on \(\Omega\)Ω\Omega.

  1. Prove that \(\F\)ℱ\mathcal{F} is closed under countable intersections and set differences.

  2. Let \(\Omega=\{1,2,3,4,5,6\}\)Ω={1,2,3,4,5,6}\Omega=\{1,2,3,4,5,6\} and \(A=\{1,3,5\}\)A={1,3,5}A=\{1,3,5\}. Find \(\sigma(\{A\})\)σ({A})\sigma(\{A\}), the smallest \(\sigma\)σ\sigma-algebra containing \(A\)AA.

  3. Is \(\{1,2\}\){1,2}\{1,2\} measurable with respect to \(\sigma(\{A\})\)σ({A})\sigma(\{A\})? Interpret the answer in terms of information.

Reveal solution

For \(A_n\in\F\)An∈ℱA_n\in\mathcal{F}, each \(A_n^c\)AncA_n^c belongs to \(\F\)ℱ\mathcal{F}, and hence \[\bigcap_{n=1}^{\infty}A_n = \left(\bigcup_{n=1}^{\infty}A_n^c\right)^c \in\F.\]⋂n=1∞An=(⋃n=1∞Anc)c∈ℱ.\bigcap_{n=1}^{\infty}A_n = \left(\bigcup_{n=1}^{\infty}A_n^c\right)^c \in\mathcal{F}. For \(A,B\in\F\)A,B∈ℱA,B\in\mathcal{F}, \(A\setminus B=A\cap B^c\in\F\)A\B=A∩Bc∈ℱA\setminus B=A\cap B^c\in\mathcal{F}.

A \(\sigma\)σ\sigma-algebra containing \(A\)AA must also contain \(A^c\)AcA^c, \(\emptyset\)∅\emptyset, and \(\Omega\)Ω\Omega. The collection \[\{\emptyset,\Omega,A,A^c\} = \{\emptyset,\Omega,\{1,3,5\},\{2,4,6\}\}\]{∅,Ω,A,Ac}={∅,Ω,{1,3,5},{2,4,6}}\{\emptyset,\Omega,A,A^c\} = \{\emptyset,\Omega,\{1,3,5\},\{2,4,6\}\} is itself a \(\sigma\)σ\sigma-algebra, so it is \(\sigma(\{A\})\)σ({A})\sigma(\{A\}). The set \(\{1,2\}\){1,2}\{1,2\} is not in this collection. Observing only whether the outcome lies in \(A\)AA distinguishes odd from even outcomes, but it does not reveal the exact outcome.

High priorityCore practice: continuity of probability
Exercise 2An eventual head#

Let \(X_1,X_2,\ldots\)X1,X2,…X_1,X_2,\ldots be independent fair coin tosses, with \(X_i=1\)Xi=1X_i=1 for heads. Define \[A_n=\{\text{at least one head occurs among the first }n\text{ tosses}\}.\]An={at least one head occurs among the first n tosses}.A_n=\{\text{at least one head occurs among the first }n\text{ tosses}\}.

  1. Show that \(A_n\uparrow A\)An↑AA_n\uparrow A, where \(A\)AA is the event that a head occurs at some finite time.

  2. Compute \(P(A_n)\)P(An)P(A_n) and use continuity from below to find \(P(A)\)P(A)P(A).

  3. Find the probability that all tosses are tails.

Reveal solution

If a head appears among the first \(n\)nn tosses, it also appears among the first \(n+1\)n+1n+1, so \(A_n\subseteq A_{n+1}\)An⊆An+1A_n\subseteq A_{n+1}. The union \(\bigcup_nA_n\)⋃nAn\bigcup_nA_n is exactly the event that a head appears at some finite index; hence \(A_n\uparrow A\)An↑AA_n\uparrow A. Independence gives \[P(A_n)=1-P(X_1=\cdots=X_n=0)=1-2^{-n}.\]P(An)=1−P(X1=⋯=Xn=0)=1−2−n.P(A_n)=1-P(X_1=\cdots=X_n=0)=1-2^{-n}. By continuity from below, \[P(A)=\lim_{n\to\infty}P(A_n)=1.\]P(A)=limn→∞P(An)=1.P(A)=\lim_{n\to\infty}P(A_n)=1. The event that all tosses are tails is \(A^c\)AcA^c, so it has probability zero. A probability-zero event need not be the empty set.

High priorityCore practice: constructing and using a measure
Exercise 3A discrete law#

Let \(x_1,x_2,\ldots\)x1,x2,…x_1,x_2,\ldots be distinct points of \(\R\)ℝ\mathbb{R}, and let \(p_k\ge0\)pk≥0p_k\ge0 satisfy \(\sum_{k=1}^{\infty}p_k=1\)∑k=1∞pk=1\sum_{k=1}^{\infty}p_k=1. Define \[\mu(A)=\sum_{k=1}^{\infty}p_k\mathbf 1\{x_k\in A\}, \qquad A\in\gB(\R).\]μ(A)=∑k=1∞pk1{xk∈A},A∈ℬ(ℝ).\mu(A)=\sum_{k=1}^{\infty}p_k\mathbf 1\{x_k\in A\}, \qquad A\in\mathcal{B}(\mathbb{R}).

  1. Show that \(\mu\)μ\mu is a probability measure.

  2. Express \(\mu\)μ\mu using Dirac measures.

  3. Write its CDF.

  4. Explain why the same additivity argument gives counting measure on a countable sample space.

Reveal solution

Clearly \(\mu(\emptyset)=0\)μ(∅)=0\mu(\emptyset)=0 and \(\mu(\R)=\sum_kp_k=1\)μ(ℝ)=∑kpk=1\mu(\mathbb{R})=\sum_kp_k=1. If \(A_1,A_2,\ldots\)A1,A2,…A_1,A_2,\ldots are pairwise disjoint, then for each fixed \(k\)kk the point \(x_k\)xkx_k belongs to at most one \(A_j\)AjA_j. Since all terms are nonnegative, \[\begin{split} \mu\left(\bigcup_{j=1}^{\infty}A_j\right) &=\sum_{k=1}^{\infty}p_k \sum_{j=1}^{\infty}\mathbf 1\{x_k\in A_j\}\\ &=\sum_{j=1}^{\infty} \sum_{k=1}^{\infty}p_k\mathbf 1\{x_k\in A_j\} =\sum_{j=1}^{\infty}\mu(A_j). \end{split}\]μ(⋃j=1∞Aj)=∑k=1∞pk∑j=1∞1{xk∈Aj}=∑j=1∞∑k=1∞pk1{xk∈Aj}=∑j=1∞μ(Aj).\begin{split} \mu\left(\bigcup_{j=1}^{\infty}A_j\right) &=\sum_{k=1}^{\infty}p_k \sum_{j=1}^{\infty}\mathbf 1\{x_k\in A_j\}\\ &=\sum_{j=1}^{\infty} \sum_{k=1}^{\infty}p_k\mathbf 1\{x_k\in A_j\} =\sum_{j=1}^{\infty}\mu(A_j). \end{split} Here the interchange needs no integration theorem: for numbers \(a_{jk}\geq0\)ajk≥0a_{jk}\geq0, both iterated sums equal \[\sup_{J,K}\sum_{j=1}^J\sum_{k=1}^K a_{jk}.\]supJ,K∑j=1J∑k=1Kajk.\sup_{J,K}\sum_{j=1}^J\sum_{k=1}^K a_{jk}. Indeed, every finite choice of indices is contained in such a finite rectangle, and nonnegativity makes all these partial sums increase. The same reasoning allows the value \(+\infty\)+∞+\infty. Thus \(\mu\)μ\mu is countably additive and is a probability measure. It can be written as \[\mu=\sum_{k=1}^{\infty}p_k\delta_{x_k},\]μ=∑k=1∞pkδxk,\mu=\sum_{k=1}^{\infty}p_k\delta_{x_k}, and its CDF is \[F(t)=\mu((-\infty,t]) =\sum_{k=1}^{\infty}p_k\mathbf 1\{x_k\le t\}.\]F(t)=μ((−∞,t])=∑k=1∞pk1{xk≤t}.F(t)=\mu((-\infty,t]) =\sum_{k=1}^{\infty}p_k\mathbf 1\{x_k\le t\}. Putting unit weight on every point instead gives counting measure; the additivity calculation is unchanged, although the total mass can now be infinite. A single point with weight one gives the Dirac measure.

High priorityCore practice: measurability under operations
Exercise 4Maximum and limit superior#

Let \(X_1,X_2,\ldots\)X1,X2,…X_1,X_2,\ldots be real-valued random variables.

  1. Prove directly from inverse images that \(M_n=\max_{1\le i\le n}X_i\)Mn=max1≤i≤nXiM_n=\max_{1\le i\le n}X_i is a random variable.

  2. Prove that \(\limsup_{n\to\infty}X_n\)limsupn→∞Xn\limsup_{n\to\infty}X_n is an extended real-valued measurable function.

Reveal solution

For every \(a\in\R\)a∈ℝa\in\mathbb{R}, \[\{M_n\le a\}=\bigcap_{i=1}^n\{X_i\le a\}\in\F,\]{Mn≤a}=⋂i=1n{Xi≤a}∈ℱ,\{M_n\le a\}=\bigcap_{i=1}^n\{X_i\le a\}\in\mathcal{F}, so the half-line criterion shows that \(M_n\)MnM_n is measurable.

Write \[\limsup_{n\to\infty}X_n = \inf_{m\ge1}\sup_{n\ge m}X_n.\]limsupn→∞Xn=infm≥1supn≥mXn.\limsup_{n\to\infty}X_n = \inf_{m\ge1}\sup_{n\ge m}X_n. For a countable family of measurable functions, \[\left\{\sup_{n\ge m}X_n\le a\right\} = \bigcap_{n\ge m}\{X_n\le a\}\in\F,\]{supn≥mXn≤a}=⋂n≥m{Xn≤a}∈ℱ,\left\{\sup_{n\ge m}X_n\le a\right\} = \bigcap_{n\ge m}\{X_n\le a\}\in\mathcal{F}, so each \(\sup_{n\ge m}X_n\)supn≥mXn\sup_{n\ge m}X_n is measurable. For an infimum the convenient identity uses a strict inequality: \[\{\inf_jY_j<a\}=\bigcup_j\{Y_j<a\},\qquad \{\inf_jY_j\leq a\} =\bigcap_{k=1}^{\infty}\bigcup_j\{Y_j<a+1/k\}.\]{infjYj<a}=⋃j{Yj<a},{infjYj≤a}=⋂k=1∞⋃j{Yj<a+1/k}.\{\inf_jY_j<a\}=\bigcup_j\{Y_j<a\},\qquad \{\inf_jY_j\leq a\} =\bigcap_{k=1}^{\infty}\bigcup_j\{Y_j<a+1/k\}. Each \(\{Y_j<b\}\){Yj<b}\{Y_j<b\} is measurable because it is the union of \(\{Y_j\leq r\}\){Yj≤r}\{Y_j\leq r\} over rational \(r<b\)r<br<b. Thus countable infima are measurable, and applying this to \(Y_m=\sup_{n\geq m}X_n\)Ym=supn≥mXnY_m=\sup_{n\geq m}X_n proves the limsup claim. The formula \(\liminf_nX_n=\sup_m\inf_{n\geq m}X_n\)liminfnXn=supminfn≥mXn\liminf_nX_n=\sup_m\inf_{n\geq m}X_n proves the corresponding liminf assertion. These identities hold for extended real values as well; for example, \(\{Y=+\infty\}=\bigcap_{k\geq1}\{Y>k\}\){Y=+∞}=⋂k≥1{Y>k}\{Y=+\infty\}=\bigcap_{k\geq1}\{Y>k\} is measurable. One cannot replace the strict inequality above by \(\{\inf_jY_j\leq a\}=\bigcup_j\{Y_j\leq a\}\){infjYj≤a}=⋃j{Yj≤a}\{\inf_jY_j\leq a\}=\bigcup_j\{Y_j\leq a\}: take \(Y_j=a+1/j\)Yj=a+1/jY_j=a+1/j.

Mid prioritySupporting practice: Borel generators
Exercise 5Half-lines and rectangles generate the Borel sets#

Let \(\mathcal C=\{(-\infty,a]:a\in\R\}\)𝒞={(−∞,a]:a∈ℝ}\mathcal C=\{(-\infty,a]:a\in\mathbb{R}\}. Show that \(\sigma(\mathcal C)=\gB(\R)\)σ(𝒞)=ℬ(ℝ)\sigma(\mathcal C)=\mathcal{B}(\mathbb{R}). Then prove that open sets in \(\R^d\)ℝd\mathbb{R}^d are countable unions of rational open boxes, and that either bounded closed boxes or bounded half-open boxes generate \(\gB(\R^d)\)ℬ(ℝd)\mathcal{B}(\mathbb{R}^d).

Reveal solution

Each \((-\infty,a]\)(−∞,a](-\infty,a] is closed, hence Borel, so \(\sigma(\mathcal C)\subseteq\gB(\R)\)σ(𝒞)⊆ℬ(ℝ)\sigma(\mathcal C)\subseteq\mathcal{B}(\mathbb{R}). Conversely, \[(a,b] = (-\infty,b]\setminus(-\infty,a] \in\sigma(\mathcal C).\](a,b]=(−∞,b]\(−∞,a]∈σ(𝒞).(a,b] = (-\infty,b]\setminus(-\infty,a] \in\sigma(\mathcal C). Also, \[(a,b) = \bigcup_{\substack{q\in\Q\\a<q<b}}(a,q],\](a,b)=⋃q∈ℚa<q<b(a,q],(a,b) = \bigcup_{\substack{q\in\mathbb{Q}\\a<q<b}}(a,q], which is a countable union of sets in \(\sigma(\mathcal C)\)σ(𝒞)\sigma(\mathcal C). Every open subset of \(\R\)ℝ\mathbb{R} is a countable union of bounded open intervals with rational endpoints, so every open set belongs to \(\sigma(\mathcal C)\)σ(𝒞)\sigma(\mathcal C). Since open sets generate \(\gB(\R)\)ℬ(ℝ)\mathcal{B}(\mathbb{R}), we have \(\gB(\R)\subseteq\sigma(\mathcal C)\)ℬ(ℝ)⊆σ(𝒞)\mathcal{B}(\mathbb{R})\subseteq\sigma(\mathcal C).

Here is the countable-basis step in any dimension. Given \(x\)xx in an open set \(O\)OO, an open ball around \(x\)xx is contained in \(O\)OO. Choose rational endpoints \(r_j<x_j<s_j\)rj<xj<sjr_j<x_j<s_j so close to \(x_j\)xjx_j that the closed box \(\prod_j[r_j,s_j]\)∏j[rj,sj]\prod_j[r_j,s_j] lies in that ball. Thus the rational open boxes contained in \(O\)OO cover \(O\)OO, as do the rational closed boxes contained in \(O\)OO. There are only countably many such boxes because each is specified by \(2d\)2d2d rational numbers. Hence closed boxes generate every open set and therefore the Borel sets; the reverse inclusion holds because closed boxes are Borel.

Half-open boxes are Borel as well, since \[\prod_{j=1}^d(a_j,b_j] =\bigcap_{m=1}^{\infty}\prod_{j=1}^d(a_j,b_j+1/m).\]∏j=1d(aj,bj]=⋂m=1∞∏j=1d(aj,bj+1/m).\prod_{j=1}^d(a_j,b_j] =\bigcap_{m=1}^{\infty}\prod_{j=1}^d(a_j,b_j+1/m). Conversely, every open box \(\prod_j(a_j,b_j)\)∏j(aj,bj)\prod_j(a_j,b_j) is the union, over all sufficiently large \(m\)mm, of the half-open boxes \(\prod_j(a_j,b_j-1/m]\)∏j(aj,bj−1/m]\prod_j(a_j,b_j-1/m]. This proves the other generating claim. It also justifies restricting to rational endpoints in the open-interval generators on \(\R\)ℝ\mathbb{R}.

Mid prioritySupporting practice: a singular distribution
Exercise 6Uniform distribution on the circle#

Let \(U\sim\Unif[0,2\pi)\)U∼Unif[0,2π)U\sim\operatorname{Unif}[0,2\pi) and \(Z=(\cos U,\sin U)\)Z=(cosU,sinU)Z=(\cos U,\sin U).

  1. Show that every point has probability zero and that the circle \(S=\{z:\|z\|_2=1\}\)S={z:∥z∥2=1}S=\{z:\|z\|_2=1\} has two-dimensional Lebesgue measure zero. For the latter, cover the circle by \(N\)NN small squares.

  2. Deduce that the law has no discrete mass-function representation and is not absolutely continuous with respect to area.

  3. Prove that no nonnegative Borel measurable density can satisfy Equation (1) for every rectangle. Explain why agreement on rectangles would imply agreement on \(S\)SS.

  4. Let \(B_\alpha=\{(\cos t,\sin t):0\le t\le\alpha\}\)Bα={(cost,sint):0≤t≤α}B_\alpha=\{(\cos t,\sin t):0\le t\le\alpha\} for \(0\le\alpha\le2\pi\)0≤α≤2π0\le\alpha\le2\pi. Compute \(P_Z(B_\alpha)\)PZ(Bα)P_Z(B_\alpha).

Reveal solution

Points and area. The map \(t\mapsto(\cos t,\sin t)\)t↦(cost,sint)t\mapsto(\cos t,\sin t) is one-to-one on \([0,2\pi)\)[0,2π)[0,2\pi), so the inverse image of a point is empty or a singleton. Uniform probability assigns it zero mass. To check the area assertion, put \(h=2\pi/N\)h=2π/Nh=2\pi/N and \(t_k=kh\)tk=kht_k=kh, \(0\leq k<N\)0≤k<N0\leq k<N. On \([t_k,t_k+h]\)[tk,tk+h][t_k,t_k+h], the mean value theorem gives \(|\cos t-\cos t_k|\leq h\)|cost−costk|≤h|\cos t-\cos t_k|\leq h and \(|\sin t-\sin t_k|\leq h\)|sint−sintk|≤h|\sin t-\sin t_k|\leq h. The arc is therefore contained in the closed square centered at \((\cos t_k,\sin t_k)\)(costk,sintk)(\cos t_k,\sin t_k) with side \(2h\)2h2h. The \(N\)NN squares cover \(S\)SS, so \[0\leq m_2(S)\leq N(2h)^2=\frac{16\pi^2}{N}\longrightarrow0.\]0≤m2(S)≤N(2h)2=16π2N→0.0\leq m_2(S)\leq N(2h)^2=\frac{16\pi^2}{N}\longrightarrow0. The set \(S\)SS is closed, hence Borel, so this proves \(m_2(S)=0\)m2(S)=0m_2(S)=0.

Consequences for the law. A discrete probability law must put total mass one on a countable set. Here every countable set has probability zero by countable additivity. Also \(P_Z(S)=1\)PZ(S)=1P_Z(S)=1 while \(m_2(S)=0\)m2(S)=0m_2(S)=0, so \(P_Z\not\ll m_2\)PZ≪̸m2P_Z\not\ll m_2: absolute continuity would require every area-zero set to have probability zero.

Why the rectangle equation fails. Suppose a function \(f\geq0\)f≥0f\geq0 satisfied Equation (1). Define the measure \(\nu_f(A)=\int_A f\,dm_2\)νf(A)=∫Afdm2\nu_f(A)=\int_A f\,dm_2 on Borel sets. We use two standard facts about Lebesgue integration: a nonnegative measurable function defines a measure this way, and an integral over a null set is zero. The iterated integral equals this area integral on rectangles by Tonelli’s theorem; see the integration and product references. For \(k\geq1\)k≥1k\geq1, the assumed equation gives \(\nu_f([-k,k]^2)=P_Z([-k,k]^2)=1\)νf([−k,k]2)=PZ([−k,k]2)=1\nu_f([-k,k]^2)=P_Z([-k,k]^2)=1; continuity from below yields \(\nu_f(\R^2)=1\)νf(ℝ2)=1\nu_f(\mathbb{R}^2)=1.

Now apply the following uniqueness fact: two finite measures with the same total mass that agree on a generating collection closed under finite intersections agree on the whole generated \(\sigma\)σ\sigma-algebra. Such a collection is called a \(\pi\)π\pi-system. Its proof is the finite-measure uniqueness theorem cited below. Here use bounded closed rectangles (including degenerate ones), together with \(\emptyset\)∅\emptyset and \(\R^2\)ℝ2\mathbb{R}^2. These generate the Borel sets by Exercise 5. For a degenerate rectangle, the area integral is zero and its intersection with \(S\)SS contains at most two points, so its \(P_Z\)PZP_Z-mass is also zero. All the hypotheses are met. Consequently \(\nu_f=P_Z\)νf=PZ\nu_f=P_Z on Borel sets, but \[1=P_Z(S)=\nu_f(S)=\int_Sf\,dm_2=0,\]1=PZ(S)=νf(S)=∫Sfdm2=0,1=P_Z(S)=\nu_f(S)=\int_Sf\,dm_2=0, a contradiction. This supplies the step from rectangles to the curved support that is implicit in the main-text explanation.

Arc probabilities. Except for endpoints, which have probability zero, the event \(\{Z\in B_\alpha\}\){Z∈Bα}\{Z\in B_\alpha\} is \(\{0\le U\le\alpha\}\){0≤U≤α}\{0\le U\le\alpha\}. Therefore \[P_Z(B_\alpha)=\frac{\alpha}{2\pi}.\]PZ(Bα)=α2π.P_Z(B_\alpha)=\frac{\alpha}{2\pi}. This is a one-dimensional uniform law along the circle, not a two-dimensional density. At \(\alpha=0\)α=0\alpha=0 the arc is one point and the probability is zero; at \(\alpha=2\pi\)α=2π\alpha=2\pi it is the whole circle and the probability is one.

Mid prioritySupporting practice: finite product measures
Exercise 7Two independent Bernoulli variables#

Let \(\nu\)ν\nu be the Bernoulli\((p)\)(p)(p) measure on \(\{0,1\}\){0,1}\{0,1\}, where \(0\leq p\leq1\)0≤p≤10\leq p\leq1, so \(\nu(\{1\})=p\)ν({1})=p\nu(\{1\})=p. On \(\{0,1\}^2\){0,1}2\{0,1\}^2 use the product measure \(\nu\otimes\nu\)ν⊗ν\nu\otimes\nu. Let \(X_i(x_1,x_2)=x_i\)Xi(x1,x2)=xiX_i(x_1,x_2)=x_i be the coordinate maps.

  1. Compute the probability of every singleton \((x_1,x_2)\)(x1,x2)(x_1,x_2).

  2. Compute \(P(X_1+X_2=1)\)P(X1+X2=1)P(X_1+X_2=1).

  3. Explain where the product assumption enters.

Reveal solution

For \(x_1,x_2\in\{0,1\}\)x1,x2∈{0,1}x_1,x_2\in\{0,1\}, the rectangle formula gives \[P((X_1,X_2)=(x_1,x_2)) =p^{x_1+x_2}(1-p)^{2-x_1-x_2}.\]P((X1,X2)=(x1,x2))=px1+x2(1−p)2−x1−x2.P((X_1,X_2)=(x_1,x_2)) =p^{x_1+x_2}(1-p)^{2-x_1-x_2}. Equivalently, the four masses are \((1-p)^2\)(1−p)2(1-p)^2, \(p(1-p)\)p(1−p)p(1-p), \(p(1-p)\)p(1−p)p(1-p), and \(p^2\)p2p^2 at \((0,0),(0,1),(1,0),(1,1)\)(0,0),(0,1),(1,0),(1,1)(0,0),(0,1),(1,0),(1,1), respectively. This list also covers \(p=0\)p=0p=0 and \(p=1\)p=1p=1 without needing to interpret \(0^0\)000^0 in the compact formula. Hence \[P(X_1+X_2=1) =P(1,0)+P(0,1)=2p(1-p).\]P(X1+X2=1)=P(1,0)+P(0,1)=2p(1−p).P(X_1+X_2=1) =P(1,0)+P(0,1)=2p(1-p). The multiplication of marginal probabilities is exactly the defining rectangle property of the product measure. A general joint measure with the same Bernoulli marginals need not assign these probabilities and need not make \(X_1\)X1X_1 and \(X_2\)X2X_2 independent. For example, setting \(X_1=X_2=W\)X1=X2=WX_1=X_2=W for one Bernoulli\((p)\)(p)(p) variable gives the same two marginals but \(P(X_1+X_2=1)=0\)P(X1+X2=1)=0P(X_1+X_2=1)=0. For \(0<p<1\)0<p<10<p<1 this differs from the independent answer.

Low priority — not examined: Optional practice: completion
Exercise 8Subsets of null sets#

Let \((\Omega,\F,\nu)\)(Ω,ℱ,ν)(\Omega,\mathcal{F},\nu) be a measure space and let \(N\in\F\)N∈ℱN\in\mathcal{F} satisfy \(\nu(N)=0\)ν(N)=0\nu(N)=0. Define the completion \[\overline{\F} = \{A\cup M:A\in\F,\ M\subseteq N_A \text{ for some }N_A\in\F\text{ with }\nu(N_A)=0\}.\]ℱ¯={A∪M:A∈ℱ,M⊆NA for some NA∈ℱ with ν(NA)=0}.\overline{\mathcal{F}} = \{A\cup M:A\in\mathcal{F},\ M\subseteq N_A \text{ for some }N_A\in\mathcal{F}\text{ with }\nu(N_A)=0\}. Explain why every subset \(M\subseteq N\)M⊆NM\subseteq N belongs to \(\overline{\F}\)ℱ¯\overline{\mathcal{F}} and why its completed measure must be zero.

Reveal solution

Take \(A=\emptyset\)A=∅A=\emptyset and \(N_A=N\)NA=NN_A=N. Then \(M=\emptyset\cup M\)M=∅∪MM=\emptyset\cup M has the required representation, so \(M\in\overline{\F}\)M∈ℱ¯M\in\overline{\mathcal{F}}. Any extension that remains monotone must satisfy \[0\le\overline{\nu}(M)\le\overline{\nu}(N)=\nu(N)=0.\]0≤ν¯(M)≤ν¯(N)=ν(N)=0.0\le\overline{\nu}(M)\le\overline{\nu}(N)=\nu(N)=0. Thus \(\overline{\nu}(M)=0\)ν¯(M)=0\overline{\nu}(M)=0. The completion adds all such subsets while leaving the measure of every original event unchanged. The separate tasks of proving that \(\overline\F\)ℱ¯\overline{\mathcal{F}} is a \(\sigma\)σ\sigma-algebra and that the extension is well-defined are supplied by the completion theorem and its proof.

6.1. Further justification exercises

High priorityCore practice: countable descriptions of limiting events
Exercise 9From finite observations to a limiting event#

  1. Explain why \(\liminf_n A_n\)liminfnAn\liminf_n A_n consists of points in all sufficiently late \(A_n\)AnA_n, whereas \(\limsup_n A_n\)limsupnAn\limsup_n A_n consists of points in infinitely many \(A_n\)AnA_n. If \(a<b_n<b\)a<bn<ba<b_n<b and \(b_n\uparrow b\)bn↑bb_n\uparrow b, prove \(\bigcup_n(a,b_n]=(a,b)\)⋃n(a,bn]=(a,b)\bigcup_n(a,b_n]=(a,b).

  2. On \(\Omega=\{0,1\}^{\mathbb N}\)Ω={0,1}ℕ\Omega=\{0,1\}^{\mathbb N}, let \(X_i(\omega)=\omega_i\)Xi(ω)=ωiX_i(\omega)=\omega_i and \(S_n=n^{-1}\sum_{i=1}^nX_i\)Sn=n−1∑i=1nXiS_n=n^{-1}\sum_{i=1}^nX_i. Use the \(\sigma\)σ\sigma-algebra generated by events specifying a finite initial segment. Show that \[\{\liminf_n S_n>1/3\} =\bigcup_{\substack{r\in\Q\\r>1/3}}\ \bigcup_{N=1}^{\infty}\ \bigcap_{n\geq N}\{S_n>r\},\]{liminfnSn>1/3}=⋃r∈ℚr>1/3⋃N=1∞⋂n≥N{Sn>r},\{\liminf_n S_n>1/3\} =\bigcup_{\substack{r\in\mathbb{Q}\\r>1/3}}\ \bigcup_{N=1}^{\infty}\ \bigcap_{n\geq N}\{S_n>r\}, and deduce measurability.

  3. Explain why no fixed finite initial segment determines membership in this event.

Reveal solution

Set limits. Membership in \(\bigcup_N\bigcap_{n\geq N}A_n\)⋃N⋂n≥NAn\bigcup_N\bigcap_{n\geq N}A_n means that some \(N\)NN works for every later \(n\)nn; membership in \(\bigcap_N\bigcup_{n\geq N}A_n\)⋂N⋃n≥NAn\bigcap_N\bigcup_{n\geq N}A_n means that every \(N\)NN has a later successful \(n\)nn. These are exactly “eventually always” and “infinitely often.” For the intervals, every point in the union lies strictly between \(a\)aa and \(b\)bb. Conversely, if \(a<x<b\)a<x<ba<x<b, convergence \(b_n\to b\)bn→bb_n\to b implies \(b_n>x\)bn>xb_n>x for some \(n\)nn, so \(x\in(a,b_n]\)x∈(a,bn]x\in(a,b_n]. If a nondecreasing sequence reaches \(b\)bb, the union instead includes \(b\)bb.

The limiting event. If \(\liminf_n S_n>1/3\)liminfnSn>1/3\liminf_n S_n>1/3, choose a rational \(r\)rr strictly between these two numbers. By the definition \(\liminf_n S_n=\sup_N\inf_{n\geq N}S_n\)liminfnSn=supNinfn≥NSn\liminf_n S_n=\sup_N\inf_{n\geq N}S_n, some tail has infimum greater than \(r\)rr, so all its \(S_n\)SnS_n exceed \(r\)rr. Conversely, if eventually \(S_n>r\)Sn>rS_n>r for some \(r>1/3\)r>1/3r>1/3, then \(\liminf_n S_n\geq r>1/3\)liminfnSn≥r>1/3\liminf_n S_n\geq r>1/3. Notice the weak inequality in this converse: a sequence strictly above \(r\)rr can converge to \(r\)rr.

For each \(n\)nn, the set \(\{S_n>r\}\){Sn>r}\{S_n>r\} is a finite union of events specifying the first \(n\)nn zeros and ones: include exactly the strings whose average exceeds \(r\)rr. It is therefore measurable. Both unions in the displayed identity and the intersection are countable, so the limiting event is measurable as well. This argument identifies an event; it does not yet calculate its probability. Existence of the infinite-sequence probability law is the separate construction cited in the infinite-product reference.

Why finite observations do not suffice. After any fixed initial segment, append zeros forever or append ones forever. In the first case \(S_n\to0\)Sn→0S_n\to0; in the second \(S_n\to1\)Sn→1S_n\to1. These two sequences agree on all the observed coordinates but give different answers to the limiting event. Countable set operations let us describe it without requiring a finite observation to decide it.

Mid prioritySupporting practice: the two integration pitfalls
Exercise 10What fails when a limit passes through an integral?#

  1. For an enumeration \(\{q_1,q_2,\ldots\}\){q1,q2,…}\{q_1,q_2,\ldots\} of \(\Q\cap[0,1]\)ℚ∩[0,1]\mathbb{Q}\cap[0,1], set \(f_n=\mathbf1_{\{q_1,\ldots,q_n\}}\)fn=1{q1,…,qn}f_n=\mathbf1_{\{q_1,\ldots,q_n\}}. Prove the Riemann-integral assertions in Section 1.2, and compute the Lebesgue integral of the limit.

  2. For \(g_n=\mathbf1_{[n,n+1]}\)gn=1[n,n+1]g_n=\mathbf1_{[n,n+1]} on \(\R\)ℝ\mathbb{R}, prove pointwise convergence to zero while \(\int g_n\,dm=1\)∫gndm=1\int g_n\,dm=1. Explain why the sequence is not increasing and why no integrable function can dominate every \(g_n\)gng_n.

Reveal solution

Finite rational sets and their limit. Every interval of positive length contains an irrational point, so every lower sum of \(f_n\)fnf_n is zero. Given \(\epsilon>0\)ϵ>0\epsilon>0, enclose its finitely many nonzero points in small intervals of total length less than \(\epsilon\)ϵ\epsilon. Choose the endpoints away from those points and include them in a partition; use one-sided intervals at \(0\)00 or \(1\)11. Only these small intervals can contribute to the upper sum, so that sum is less than \(\epsilon\)ϵ\epsilon. The Darboux criterion gives \(\int_0^1f_n\,dx=0\)∫01fndx=0\int_0^1f_n\,dx=0.

Pointwise, \(f_n\uparrow f=\mathbf1_{\Q\cap[0,1]}\)fn↑f=1ℚ∩[0,1]f_n\uparrow f=\mathbf1_{\mathbb{Q}\cap[0,1]}. Every nondegenerate partition interval contains both rational and irrational points, so \(f\)ff has upper sum \(1\)11 and lower sum \(0\)00 for every partition. Thus \(f\)ff is not Riemann integrable. For Lebesgue measure, a singleton can be enclosed in intervals of arbitrarily small length and hence has measure zero. Countable subadditivity gives \(m(\Q\cap[0,1])=0\)m(ℚ∩[0,1])=0m(\mathbb{Q}\cap[0,1])=0. Therefore \[\int_0^1 f\,dm=m(\Q\cap[0,1])=0=\lim_n\int_0^1f_n\,dm.\]∫01fdm=m(ℚ∩[0,1])=0=limn∫01fndm.\int_0^1 f\,dm=m(\mathbb{Q}\cap[0,1])=0=\lim_n\int_0^1f_n\,dm. The limit has left the Riemann class, but the Lebesgue integrals do agree with the limit of the integrals in this example.

An escaping block. For any fixed \(x\)xx, eventually \(n>x\)n>xn>x, so \(g_n(x)=0\)gn(x)=0g_n(x)=0. Each interval \([n,n+1]\)[n,n+1][n,n+1] has length one, giving \[\int \lim_n g_n\,dm=0\quad\hbox{but}\quad \lim_n\int g_n\,dm=1.\]∫limngndm=0butlimn∫gndm=1.\int \lim_n g_n\,dm=0\quad\text{but}\quad \lim_n\int g_n\,dm=1. At \(x=n+1/2\)x=n+1/2x=n+1/2, \(g_n(x)=1\)gn(x)=1g_n(x)=1 and \(g_{n+1}(x)=0\)gn+1(x)=0g_{n+1}(x)=0, so the sequence is not increasing. If an integrable nonnegative \(g\)gg dominated every \(g_n\)gng_n, it would satisfy \(g\geq1\)g≥1g\geq1 on \(\bigcup_{n\geq1}[n,n+1]=[1,\infty)\)⋃n≥1[n,n+1]=[1,∞)\bigcup_{n\geq1}[n,n+1]=[1,\infty), which forces \(\int g\,dm=\infty\)∫gdm=∞\int g\,dm=\infty, a contradiction. The same argument works for domination almost everywhere: the union of the countably many exceptional null sets is still null.

These are the missing hypotheses for the monotone and dominated convergence theorems, respectively, which will be developed in Lecture 3. Fatou’s inequality would only assert \(0\leq1\)0≤10\leq1 here and causes no contradiction. Their proofs are also available in [1] (Theorems 1.5.5, 1.5.7, and 1.5.8).

High priorityCore practice: justifying measurability tests
Exercise 11Generators, operations, and distributions#

  1. Prove that the intersection of all \(\sigma\)σ\sigma-algebras on \(\Omega\)Ω\Omega containing \(\mathcal C\)𝒞\mathcal C is a \(\sigma\)σ\sigma-algebra and is the smallest one containing \(\mathcal C\)𝒞\mathcal C.

  2. If \(\gG=\sigma(\mathcal C)\)𝒢=σ(𝒞)\mathcal{G}=\sigma(\mathcal C), prove that \(f:(\Omega,\F)\to(\Lambda,\gG)\)f:(Ω,ℱ)→(Λ,𝒢)f:(\Omega,\mathcal{F})\to(\Lambda,\mathcal{G}) is measurable whenever \(f^{-1}(C)\in\F\)f−1(C)∈ℱf^{-1}(C)\in\mathcal{F} for every \(C\in\mathcal C\)C∈𝒞C\in\mathcal C. Deduce the half-line test for a real-valued function.

  3. Prove that continuous maps between Euclidean spaces are Borel measurable, that compositions of measurable maps are measurable, and that the arithmetic operations in Proposition 2 preserve measurability.

  4. Prove that \(P_X(B)=P(X^{-1}(B))\)PX(B)=P(X−1(B))P_X(B)=P(X^{-1}(B)) is a probability measure and that \(P_{h(X)}(B)=P_X(h^{-1}(B))\)Ph(X)(B)=PX(h−1(B))P_{h(X)}(B)=P_X(h^{-1}(B)) for measurable \(h\)hh.

Reveal solution

1. The generated \(\sigma\)σ\sigma-algebra. The family being intersected is nonempty because \(2^\Omega\)2Ω2^\Omega belongs to it. Its intersection contains \(\Omega\)Ω\Omega and \(\mathcal C\)𝒞\mathcal C. If \(A\)AA belongs to every member of the family, so does \(A^c\)AcA^c; if each \(A_n\)AnA_n belongs to every member, so does \(\bigcup_n A_n\)⋃nAn\bigcup_n A_n. These observations prove the \(\sigma\)σ\sigma-algebra axioms. The intersection is contained in every \(\sigma\)σ\sigma-algebra containing \(\mathcal C\)𝒞\mathcal C, which proves minimality.

2. Checking generators. Define \[\mathcal D=\{B\subseteq\Lambda:f^{-1}(B)\in\F\}.\]𝒟={B⊆Λ:f−1(B)∈ℱ}.\mathcal D=\{B\subseteq\Lambda:f^{-1}(B)\in\mathcal{F}\}. Since inverse images preserve the whole space, complements, and countable unions, \(\mathcal D\)𝒟\mathcal D is a \(\sigma\)σ\sigma-algebra on \(\Lambda\)Λ\Lambda. The hypothesis says \(\mathcal C\subseteq\mathcal D\)𝒞⊆𝒟\mathcal C\subseteq\mathcal D, so \(\gG=\sigma(\mathcal C)\subseteq\mathcal D\)𝒢=σ(𝒞)⊆𝒟\mathcal{G}=\sigma(\mathcal C)\subseteq\mathcal D. This is exactly measurability of \(f\)ff. By Exercise 5, the half-lines \((-\infty,a]\)(−∞,a](-\infty,a] generate \(\gB(\R)\)ℬ(ℝ)\mathcal{B}(\mathbb{R}); checking \(\{f\leq a\}\in\F\){f≤a}∈ℱ\{f\leq a\}\in\mathcal{F} for every \(a\in\R\)a∈ℝa\in\mathbb{R} therefore suffices.

3. Continuous maps, compositions, and arithmetic. A continuous map has open inverse images of open sets. Open sets generate the Borel \(\sigma\)σ\sigma-algebra, so part 2 proves Borel measurability. For measurable \(f\)ff and \(h\)hh, the identity \((h\circ f)^{-1}(B)=f^{-1}(h^{-1}(B))\)(h∘f)−1(B)=f−1(h−1(B))(h\circ f)^{-1}(B)=f^{-1}(h^{-1}(B)) proves composition is measurable.

If \(f\)ff and \(g\)gg are real-valued measurable functions on \(\Omega\)Ω\Omega, the map \(F=(f,g)\)F=(f,g)F=(f,g) is measurable: the inverse image of a closed rectangle \([a,b]\times[c,d]\)[a,b]×[c,d][a,b]\times[c,d] is the intersection \(\{a\leq f\leq b\}\cap\{c\leq g\leq d\}\in\F\){a≤f≤b}∩{c≤g≤d}∈ℱ\{a\leq f\leq b\}\cap\{c\leq g\leq d\}\in\mathcal{F}, and these rectangles generate \(\gB(\R^2)\)ℬ(ℝ2)\mathcal{B}(\mathbb{R}^2) by Exercise 5. The maps \((u,v)\mapsto u+v,uv,\min(u,v),\max(u,v)\)(u,v)↦u+v,uv,min(u,v),max(u,v)(u,v)\mapsto u+v,uv,\min(u,v),\max(u,v) are continuous. Composing each with \(F\)FF proves all four arithmetic claims. The same rectangle argument proves that a finite vector is measurable exactly when each coordinate is measurable; the reverse direction uses the continuous coordinate projections. Countable extrema and limits are handled separately in Exercise 4.

4. Pushing a probability measure forward. The empty set has empty inverse image, and the entire target has inverse image \(\Omega\)Ω\Omega, so \(P_X(\emptyset)=0\)PX(∅)=0P_X(\emptyset)=0 and \(P_X(\R)=1\)PX(ℝ)=1P_X(\mathbb{R})=1. For pairwise disjoint measurable \(B_j\)BjB_j, their inverse images are measurable and disjoint. Consequently \[P_X\Bigl(\bigcup_jB_j\Bigr) =P\Bigl(\bigcup_jX^{-1}(B_j)\Bigr) =\sum_jP(X^{-1}(B_j))=\sum_jP_X(B_j).\]PX(⋃jBj)=P(⋃jX−1(Bj))=∑jP(X−1(Bj))=∑jPX(Bj).P_X\left(\bigcup_jB_j\right) =P\left(\bigcup_jX^{-1}(B_j)\right) =\sum_jP(X^{-1}(B_j))=\sum_jP_X(B_j). Thus \(P_X\)PXP_X is a probability measure. Finally, \[P_{h(X)}(B)=P((h\circ X)^{-1}(B)) =P(X^{-1}(h^{-1}(B)))=P_X(h^{-1}(B)),\]Ph(X)(B)=P((h∘X)−1(B))=P(X−1(h−1(B)))=PX(h−1(B)),P_{h(X)}(B)=P((h\circ X)^{-1}(B)) =P(X^{-1}(h^{-1}(B)))=P_X(h^{-1}(B)), which proves the distribution formula used in the main text.

Mid prioritySupporting practice: the properties of a CDF
Exercise 12From a probability measure to its CDF#

For a probability measure \(P\)PP on \((\R,\gB(\R))\)(ℝ,ℬ(ℝ))(\mathbb{R},\mathcal{B}(\mathbb{R})), let \(F(x)=P(( -\infty,x])\)F(x)=P((−∞,x])F(x)=P(( -\infty,x]). Prove monotonicity, right-continuity, the limits \(F(x)\to0\)F(x)→0F(x)\to0 as \(x\to-\infty\)x→−∞x\to-\infty and \(F(x)\to1\)F(x)→1F(x)\to1 as \(x\to\infty\)x→∞x\to\infty, and \[P((a,b])=F(b)-F(a)\qquad(a<b).\]P((a,b])=F(b)−F(a)(a<b).P((a,b])=F(b)-F(a)\qquad(a<b). Identify where finiteness of the measure is used. Does this argument also construct a probability measure from a candidate \(F\)FF?

Reveal solution

If \(x\leq y\)x≤yx\leq y, then \((-\infty,x]\subseteq(-\infty,y]\)(−∞,x]⊆(−∞,y](-\infty,x]\subseteq(-\infty,y], so monotonicity of \(P\)PP gives \(F(x)\leq F(y)\)F(x)≤F(y)F(x)\leq F(y). If \(x_n\downarrow x\)xn↓xx_n\downarrow x, the corresponding half-lines decrease to \((-\infty,x]\)(−∞,x](-\infty,x]. Continuity from above applies because their probabilities are finite and gives \(F(x_n)\downarrow F(x)\)F(xn)↓F(x)F(x_n)\downarrow F(x). In particular \(F(x+1/n)\to F(x)\)F(x+1/n)→F(x)F(x+1/n)\to F(x); monotonicity squeezes \(F(y)\)F(y)F(y) between \(F(x)\)F(x)F(x) and \(F(x+1/n)\)F(x+1/n)F(x+1/n) whenever \(x<y\leq x+1/n\)x<y≤x+1/nx<y\leq x+1/n. This proves right-continuity for arbitrary approaches from the right.

The sets \((-\infty,n]\)(−∞,n](-\infty,n] increase to \(\R\)ℝ\mathbb{R}, while \((-\infty,-n]\)(−∞,−n](-\infty,-n] decrease to \(\emptyset\)∅\emptyset. Continuity from below and above, respectively, give \(F(n)\to1\)F(n)→1F(n)\to1 and \(F(-n)\to0\)F(−n)→0F(-n)\to0. Monotonicity extends these integer limits to the limits along all real \(x\)xx. The decreasing-set steps use finiteness; the increasing-set step does not. Finally, \[(-\infty,b]=(-\infty,a]\ \dot\cup\ (a,b]\](−∞,b]=(−∞,a]∪̇(a,b](-\infty,b]=(-\infty,a]\ \dot\cup\ (a,b] is a disjoint union, so additivity gives the interval formula.

This proves the properties of the CDF of an existing measure. The converse is a separate existence theorem: every nondecreasing, right-continuous \(F\)FF with these two limiting values is the CDF of a probability measure. Its construction, and uniqueness from the half-line probabilities, are proved in the CDF and Stieltjes-measure references below.

6.2. References for longer proofs

The results used in the main sections keep their assigned priority. The references below supply longer proofs and construction details; they do not add new examination requirements. Exercises above give the local arguments students can work through with this lecture’s tools.

Uniqueness from rectangles.

The \(\pi\)π\pi–\(\lambda\)λ\lambda theorem and measure uniqueness are proved in [1] (Theorems A.1.4–A.1.5); see the author’s fifth-edition text. The finite-measure version stated in Exercise 6 is the fact needed for Equation (1).

Existence of measures and CDFs.

Durrett’s Theorem 1.1.4 constructs the unique Stieltjes measure with \(\mu((a,b])=F(b)-F(a)\)μ((a,b])=F(b)−F(a)\mu((a,b])=F(b)-F(a); \(F(x)=x\)F(x)=xF(x)=x yields Lebesgue measure on \(\R\)ℝ\mathbb{R}. Theorem 1.2.2 constructs a random variable with a prescribed CDF. Theorem A.1.5 supplies uniqueness, and Theorem A.4.8 is the Radon–Nikodym theorem giving a density for \(\sigma\)σ\sigma-finite \(\nu\ll\mu\)ν≪μ\nu\ll\mu. These are proved in the same text.

Riemann and Lebesgue integration.

In [2], Theorem 6.6 proves the upper/lower-sum criterion, Theorem 6.10 handles bounded functions with finitely many discontinuities, and Theorem 11.33 proves agreement of the Riemann and Lebesgue integrals and the almost-everywhere continuity criterion; see the third-edition text. The simple-function construction is developed in [1] (Sections 1.4–1.5). Lecture 3 will develop these integration tools systematically.

Products and density integrals.

Durrett’s Theorems 1.7.1–1.7.2 prove existence/uniqueness of \(\sigma\)σ\sigma-finite product measures and Fubini’s theorem, including the nonnegative case used as Tonelli’s theorem. Sections 1.4–1.5 justify the facts about \(\nu_f(A)=\int_A f\,dm_2\)νf(A)=∫Afdm2\nu_f(A)=\int_A f\,dm_2 used in Exercise 6: integration over a null set gives zero directly from simple-function approximation; for disjoint \(A_j\)AjA_j, monotone convergence applied to \(f\sum_{j=1}^n\mathbf1_{A_j}\)f∑j=1n1Ajf\sum_{j=1}^n\mathbf1_{A_j} gives countable additivity. Proofs are in the author’s text.

Completion (optional).

Durrett’s Theorem A.2.3 proves that completion produces a \(\sigma\)σ\sigma-algebra and a well-defined measure; the following example in Section A.2 constructs a nonmeasurable set. Another full construction is Proposition 1.2.18 of Tao’s An Introduction to Measure Theory. Exercises 1.4.15–1.4.16 there give a guided, optional route to the cardinality comparison in Section 5; these are textbook exercises, not supplied complete solutions.

Infinite products and random matrices (optional proofs).

Theorem 2.4.3 of Tao’s measure-theory text states and proves Kolmogorov’s extension theorem with its space and regularity hypotheses; finite-state and Euclidean coordinate spaces cover the models here. For the GOE preview, see Theorem 1 and the moment-method proof in Section 2 of Tao’s 254A, Notes 4: The semi-circular law.

References

[1]
R. Durrett. Probability: Theory and examples. Cambridge university press. 2019.
[2]
W. Rudin. Principles of mathematical analysis. McGraw-Hill, New York. 1976.
[3]
W. Rudin. Real and complex analysis. McGraw-Hill Education. 1987.
[4]
J. Shao. Mathematical Statistics. Springer. 2003.
[5]
T. Tao. Topics in random matrix theory. American Mathematical Soc. 2012.

  1. This practical rule does not mean that other measurable sets are never useful. Lebesgue measurable sets form a larger collection, obtained by completing Lebesgue measure; see Section 5. An optional cardinality comparison appears there as well.↩︎

What changed

October 19, 2026: Corrected notation, wording and cross-references after the course-wide errata review; refreshed the linked HTML and PDF editions.

October 14, 2026. Added issue-reporting links to the webpage and PDF. The mathematics and priority assignments are unchanged in this update.

Comments

Discuss an idea or ask a public question. Include a section or exercise number when relevant. For errors in the notes or website, Report an issue.

Public comments use Disqus. Enable JavaScript to load them.

Email the instructor for a private question or if comments are unavailable.