The lecture recalls how the sizes of infinite sets are compared and the basic notions of topology, and then begins real analysis with measurable spaces.
Recap of set theory
The recap follows Hrbacek and Jech. Its aim is to distinguish between sets with infinitely many elements.
Notation.A⊂B means that A is contained in B or equal to it, while A⊊B means that A is strictly contained in B.
Cardinality
Definition 1 (Comparison of cardinalities). Let X and Y be sets. We write #X≤#Y, and say that the cardinality of X is less than or equal to the cardinality of Y, if there exists an injective map f:X→Y. We write #X=#Y if there exists a bijective map f:X→Y. Finally, #X<#Y means that #X≤#Y and #X=#Y.
Remark 2. Let X and Y be sets. (i) If X is nonempty, then #X≤#Y if and only if there exists a surjective map f:Y→X. (ii) (Cantor–Bernstein) If #X≤#Y and #Y≤#X, then #X=#Y.
Definition 3 (Countable and uncountable sets). Let X be a set. (i)X is countable if X is finite or #X=#N. (ii)X is uncountable if X is infinite but #N<#X.
Example 4. The natural numbers, the integers and the rationals have the same cardinality, #N=#Z=#Q, so Z and Q are countable. The real line is uncountable: #R>#N.
Definition 5 (Extended real line). The extended real line is the set
The topology on R is given in Example 16, and its Borel σ-algebra in Remark 28.
The power set
Definition 6 (Power set). Let X be a set. The power set of X is the family of all subsets of X,
P(X)={A:A⊂X}.
Remark 7. If #X=n∈N, then #P(X)=2n.
Notation. For a set X,2X is the set of all functions from X to the set with 2 elements {0,1}:
2X:={f:X→{0,1}}.
Proposition 8. Let X be a set. (i)#P(X)=#2X. (ii)#P(X)>#X. In particular, there exists no biggest infinity.
Proof (complete). (i) Define
ϕ:P(X)→2X,A↦fA:X→{0,1},fA(x):={10x∈A,x∈/A.
The map ϕ is a bijection. Indeed, its inverse sends f∈2X to the set {x∈X:f(x)=1}.
(ii) Suppose, by contradiction, that #P(X)≤#X. By Remark 2 (i), applied to the nonempty set P(X), there exists a surjective map f:X→P(X). Define
U:={x∈X:x∈/f(x)}⊂X.
Since f is surjective, there exists y∈X with f(y)=U. Is y∈U?
Case 1. If y∈U, then y∈/f(y) by the definition of U, and f(y)=U gives y∈/U, which is impossible.
Case 2. If y∈/U=f(y), then y∈U by the definition of U, which is impossible.
Hence #P(X)≤#X is false. To see that this gives #P(X)>#X, note that x↦{x} is injective, so #X≤#P(X), and #X=#P(X) would give #P(X)≤#X.■
Figure 1 is the bijection ϕ of part (i) on a set of 3 elements, and Figure 2 runs the construction of U of part (ii).
A
fA(1)
fA(2)
fA(3)
∅
0
0
0
{3}
0
0
1
{2}
0
1
0
{1}
1
0
0
{2, 3}
0
1
1
{1, 3}
1
0
1
{1, 2}
1
1
0
{1, 2, 3}
1
1
1
Figure 1. An instance with X={1,2,3}: the 23=8 subsets A of X and the values of fA=ϕ(A). The buttons choose the elements of A and highlight its row.
Figure 2. An instance with X={1,…,6} and a map f:X→P(X). Row f(x) is the function ff(x) of part (i), and row U is the opposite of the diagonal, so U and f(y) differ at y for every y. The button draws a new f.
Countable sets
Notation. A countable union is written ⋃n=0∞Xn, also ⋃nXn. A sequence is written (xn), and a family of sets is written F={Xα}α∈A.
Proposition 9.(i)#R=#P(N)>#N. (ii) If X and Y are countable, then X×Y={(x,y):x∈X,y∈Y} is countable. (iii) If X0,X1,X2,… is a sequence of sets such that Xn is countable for every n, then ⋃n=0∞Xn is countable: a countable union of countable sets is countable.
Recap of topology
The recap follows Manetti. Topology gives an abstract theory of the open, closed and related subsets of some ambient space.
Topological spaces
Definition 10 (Topology). Let X be a set. A topology on X is a family of subsets τ⊂P(X) such that: (i)∅,X∈τ; (ii) for every F={Uα}α∈A⊂τ, the union ⋃α∈AUα belongs to τ; (iii) if U1,U2,…,Uk∈τ, then ⋂n=1kUn∈τ.
The sets in τ are called open, and the couple (X,τ) is called a topological space.
Example 11. On Rn the Euclidean topologyτE is defined as follows. We say that U∈τE if for every x∈U there exists r>0 with Br(x)⊂U. Here Br(x) is the open ball of centre x and radius r. Two other topologies on Rn are τ={∅,Rn} and τ=P(Rn).
Definition 12 (Closed set, closure, interior, boundary). Let (X,τ) be a topological space. A set V⊂X is closed if X∖V is open. For V⊂X: (i) the closureV of V is the smallest closed set containing V; (ii) the interiorint(V)=V˚ of V is the biggest open set contained in V; (iii) the boundary of V is ∂V=V∩X∖V.
The closure and the interior exist. Indeed, V is the intersection of the closed sets containing V, which is closed, and V˚ is the union of the open sets contained in V.
V
int(V)
closure of V
∂V
Figure 3. An instance in the plane with the Euclidean topology. The set V contains the solid part of its edge and not the dashed part; its interior, its closure and its boundary.
Definition 13 (Compact set). Let (X,τ) be a topological space and K⊂X. The set K is compact if for every F={Uα}α∈A⊂τ such that ⋃α∈AUα⊃K there exists a finite subfamily F~={V1,…,Vm}⊂F such that ⋃n=1mVn⊃K.
Figure 4.K is a triangle, the disks are open sets whose union contains K, and a finite subfamily is then highlighted whose union still contains K. The button draws a new family.
Definition 14 (Precompact set). A set V⊂X is precompact if V is compact.
Theorem 15 (Heine–Borel). A set K⊂Rn is compact if and only if K is closed and bounded, that is, contained in a ball Br(0).
Example 16 (Topology on the extended real line). The following subsets of R are open in R: the intervals (a,b) with a,b∈R; every set that is open in R, which is also defined to be open in R; and the sets [−∞,a) and (a,+∞] for every a∈R, which are also defined to be open.
Figure 5. The three kinds of open set of Example 16 on the extended real line. A filled end belongs to the set, an empty one does not.
Definition 17 (Continuous map). Let (X,τX) and (Y,τY) be two topological spaces and f:X→Y. The map f is continuous if f−1(A)∈τX for every A∈τY, that is, if the preimage of any open set is open.
Metric spaces
Definition 18 (Metric space). A metric space is a couple (X,d) where X is a set and d is a distance on X, that is, a function d:X×X→[0,+∞) such that, for all x,y,z∈X,
Definition 19 (Topology induced by a distance). Let (X,d) be a metric space. For x∈X and r>0, define
Br(x):={y∈X:d(x,y)<r}.
A set U in X is open if for every x∈U there exists r>0 such that Br(x)⊂U. These open sets form the topology induced by the distanced.
Figure 6. An open set U of the plane with the Euclidean distance, its edge dashed because it does not belong to U, and a ball Br(x) contained in U around a moving point x.
A sequence (xn)⊂Xconverges to x0∈X, written xn→x0, if limn→∞d(xn,x0)=0.
Lemma 20. Let (X,d) be a metric space. (i) A set V⊂X is closed if and only if V is sequentially closed: if (xn)⊂V and xn→x0, then x0∈V. (ii) A set K⊂X is compact if and only if K is sequentially compact: every (xn)⊂K has a subsequence (xnk) such that xnk→x0∈K. (iii) If V is closed, K is compact and V⊂K, then V is compact.
Figure 7. Lemma 20 (i): a closed set V, its edge solid because it belongs to V, and a sequence of points of V that converges to x0. The limit x0 lies in V.
Lemma 21. Let (X,dX) and (Y,dY) be two metric spaces and f:X→Y. The following are equivalent. (i)f is continuous. (ii) For every x0∈X and every ε>0 there exists δ>0 such that dX(x,x0)<δ implies dY(f(x),f(x0))<ε. (iii) For every x0∈X and every (xn)⊂X with xn→x0, that is, dX(xn,x0)→0, the sequence (f(xn))⊂Y is such that f(xn)→f(x0), that is, dY(f(xn),f(x0))→0.
Measurable spaces
Real analysis begins here, following Folland, with the families of sets on which it is built.
σ-algebras
Definition 22 (σ-algebra, measurable space). Let X be a set. A measurable space is a couple (X,M) where M is a σ-algebra, that is: (i)M⊂P(X); (ii)∅∈M; (iii) for every A∈M,X∖A∈M; (iv) for every (An)⊂M,⋃nAn∈M.
Example 23. For every set X,P(X) and M={∅,X} are σ-algebras. Most of the times a topology is not a σ-algebra, for example the Euclidean topology. Indeed, on R it contains (0,1) but not R∖(0,1).
Remark 24. Let (X,M) be a measurable space. (i) If E,F∈M, then E∩F∈M and E∖F∈M. (ii) If (En)⊂M, then ⋂nEn∈M.
Proof (sketch). Intersections are written through complements and unions:
E∩F=X∖(X∖(E∩F))=X∖((X∖E)∪(X∖F)).
Details. The sets X∖E and X∖F belong to M by (iii) of Definition 22, their union by (iv) applied to X∖E,X∖F,∅,∅,…, and its complement by (iii) again. Then E∖F=E∩(X∖F), and in the same way ⋂nEn=X∖⋃n(X∖En).■
X \ E
Figure 8. The identity of the proof, term by term. The button shades X∖E, then X∖F, then their union, then its complement E∩F.
Definition 25 (Restricted σ-algebra). Let (X,M) be a measurable space and Ω⊂X. The restricted σ-algebra is
MΩ=M∣Ω:={E∩Ω:E∈M}.
One checks that (Ω,MΩ) is a measurable space. Indeed, ∅=∅∩Ω,Ω∖(E∩Ω)=(X∖E)∩Ω and ⋃n(En∩Ω)=(⋃nEn)∩Ω.
Generated and Borel σ-algebras
Theorem 26 (Generation of σ-algebras). Let X be a set and F⊂P(X). There exists a σ-algebra M on X such that: (i)F⊂M; (ii) for every σ-algebra Q on X with F⊂Q,M⊂Q.
In words, M is the smallest σ-algebra containing F. It is denoted σ0(F).
Proof (sketch). Consider
W:={Q⊂P(X):Q is a σ-algebra,F⊂Q}.
Then W=∅, as P(X)∈W. Define
M:=⋂{Q:Q∈W}.■
Details. A set belongs to M when it belongs to every Q∈W. Each property of Definition 22 holds in every Q∈W, hence in M; every Q∈W contains F, which gives (i), and a σ-algebra Q with F⊂Q is in W, which gives (ii).
Figure 9. The proof of Theorem 26: inside P(X), three of the σ-algebras of W, each containing F. The intersection σ0(F) of all the members of W contains F and lies inside each of them.
Definition 27 (Borel σ-algebra). Let (X,τ) be a topological space. The Borel σ-algebra is σ0(τ), denoted B(X).