Real and Functional Analysis

Cardinality, topology and measurable spaces

1435 words,

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. ABA \subset B means that AA is contained in BB or equal to it, while ABA \subsetneq B means that AA is strictly contained in B.B.

Cardinality

Definition 1 (Comparison of cardinalities). Let XX and YY be sets. We write #X#Y,{\#X \le \#Y}, and say that the cardinality of XX is less than or equal to the cardinality of Y,Y, if there exists an injective map f ⁣:XY.{f \colon X \to Y.} We write #X=#Y{\#X = \#Y} if there exists a bijective map f ⁣:XY.{f \colon X \to Y.} Finally, #X<#Y{\#X < \#Y} means that #X#Y{\#X \le \#Y} and #X#Y.{\#X \neq \#Y.}

Remark 2. Let XX and YY be sets.
(i) If XX is nonempty, then #X#Y{\#X \le \#Y} if and only if there exists a surjective map f ⁣:YX.{f \colon Y \to X.}
(ii) (Cantor–Bernstein) If #X#Y{\#X \le \#Y} and #Y#X,{\#Y \le \#X,} then #X=#Y.{\#X = \#Y.}

Definition 3 (Countable and uncountable sets). Let XX be a set.
(i) XX is countable if XX is finite or #X=#N.{\#X = \#\mathbb{N}.}
(ii) XX is uncountable if XX is infinite but #N<#X.{\#\mathbb{N} < \#X.}

Example 4. The natural numbers, the integers and the rationals have the same cardinality, #N=#Z=#Q,{\#\mathbb{N} = \#\mathbb{Z} = \#\mathbb{Q},} so Z\mathbb{Z} and Q\mathbb{Q} are countable. The real line is uncountable: #R>#N.{\#\mathbb{R} > \#\mathbb{N}.}

Definition 5 (Extended real line). The extended real line is the set

R=[,+]:=R{+}{},\overline{\mathbb{R}} = [-\infty, +\infty] := \mathbb{R} \cup \{+\infty\} \cup \{-\infty\},

with the following operations in R:\overline{\mathbb{R}}{:}

aRa+=+,a=,a>0a(+)=+,a()=,a<0a(+)=,a()=+,0(+)=0()=0.\begin{aligned} &a \in \mathbb{R} & &\Longrightarrow \quad a + \infty = +\infty, \quad a - \infty = -\infty, \\ &a > 0 & &\Longrightarrow \quad a \cdot (+\infty) = +\infty, \quad a \cdot (-\infty) = -\infty, \\ &a < 0 & &\Longrightarrow \quad a \cdot (+\infty) = -\infty, \quad a \cdot (-\infty) = +\infty, \\ & & &\phantom{\Longrightarrow \quad} 0 \cdot (+\infty) = 0 \cdot (-\infty) = 0. \end{aligned}

The topology on R\overline{\mathbb{R}} is given in Example 16, and its Borel σ\sigma-algebra in Remark 28.

The power set

Definition 6 (Power set). Let XX be a set. The power set of XX is the family of all subsets of X,X,

P(X)={A:AX}.\mathcal{P}(X) = \{ A : A \subset X \}.

Remark 7. If #X=nN,{\#X = n \in \mathbb{N},} then #P(X)=2n.{\#\mathcal{P}(X) = 2^n.}

Notation. For a set X,X, 2X2^X is the set of all functions from XX to the set with 2 elements {0,1}:\{0, 1\}{:}

2X:={f ⁣:X{0,1}}.2^X := \{ f \colon X \to \{0, 1\} \}.

Proposition 8. Let XX be a set.
(i) #P(X)=#2X.{\#\mathcal{P}(X) = \#2^X.}
(ii) #P(X)>#X.{\#\mathcal{P}(X) > \#X.} In particular, there exists no biggest infinity.

Proof (complete). (i) Define

