On this page:
1 Metric Spaces
1.1 Definition of Metric Spaces
1.2 Continuity
1.3 Open Balls
1.4 Neighborhoods
1.5 Limits
1.6 Open Sets and Closed Sets
1.7 Subspaces of Metric Spaces
1.8 Equivalence of Metric Spaces
2 Topological Spaces
2.1 Definition of Topological Spaces
2.2 Neighborhood Spaces
2.3 Closure, Interior, and Boundary
2.4 Continuity and Homeomorphism
2.5 Subspaces of Topological Spaces
2.6 Products
2.7 Indentification Topologies
2.8 Categories and Functors
3 Connectedness
4 Compactness

Notes on Topology🔗

Guannan Wei <guannanwei@purdue.edu>

This post is the note from reading Bert Mendelson’s book Introduction to Topology, 3rd Edition. Most of the content of this note directly comes from the book. The first chapter of the book about the set theory is omitted in this note.

At the moment, the note is obviously unfinished and I am still reading the book.

    1 Metric Spaces

      1.1 Definition of Metric Spaces

      1.2 Continuity

      1.3 Open Balls

      1.4 Neighborhoods

      1.5 Limits

      1.6 Open Sets and Closed Sets

      1.7 Subspaces of Metric Spaces

      1.8 Equivalence of Metric Spaces

    2 Topological Spaces

      2.1 Definition of Topological Spaces

      2.2 Neighborhood Spaces

      2.3 Closure, Interior, and Boundary

      2.4 Continuity and Homeomorphism

      2.5 Subspaces of Topological Spaces

      2.6 Products

      2.7 Indentification Topologies

      2.8 Categories and Functors

    3 Connectedness

    4 Compactness

1 Metric Spaces🔗

1.1 Definition of Metric Spaces🔗

Definition (Metric Space): X,d\langle X, d \rangle is a metric space if XX is the underlying set, and d:X×XRd : X \times X \to \mathbb{R} is a distance function, which satisfies
  • x,yX,d(x,y)0\forall x, y \in X, d(x, y) \geq 0

  • x,yX,d(x,y)=0 only if x=y\forall x, y \in X, d(x, y) = 0 \text{ only if } x = y

  • x,yX,d(x,y)=d(y,x)\forall x, y \in X, d(x, y) = d(y, x)

  • x,y,zX,d(x,z)d(x,y)+d(y,z)\forall x, y, z \in X, d(x, z) \leq d(x, y) + d(y, z)

The last one assert the transitivity of closeness: if xx is close to yy and yy is close to zz, then xx is close to zz.

Example: R,d\langle \mathbb{R}, d \rangle is a metric space on real numbers, where d(x,y)=xyd(x, y) = |x - y|.

Theorem: Given a set of metric space X1,d1\langle X_1, d_1 \rangle, X2,d2\langle X_2, d_2 \rangle, \cdots, Xi,di\langle X_i, d_i \rangle, we can obtain a metric space on X=Πi=1nXiX = \Pi_{i = 1}^n X_i with d:X×XRd: X \times X \to \mathbb{R}. Let d(x,y)=maxiindi(xi,yi)d(x, y) = \max_{i \leq i \leq n} {d_i(x_i, y_i)}

Proof: By verifying the four requirements in the definition. □

Remark: By instantiating the above theorem, Rn,d:Rn×RnR\langle \mathbb{R}^n, d: \mathbb{R}^n \times \mathbb{R}^n \to \mathbb{R} \rangle is a metric space, where d((x1,x2,,xn),(y1,y2,,yn))=maxiinxiyid((x_1, x_2, \cdots, x_n), (y_1, y_2, \cdots, y_n)) = \max_{i \leq i \leq n}{|x_i - y_i|}

Remark: Rn,d:Rn×RnR\langle \mathbb{R}^n, d{}’: \mathbb{R}^n \times \mathbb{R}^n \to \mathbb{R} \rangle is a metric space, where d((x1,x2,,xn),(y1,y2,,yn))=Σi=1n(xiyi)2d{}’((x_1, x_2, \cdots, x_n), (y_1, y_2, \cdots, y_n)) = \sqrt{\Sigma_{i=1}^n{ (x_i - y_i) }^2} Note: dd{}’ is the Euclidean distance function.

1.2 Continuity🔗