ϕ ⁣:P(X)2X,AfA ⁣:X{0,1},fA(x):={1xA,0xA.\phi \colon \mathcal{P}(X) \to 2^X, \qquad A \mapsto f_A \colon X \to \{0, 1\}, \qquad f_A(x) := \begin{cases} 1 & x \in A, \\ 0 & x \notin A. \end{cases}

The map ϕ\phi is a bijection. Indeed, its inverse sends f2X{f \in 2^X} to the set {xX:f(x)=1}.{\{ x \in X : f(x) = 1 \}.}

(ii) Suppose, by contradiction, that #P(X)#X.{\#\mathcal{P}(X) \le \#X.} By Remark 2 (i), applied to the nonempty set P(X),\mathcal{P}(X), there exists a surjective map f ⁣:XP(X).{f \colon X \to \mathcal{P}(X).} Define

U:={xX:xf(x)}X.U := \{ x \in X : x \notin f(x) \} \subset X.

Since ff is surjective, there exists yX{y \in X} with f(y)=U.{f(y) = U.} Is yU{y \in U}?
Case 1. If yU,{y \in U,} then yf(y){y \notin f(y)} by the definition of U,U, and f(y)=U{f(y) = U} gives yU,{y \notin U,} which is impossible.
Case 2. If yU=f(y),{y \notin U = f(y),} then yU{y \in U} by the definition of U,U, which is impossible.

Hence #P(X)#X{\#\mathcal{P}(X) \le \#X} is false. To see that this gives #P(X)>#X,{\#\mathcal{P}(X) > \#X,} note that x{x}{x \mapsto \{x\}} is injective, so #X#P(X),{\#X \le \#\mathcal{P}(X),} and #X=#P(X){\#X = \#\mathcal{P}(X)} would give #P(X)#X.{\#\mathcal{P}(X) \le \#X.} \blacksquare

Figure 1 is the bijection ϕ\phi of part (i) on a set of 3 elements, and Figure 2 runs the construction of UU of part (ii).

AfA(1)fA(2)fA(3)
000
{3}001
{2}010
{1}100
{2, 3}011
{1, 3}101
{1, 2}110
{1, 2, 3}111

Figure 1. An instance with X={1,2,3}:{X = \{1, 2, 3\}{:}} the 23=8{2^3 = 8} subsets AA of XX and the values of fA=ϕ(A).f_A = \phi(A). The buttons choose the elements of AA and highlight its row.

Figure 2. An instance with X={1,,6}{X = \{1, \dots, 6\}} and a map f ⁣:XP(X).{f \colon X \to \mathcal{P}(X).} Row f(x)f(x) is the function ff(x)f_{f(x)} of part (i), and row UU is the opposite of the diagonal, so UU and f(y)f(y) differ at yy for every y.y. The button draws a new f.f.

Countable sets

Notation. A countable union is written n=0Xn,\bigcup_{n=0}^{\infty} X_n, also nXn.\bigcup_n X_n. A sequence is written (xn),(x_n), and a family of sets is written F={Xα}αA.{\mathcal{F} = \{ X_\alpha \}_{\alpha \in A}.}

Proposition 9. (i) #R=#P(N)>#N.{\#\mathbb{R} = \#\mathcal{P}(\mathbb{N}) > \#\mathbb{N}.}
(ii) If XX and YY are countable, then X×Y={(x,y):xX,yY}{X \times Y = \{ (x, y) : x \in X, y \in Y \}} is countable.
(iii) If X0,X1,X2,{X_0, X_1, X_2, \dots} is a sequence of sets such that XnX_n is countable for every n,n, then n=0Xn\bigcup_{n=0}^{\infty} X_n 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 XX be a set. A topology on XX is a family of subsets τP(X){\tau \subset \mathcal{P}(X)} such that:
(i) ,Xτ;{\emptyset, X \in \tau;}
(ii) for every F={Uα}αAτ,{\mathcal{F} = \{ U_\alpha \}_{\alpha \in A} \subset \tau,} the union αAUα\bigcup_{\alpha \in A} U_\alpha belongs to τ;\tau;
(iii) if U1,U2,,Ukτ,{U_1, U_2, \dots, U_k \in \tau,} then n=1kUnτ.{\bigcap_{n=1}^{k} U_n \in \tau.}
The sets in τ\tau are called open, and the couple (X,τ)(X, \tau) is called a topological space.

Example 11. On Rn\mathbb{R}^n the Euclidean topology τE\tau_E is defined as follows. We say that UτE{U \in \tau_E} if for every xU{x \in U} there exists r>0{r > 0} with Br(x)U.{B_r(x) \subset U.} Here Br(x)B_r(x) is the open ball of centre xx and radius r.r. Two other topologies on Rn\mathbb{R}^n are τ={,Rn}{\tau = \{ \emptyset, \mathbb{R}^n \}} and τ=P(Rn).{\tau = \mathcal{P}(\mathbb{R}^n).}

Definition 12 (Closed set, closure, interior, boundary). Let (X,τ)(X, \tau) be a topological space. A set VX{V \subset X} is closed if XV{X \setminus V} is open. For VX:{V \subset X{:}}
(i) the closure V\overline{V} of VV is the smallest closed set containing V;V;
(ii) the interior int(V)=V˚{\operatorname{int}(V) = \mathring{V}} of VV is the biggest open set contained in V;V;
(iii) the boundary of VV is V=VXV.{\partial V = \overline{V} \cap \overline{X \setminus V}.}

The closure and the interior exist. Indeed, V\overline{V} is the intersection of the closed sets containing V,V, which is closed, and V˚\mathring{V} is the union of the open sets contained in V.V.

V

int(V)

closure of V

∂V

Figure 3. An instance in the plane with the Euclidean topology. The set VV 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,τ)(X, \tau) be a topological space and KX.{K \subset X.} The set KK is compact if for every F={Uα}αAτ{\mathcal{F} = \{ U_\alpha \}_{\alpha \in A} \subset \tau} such that αAUαK{\bigcup_{\alpha \in A} U_\alpha \supset K} there exists a finite subfamily F~={V1,,Vm}F{\tilde{\mathcal{F}} = \{ V_1, \dots, V_m \} \subset \mathcal{F}} such that n=1mVnK.{\bigcup_{n=1}^{m} V_n \supset K.}

Figure 4. KK is a triangle, the disks are open sets whose union contains K,K, and a finite subfamily is then highlighted whose union still contains K.K. The button draws a new family.

Definition 14 (Precompact set). A set VX{V \subset X} is precompact if V\overline{V} is compact.

Theorem 15 (Heine–Borel). A set KRn{K \subset \mathbb{R}^n} is compact if and only if KK is closed and bounded, that is, contained in a ball Br(0).B_r(0).

Example 16 (Topology on the extended real line). The following subsets of R\overline{\mathbb{R}} are open in R:\overline{\mathbb{R}}{:} the intervals (a,b)(a, b) with a,bR;{a, b \in \mathbb{R};} every set that is open in R,\mathbb{R}, which is also defined to be open in R;\overline{\mathbb{R}}; and the sets [,a)[-\infty, a) and (a,+](a, +\infty] for every aR,{a \in \mathbb{R},} which are also defined to be open.

[−∞, a)(a, b)(a, +∞]−∞ab+∞

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)(X, \tau_X) and (Y,τY)(Y, \tau_Y) be two topological spaces and f ⁣:XY.{f \colon X \to Y.} The map ff is continuous if f1(A)τX{f^{-1}(A) \in \tau_X} for every AτY,{A \in \tau_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)(X, d) where XX is a set and dd is a distance on X,X, that is, a function d ⁣:X×X[0,+){d \colon X \times X \to [0, +\infty)} such that, for all x,y,zX,{x, y, z \in X,}

d(x,y)=0    x=y,d(x,y)=d(y,x),d(x,y)d(x,z)+d(z,y).\begin{aligned} &d(x, y) = 0 \iff x = y, \\ &d(x, y) = d(y, x), \\ &d(x, y) \le d(x, z) + d(z, y). \end{aligned}

Definition 19 (Topology induced by a distance). Let (X,d)(X, d) be a metric space. For xX{x \in X} and r>0,{r > 0,} define

Br(x):={yX:d(x,y)<r}.B_r(x) := \{ y \in X : d(x, y) < r \}.

A set UU in XX is open if for every xU{x \in U} there exists r>0{r > 0} such that Br(x)U.{B_r(x) \subset U.} These open sets form the topology induced by the distance d.d.

Figure 6. An open set UU of the plane with the Euclidean distance, its edge dashed because it does not belong to U,U, and a ball Br(x)B_r(x) contained in UU around a moving point x.x.

A sequence (xn)X{(x_n) \subset X} converges to x0X,{x_0 \in X}, written xnx0,{x_n \to x_0,} if limnd(xn,x0)=0.{\lim_{n \to \infty} d(x_n, x_0) = 0.}