Definition (Continuity): A function f:RRf: \mathbb{R} \to \mathbb{R} is continuous at point aRa \in \mathbb{R}, if given ϵ>0\epsilon > 0, there exists a δ>0\delta > 0, such that if xa<δ|x - a| < \delta, then f(x)f(a)<ϵ|f(x) - f(a)| < \epsilon for all xRx \in \mathbb{R}.

The function is continuous if it is continuous at each point of R\mathbb{R}.

Definition (Continuity): Given two metric spaces X,d\langle X, d \rangle and Y,d\langle Y, d{}’ \rangle, a function f:XYf: X \to Y is continuous at point aXa \in X, if given ϵ>0\epsilon > 0, there exists a δ>0\delta > 0, such that if d(x,a)<δd(x, a) < \delta, then d(f(x),f(a))<ϵd{}’(f(x), f(a)) < \epsilon for all xXx \in X.

The function is continuous if it is continuous at each point of XX.

Theorem: A constant function f:XYf : X \to Y is continuous.

Proof: It is always the case that d(f(x),f(a))=0d{}’(f(x), f(a)) = 0. □

Theorem: The identity function f:XXf : X \to X is continuous.

Proof: Choose δ=ϵ\delta = \epsilon. □

Theorem (Composition of Continuous Functions): Let X,d1\langle X, d_1 \rangle, Y,d2\langle Y, d_2 \rangle, and Z,d3\langle Z, d_3 \rangle be metric spaces. Let f:XYf : X \to Y be continuous at aXa \in X, and g:YZg: Y \to Z be continuous at f(a)Yf(a) \in Y, then gf:XZg \circ f : X \to Z is continuous at aXa \in X.

Corollary: Let X,d1\langle X, d_1 \rangle, Y,d2\langle Y, d_2 \rangle, and Z,d3\langle Z, d_3 \rangle be metric spaces. Let f:XYf : X \to Y and g:YZg: Y \to Z be continuous, then gf:XZg \circ f : X \to Z is continuous.

1.3 Open Balls🔗

Definition (Open Ball): Let X,d\langle X, d \rangle be a metric space, and aXa \in X, and δ>0\delta > 0. The open ball B(a;δ)B(a;\delta) about aa of radius δ\delta is {xXd(a,x)<δ}X \{ x \in X | d(a, x) < \delta \} \subseteq X.

In other words, xB(a;δ)x \in B(a;\delta) iff xXx \in X and d(x,a)<δd(x, a) < \delta. Similarly, if Y,d\langle Y, d{}’ \rangle is a metric space, and f:XYf: X \to Y, then we have yB(f(a);ϵ)y \in B(f(a); \epsilon) iff yYy \in Y and d(y,f(a))<ϵd{}’(y, f(a)) < \epsilon.

Theorem (4.2): A function f:X,dY,df : \langle X, d \rangle \to \langle Y, d{}’ \rangle is continuous at a point aXa \in X iff for all ϵ>0\epsilon > 0, there exists a δ>0\delta > 0 such that f(B(a;δ))B(f(a);ϵ)f(B(a; \delta)) \subset B(f(a); \epsilon)

Remark: For a function f:XYf : X \to Y, we have F(U)VF(U) \subset V iff Uf1(V)U \subset f^{-1}(V).

Theorem (4.3): A function f:X,dY,df : \langle X, d \rangle \to \langle Y, d{}’ \rangle is continuous at a point aXa \in X iff for all ϵ>0\epsilon > 0, there exists a δ>0\delta > 0 such that B(a;δ)f1(B(f(a);ϵ))B(a; \delta) \subset f^{-1}(B(f(a); \epsilon))

1.4 Neighborhoods🔗

Definition (Neighborhoods): Let X,d\langle X, d\rangle be a metric space and aXa \in X. A set NXN \subset X is called a neighborhood of aa if there exists a δ>0\delta > 0 such that B(a;δ)NB(a; \delta) \subset N

The collection Na\mathcal{N}_a of all neighborhoods of aXa \in X is called a complete system of neighborhoods of the point aa.

Lemma (4.5): Let X,d\langle X, d\rangle be a metric space and aXa \in X. For every δ>0\delta > 0, the open ball B(a;δ)B(a; \delta) is a neighborhood of point bB(a;δ)b \in B(a; \delta).