Lemma 20. Let (X,d)(X, d) be a metric space.
(i) A set VX{V \subset X} is closed if and only if VV is sequentially closed: if (xn)V{(x_n) \subset V} and xnx0,{x_n \to x_0,} then x0V.{x_0 \in V.}
(ii) A set KX{K \subset X} is compact if and only if KK is sequentially compact: every (xn)K{(x_n) \subset K} has a subsequence (xnk)(x_{n_k}) such that xnkx0K.{x_{n_k} \to x_0 \in K.}
(iii) If VV is closed, KK is compact and VK,{V \subset K,} then VV is compact.

Figure 7. Lemma 20 (i): a closed set V,V, its edge solid because it belongs to V,V, and a sequence of points of VV that converges to x0.x_0. The limit x0x_0 lies in V.V.

Lemma 21. Let (X,dX)(X, d_X) and (Y,dY)(Y, d_Y) be two metric spaces and f ⁣:XY.{f \colon X \to Y.} The following are equivalent.
(i) ff is continuous.
(ii) For every x0X{x_0 \in X} and every ε>0{\varepsilon > 0} there exists δ>0{\delta > 0} such that dX(x,x0)<δ{d_X(x, x_0) < \delta} implies dY(f(x),f(x0))<ε.{d_Y(f(x), f(x_0)) < \varepsilon.}
(iii) For every x0X{x_0 \in X} and every (xn)X{(x_n) \subset X} with xnx0,{x_n \to x_0,} that is, dX(xn,x0)0,{d_X(x_n, x_0) \to 0,} the sequence (f(xn))Y{(f(x_n)) \subset Y} is such that f(xn)f(x0),{f(x_n) \to f(x_0),} that is, dY(f(xn),f(x0))0.{d_Y(f(x_n), f(x_0)) \to 0.}

Measurable spaces

Real analysis begins here, following Folland, with the families of sets on which it is built.

σ-algebras

Definition 22 (σ\sigma-algebra, measurable space). Let XX be a set. A measurable space is a couple (X,M)(X, \mathcal{M}) where M\mathcal{M} is a σ\sigma-algebra, that is:
(i) MP(X);{\mathcal{M} \subset \mathcal{P}(X);}
(ii) M;{\emptyset \in \mathcal{M};}
(iii) for every AM,{A \in \mathcal{M},} XAM;{X \setminus A \in \mathcal{M};}
(iv) for every (An)M,{(A_n) \subset \mathcal{M},} nAnM.{\bigcup_n A_n \in \mathcal{M}.}

Example 23. For every set X,X, P(X)\mathcal{P}(X) and M={,X}{\mathcal{M} = \{ \emptyset, X \}} are σ\sigma-algebras. Most of the times a topology is not a σ\sigma-algebra, for example the Euclidean topology. Indeed, on R\mathbb{R} it contains (0,1)(0, 1) but not R(0,1).{\mathbb{R} \setminus (0, 1).}

Remark 24. Let (X,M)(X, \mathcal{M}) be a measurable space.
(i) If E,FM,{E, F \in \mathcal{M},} then EFM{E \cap F \in \mathcal{M}} and EFM.{E \setminus F \in \mathcal{M}.}
(ii) If (En)M,{(E_n) \subset \mathcal{M},} then nEnM.{\bigcap_n E_n \in \mathcal{M}.}

Proof (sketch). Intersections are written through complements and unions:

EF=X(X(EF))=X((XE)(XF)).E \cap F = X \setminus \big( X \setminus (E \cap F) \big) = X \setminus \big( (X \setminus E) \cup (X \setminus F) \big).

Details. The sets XE{X \setminus E} and XF{X \setminus F} belong to M\mathcal{M} by (iii) of Definition 22, their union by (iv) applied to XE,XF,,,,{X \setminus E, X \setminus F, \emptyset, \emptyset, \dots,} and its complement by (iii) again. Then EF=E(XF),{E \setminus F = E \cap (X \setminus F),} and in the same way nEn=Xn(XEn).{\bigcap_n E_n = X \setminus \bigcup_n (X \setminus E_n).} \blacksquare

EFX

X \ E

Figure 8. The identity of the proof, term by term. The button shades XE,{X \setminus E,} then XF,{X \setminus F,} then their union, then its complement EF.{E \cap F.}

Definition 25 (Restricted σ\sigma-algebra). Let (X,M)(X, \mathcal{M}) be a measurable space and ΩX.{\Omega \subset X.} The restricted σ\sigma-algebra is

MΩ=MΩ:={EΩ:EM}.\mathcal{M}_\Omega = \mathcal{M}|_\Omega := \{ E \cap \Omega : E \in \mathcal{M} \}.

One checks that (Ω,MΩ)(\Omega, \mathcal{M}_\Omega) is a measurable space. Indeed, =Ω,{\emptyset = \emptyset \cap \Omega,} Ω(EΩ)=(XE)Ω{\Omega \setminus (E \cap \Omega) = (X \setminus E) \cap \Omega} and n(EnΩ)=(nEn)Ω.{\bigcup_n (E_n \cap \Omega) = (\bigcup_n E_n) \cap \Omega.}

Generated and Borel σ-algebras

Theorem 26 (Generation of σ\sigma-algebras). Let XX be a set and FP(X).{\mathcal{F} \subset \mathcal{P}(X).} There exists a σ\sigma-algebra M\mathcal{M} on XX such that:
(i) FM;{\mathcal{F} \subset \mathcal{M};}
(ii) for every σ\sigma-algebra Q\mathcal{Q} on XX with FQ,{\mathcal{F} \subset \mathcal{Q},} MQ.{\mathcal{M} \subset \mathcal{Q}.}
In words, M\mathcal{M} is the smallest σ\sigma-algebra containing F.\mathcal{F}. It is denoted σ0(F).\sigma_0(\mathcal{F}).

Proof (sketch). Consider

W:={QP(X):Q is a σ-algebra, FQ}.W := \{ \mathcal{Q} \subset \mathcal{P}(X) : \mathcal{Q} \text{ is a } \sigma\text{-algebra}, \ \mathcal{F} \subset \mathcal{Q} \}.

Then W,{W \neq \emptyset,} as P(X)W.{\mathcal{P}(X) \in W.} Define

M:={Q:QW}.\mathcal{M} := \bigcap \{ \mathcal{Q} : \mathcal{Q} \in W \}. \tag*{$\blacksquare$}

Details. A set belongs to M\mathcal{M} when it belongs to every QW.{\mathcal{Q} \in W.} Each property of Definition 22 holds in every QW,{\mathcal{Q} \in W,} hence in M;\mathcal{M}; every QW{\mathcal{Q} \in W} contains F,\mathcal{F}, which gives (i), and a σ\sigma-algebra Q\mathcal{Q} with FQ{\mathcal{F} \subset \mathcal{Q}} is in W,W, which gives (ii).

P(X)QQQFσ₀(F)

Figure 9. The proof of Theorem 26: inside P(X),\mathcal{P}(X), three of the σ\sigma-algebras of W,W, each containing F.\mathcal{F}. The intersection σ0(F)\sigma_0(\mathcal{F}) of all the members of WW contains F\mathcal{F} and lies inside each of them.

Definition 27 (Borel σ\sigma-algebra). Let (X,τ)(X, \tau) be a topological space. The Borel σ\sigma-algebra is σ0(τ),\sigma_0(\tau), denoted B(X).\mathcal{B}(X).

Remark 28. For R\mathbb{R} with the Euclidean topology,

B(R)=σ0({open sets})=σ0({(a,b):a<b})=σ0({[a,b]:a<b})=σ0({(a,+):aR}).\begin{aligned} \mathcal{B}(\mathbb{R}) &= \sigma_0\big( \{ \text{open sets} \} \big) \\ &= \sigma_0\big( \{ (a, b) : a < b \} \big) \\ &= \sigma_0\big( \{ [a, b] : a < b \} \big) \\ &= \sigma_0\big( \{ (a, +\infty) : a \in \mathbb{R} \} \big). \end{aligned}

Similarly,

B(R)=σ0({(a,+]:aR}),B(RN)=σ0({open rectangles}),\begin{aligned} \mathcal{B}(\overline{\mathbb{R}}) &= \sigma_0\big( \{ (a, +\infty] : a \in \mathbb{R} \} \big), \\ \mathcal{B}(\mathbb{R}^N) &= \sigma_0\big( \{ \text{open rectangles} \} \big), \end{aligned}

where an open rectangle is a set (a1,b1)×(a2,b2)××(aN,bN).{(a_1, b_1) \times (a_2, b_2) \times \dots \times (a_N, b_N).}

a₁b₁a₂b₂(a₁, b₁) × (a₂, b₂)

Figure 10. An open rectangle of the plane, the case N=2.{N = 2.} Its edges are dashed because they do not belong to it.