Proof: We need to show that for all bB(a;δ)b \in B(a; \delta), there exists η>0\eta > 0 such that B(b;η)B(a;δ)B(b; \eta) \subset B(a; \delta). Choose η<δd(a,b)\eta < \delta - d(a, b). Then xB(b;η)\forall x \in B(b; \eta), d(a,x)d(a,b)+d(b,x)<d(a,b)+η<d(a,b)+δd(a,b)=δd(a, x) \leq d(a, b) + d(b, x) < d(a, b) + \eta < d(a, b) + \delta - d(a, b) = \delta Therefore, xB(b;η)\forall x \in B(b; \eta), we have xB(a;δ)x \in B(a; \delta). □

Lemma (4.6): Let f:f:X,d\langle X, d\rangle\toY,d\langle Y, d{}’\rangle. ff is continuous at point aXa \in X iff for for all neighborhood MM of f(a)f(a), there exists a corresponding neighborhood NN of aa, such that f(N)M, or equivalently Nf1(M)f(N) \subset M \text{, or equivalently } N \subset f^{-1}(M)

Proof:
  • First assume that ff is continuous at aa. Let MM be a neighborhood of f(a)f(a). We must to show that there exists a neighborhood NN of aa and f(N)Mf(N) \subset M. 1) By the definition of neighborhoods, there exists ϵ\epsilon such that B(f(a),ϵ)MB(f(a), \epsilon) \subset M. 2) Since ff is continuous, there exists a δ>0\delta > 0 such that f(B(a;δ))B(f(a);ϵ)f(B(a; \delta)) \subset B(f(a); \epsilon) (theorem 4.2). 3) Now, let NN be B(a;δ)B(a; \delta). We can conclude that f(N)=f(B(a;δ)B(f(a);ϵ)Mf(N) = f(B(a; \delta) \subset B(f(a); \epsilon) \subset M

  • To prove the other direction, assume that \forall neighborhood MM of f(a)f(a), there exists a neighborhood NN of aa, such that f(N)Mf(N) \subset M. Let ϵ>0\epsilon > 0 be the threshold of such neighborhood M=B(f(a);ϵ)M = B(f(a); \epsilon). To prove ff is continuous, we must show that there exists δ>0\delta > 0 such that f(B(a;δ))B(f(a);ϵ)f(B(a; \delta)) \subset B(f(a); \epsilon) (theorem 4.2). By the hypothesis, there is neighborhood NN of aa such that f(N)Mf(N) \subset M. By the definition of neighborhood, there exists δ\delta such that B(a;δ)NB(a; \delta) \subset N. Therefore, we have f(B(a;δ))f(N)M=B(f(a);ϵ)f(B(a; \delta)) \subset f(N) \subset M = B(f(a); \epsilon)

Lemma (4.7): Let f:f:X,d\langle X, d\rangle\toY,d\langle Y, d{}’\rangle. ff is continuous at point aXa \in X iff for each neighborhood MM of f(a)f(a), f1(M)f^{-1}(M) is a neighborhood of aa.

Theorem (4.8): Let X,d\langle X, d\rangle be a metric space.
  • aX\forall a \in X, there exists at least one neighborhood of aa.

  • aX\forall a \in X and its neighborhood NN, aNa \in N.

  • aX\forall a \in X, if NN is its neighborhood and NNN{}’ \supset N, then NN{}’ is also a neighborhood of aa.

  • aX\forall a \in X and its neighborhoods NN and MM, NMN \cap M is also a neighborhood of aa.

  • aX\forall a \in X and each neighborhood NN of aa, there exists a neighborhood OO of aa, such that ONO \subset N and OO is a neighborhood of points in OO.

Definition (Basis of Neighborhoods): Let aa be a point in metric space XX. A collection Ba\mathcal{B}_a of neighborhoods of aa is called a basic for the neighborhood system at aa, if every neighborhood NN of aa contains some element BB of Ba\mathcal{B}_a.

1.5 Limits🔗

First, recall the definition of limit on real line.

Definition (Limit): aRa \in \mathbb{R} is the limit of the sequence a1,a2,a_1, a_2, \cdots if given ϵ>0\epsilon > 0, there exists a positive integer NN such that, for all n>Nn > N, we have aan<ϵ|a - a_n| < \epsilon. We can also say the sequence converges to aa, and write limnan=a\lim_n a_n = a.

Definition (Limit, generalized): Let X,d\langle X, d\rangle be a metric space. Let a1,a2,a_1, a_2, \cdots be a sequence of points in XX. A point aXa \in X is the limit of the sequence if limnd(a,an)=0\lim_n d(a, a_n) = 0

Corollary (5.3): Let X,d\langle X, d\rangle be a metric space and a1,a2,a_1, a_2, \cdots be a sequence of points in XX. aX,limnan=a\exists a \in X, \lim_n a_n = a \Leftrightarrow for each neighborhood VV of aa, NN,n>N,anV\exists N \in \mathbb{N}, \forall n > N, a_n \in V.

Proof:
  • Let VV be a neighborhood of aa. By definition of neighborhoods, there is ϵ\epsilon such that aB(a;ϵ)Va \in B(a; \epsilon) \subset V. Then if limnan=a\lim_{n} a_n = a, there exists an ineger NN, such that d(a,an)<ϵd(a, a_n) < \epsilon whenever n>Nn > N. Therefore anVa_n \in V.

  • Given ϵ>0\epsilon > 0 and B(a;ϵ)B(a; \epsilon) is a neighborhood of aa. By premises, we have NN such that n>N,anB(a;ϵ)n > N, a_n \in B(a; \epsilon). Then d(a,an)<ϵd(a, a_n) < \epsilon, and therefore limnan=a\lim_{n} a_n = a. □

If SS is a set of infinite points, and given a proposition PP, there is a finite subset XSX \subset S, such that xX,P(x)\forall x \in X, P(x), then we can say the PP is true for almost all the elements in SS.

Therefore, limnan=a\lim_{n} a_n = a if for each neighborhood VV of aa, almost all points ana_n are in VV. In other wors, for each VV, there are at most finite elements in sequence ana_n are not in VV.

Theorem (5.4): Let X,d\langle X, d\rangle and Y,d\langle Y, d{}’\rangle be two metric space. A function f:XYf : X \to Y is continuous at a point aXa \in X if and only if, if limnan=a\lim_n a_n = a for a sequence of points in XX, limnf(an)=f(a)\lim_n f(a_n) = f(a).

Proof: TODO.

If limnan=a\lim_n a_n = a, then by a substitution, limnf(an)=f(a)\lim_n f(a_n) = f(a) is equivalent to limnf(an)=f(limnan)\lim_n f(a_n) = f(\lim_n a_n). In other words, the continuous function commutes with the limit operation.

Definition (bounds): Let XX be a set of real numbers. A number bb is an upper bound of AA if xA,xb\forall x \in A, x \leq b. A number cc is a lower bound of AA if xA,cx\forall x \in A, c \leq x. If AA has both an upper bound and a lower bound, then AA is said to be bounded. An upper bound bb^* is a least upper bound of AA, if for all upper bound bb of AA, bbb^* \leq b. A lower bound cc^* is a greatest lower bound of AA, if for all lower bound cc of AA, ccc \leq c^*.

Definition (Completeness postulate): Completeness postulateis a properties of the real number systems, stating that if a non-empty set AA of real numbers has an upper bound, then it also has a lub; and if a non-empty set BB of real numbers has a lower bound, then it also has a glb\text{glb} .

Lemma (5.6): Let bb be a glb\text{glb} of a non-empty set AA. For each ϵ>0\epsilon > 0, exists an element xAx \in A such that xb<ϵx - b < \epsilon.

Proof: By contradiction. □

Corollary (5.7): Let bb be a glb\text{glb} of a non-empty set AA of real numbers. There is a sequence ana_n of real numbers such that anAa_n \in A and limnan=b\lim_n a_n = b.

Definition (Distance between an element and a set): Let X,d\langle X, d\rangle be a metric space. Let aXa \in X and AA be a non-empty subset of XX. The glb\text{glb} of {d(a,x)xA}\{ d(a, x) | x \in A \} is called the distance between aa and AA and is denoted by d(a,A)d(a, A).

1.6 Open Sets and Closed Sets🔗

Definition (Open Set): A subset OO of a metric space is open if OO is a neighborhood of each of its points.

We shall also use "open balls" to defined "open sets".

Theorem (6.2): A subset OO of a metric space X,d\langle X, d\rangle is an open set iff it is a union of open balls.

Proof:
  • For the first direction, assume that OO is open. By the definition of openness, for each point aOa \in O, there exists a ball B(a;δa)OB(a; \delta_a) \subset O. Therefore O=aOB(a;δa)O = \cup_{a \in O} B(a; \delta_a).

  • For the other direction, assume that OO is a union of open balls, whose centers form an indexed set II. Then O=aIB(a;δa)O = \cup_{a \in I} B(a; \delta_a). If xOx \in O, then there exists aIa \in I s.t. xB(a;δa)x \in B(a; \delta_a). B(a;δa)B(a; \delta_a) is a neighborhood of xx, and sicne B(a;δa)OB(a; \delta_a) \subset O, OO is also a neighborhood of every xx. □

Theorem (6.3): Let f:X,dY,df: \langle X, d \rangle \to \langle Y, d{}’ \rangle. ff is continuous iff for each open set OO of YY, the subset f1(O)f^{-1}(O) is an open subset of XX.

Proof:
  • For the first direction, we need to show that f1(O)f^{-1}(O) is a neighborhood of every point in it. To show this, let af1(O)a \in f^{-1}(O), then f(a)Of(a) \in O and OO is a neighborhood of f(a)f(a). Since ff is continous, by Theorem 4.7, f1(O)f^{-1}(O) is a neighborhood of aa.

  • For the other direction, assume that OY\forall O \subset Y, f1(O)f^{-1}(O) is open. We need to show ff is continous. Let aXa \in X and MM be a neighborhood of f(a)f(a). There exists B(f(a),ϵ)MB(f(a), \epsilon) \subset M, since B(f(a),ϵ)B(f(a), \epsilon) is open, f1(B(f(a),ϵ))f^{-1}(B(f(a), \epsilon)) is open and is a neighborhood of aa. Therefore, ff is continous. □

Theorem (6.4): Let X,d\langle X, d\rangle be a metric space.
  • The empty set is open

  • XX is open

  • If O1,O2,,OnO_1, O_2, \cdots, O_n are open, O1O2OnO_1 \cap O_2 \cdots \cap O_n is also open.

  • If O1,O2,,OnO_1, O_2, \cdots, O_n are open, O1O2OnO_1 \cup O_2 \cdots \cup O_n is also open.

Definition (Closedness): A subset FF of a metric space is close if its complement C(F)C(F) is open.

A set can be both open and closed. For example, given a metric space X,d\langle X, d\rangle, \emptyset and XX are open, therefore their complement XX and \emptyset are closed. So, \emptyset and XX are both open and closed.

Definition (Limit Point): Let AA be a subset of metric space XX. A point bXb \in X is a limit point of AA if every neighborhood of bb contains a point of AA different from bb.

Theorem (6.7): Given a metric space X,d\langle X, d\rangle, a set FXF \subset X is closed iff FF contains all its limit points.

Proof:
  • For the first direction, assume that FF is cosed and therefore C(F)C(F) is open. Let FF{}’ denote the set of limit points of FF. We need to proof that FFF{}’ \subset F by showing xF,xF\forall x \notin F, x \notin F{}’. Choose a point bFb \in F, since C(F)C(F) is open, there exists a δ\delta s.t. B(b;δ)C(F)B(b; \delta) \subset C(F). Hence, bFb \notin F{}’ and FFF{}’ \subset F.

  • For the other direction, assume that FFF{}’ \subset F and therefore C(F)C(F)C(F) \subset C(F{}’). We need to proof FF is closed by showing C(F)C(F) is open. Since FFF{}’ \subset F, if bC(F)b \in C(F), then bFb \notin F{}’. C(F)C(F) is a neighborhood of each points, since B(b;δ)C(F)B(b; \delta) \subset C(F) for some δ\delta. □

1.7 Subspaces of Metric Spaces🔗
1.8 Equivalence of Metric Spaces🔗

2 Topological Spaces🔗

2.1 Definition of Topological Spaces🔗
2.2 Neighborhood Spaces🔗
2.3 Closure, Interior, and Boundary🔗
2.4 Continuity and Homeomorphism🔗
2.5 Subspaces of Topological Spaces🔗
2.6 Products🔗
2.7 Indentification Topologies🔗
2.8 Categories and Functors🔗

3 Connectedness🔗

4 Compactness🔗

History

03/28/2020 - updated until sec. 1.3

03/16/2020 - added the post