Solutions

Problem Set 1

MTHE / MATH 328 — Real Analysis · Winter 2026

Problem 1: Discrete Metric Topology

ProblemDiscrete Metric Topology

Let XX be a set and let dd be the discrete metric on XX, i.e.

d(x,y)={0if x=y1if x≠yd(x,y) = \begin{cases} 0 & \text{if } x = y \\ 1 & \text{if } x \neq y \end{cases}

(a) Fix x∈Xx \in X. For every r>0r > 0, describe what the open ball B(x,r)B(x, r) is (with respect to the metric dd).

(b) Recall the definition of the metric topology Td\mathcal{T}_d induced by dd. Which subsets Ω⊆X\Omega \subseteq X belong to Td\mathcal{T}_d?

(c) Describe all clopen sets in the topology Td\mathcal{T}_d.

Problem 2: Neighbourhood Axioms Determine a Topology

ProblemNeighbourhood Axioms Determine a Topology

Let XX be a nonempty set. Assume that for every x∈Xx \in X we have a family Ux\mathcal{U}_x of subsets of XX satisfying:

(1) V∈Ux  ⟹  x∈VV \in \mathcal{U}_x \implies x \in V

(2) V∈UxV \in \mathcal{U}_x and V⊆W  ⟹  W∈UxV \subseteq W \implies W \in \mathcal{U}_x

(3) V1,V2∈Ux  ⟹  V1∩V2∈UxV_1, V_2 \in \mathcal{U}_x \implies V_1 \cap V_2 \in \mathcal{U}_x

(4) For every V∈UxV \in \mathcal{U}_x there exists W∈UxW \in \mathcal{U}_x such that V∈UyV \in \mathcal{U}_y for every y∈Wy \in W.

(a) Let T:={Ω⊆X:Ω∈Ux for every x∈Ω}\mathcal{T} := \{\Omega \subseteq X : \Omega \in \mathcal{U}_x \text{ for every } x \in \Omega\}. Verify that T\mathcal{T} is a topology.

(b1) If U⊆XU \subseteq X is a neighbourhood of xx in T\mathcal{T}, then U∈UxU \in \mathcal{U}_x.

(b2) If U∈UxU \in \mathcal{U}_x, then UU is a neighbourhood of xx in T\mathcal{T}.

Problem 3: Cluster Points in Hausdorff Spaces

ProblemCluster Points in Hausdorff Spaces

Let (X,T)(X, \mathcal{T}) be a Hausdorff topological space. Let A⊆XA \subseteq X and x0∈Xx_0 \in X. Prove that x0x_0 is a cluster point of AA if and only if for every neighbourhood VV of x0x_0, the intersection A∩VA \cap V is infinite.

Problem 4: The Extended Real Line

ProblemThe Extended Real Line

Let R‾=R∪{−∞,+∞}\overline{\mathbb{R}} = \mathbb{R} \cup \{-\infty, +\infty\} with −∞<x<+∞-\infty < x < +\infty for all x∈Rx \in \mathbb{R}. For x∈Rx \in \mathbb{R}, r>0r > 0, B(x,r):=(x−r,x+r)B(x, r) := (x - r, x + r); for r>0r > 0, B(+∞,r):=(1/r,+∞)∪{+∞}B(+\infty, r) := (1/r, +\infty) \cup \{+\infty\} and B(−∞,r):={−∞}∪(−∞,−1/r)B(-\infty, r) := \{-\infty\} \cup (-\infty, -1/r). Define

E‾:={Ω⊆R‾:∀x∈Ω,∃ρ>0 with B(x,ρ)⊆Ω}.\overline{\mathcal{E}} := \{\Omega \subseteq \overline{\mathbb{R}} : \forall x \in \Omega, \exists \rho > 0 \text{ with } B(x, \rho) \subseteq \Omega\}.

(a) Show that for every x∈R‾x \in \overline{\mathbb{R}} and 0<r1<r20 < r_1 < r_2, B(x,r1)⊆B(x,r2)B(x, r_1) \subseteq B(x, r_2). Deduce that E‾\overline{\mathcal{E}} is a topology on R‾\overline{\mathbb{R}}.

(b) Given A⊆RA \subseteq \mathbb{R}, show +∞+\infty is a cluster point of AA iff sup⁡A=+∞\sup A = +\infty.

(c) Let A⊆RA \subseteq \mathbb{R} with sup⁡A=+∞\sup A = +\infty, f:A→Rf : A \to \mathbb{R}, and λ∈R\lambda \in \mathbb{R}. Prove lim⁡x→∞f(x)=λ\lim_{x \to \infty} f(x) = \lambda iff ∀ε>0,∃M>0\forall \varepsilon > 0, \exists M > 0 such that ∣f(x)−λ∣<ε|f(x) - \lambda| < \varepsilon for all x∈Ax \in A with x>Mx > M.

Problem 5: Limits and Continuity with Mixed Topologies

ProblemLimits and Continuity with Mixed Topologies

Consider f:R→Rf : \mathbb{R} \to \mathbb{R}, f(x)=x2f(x) = x^2.

(a) Domain discrete, codomain Euclidean. Is lim⁡x→2f(x)=4\lim_{x \to 2} f(x) = 4? Is ff continuous?

(b) Domain Euclidean, codomain trivial. Find all λ\lambda with lim⁡x→2f(x)=λ\lim_{x \to 2} f(x) = \lambda. Is ff continuous?

(c) Domain Euclidean, codomain Tlsc={∅,R}∪{(a,+∞):a∈R}\mathcal{T}_{\text{lsc}} = \{\emptyset, \mathbb{R}\} \cup \{(a, +\infty) : a \in \mathbb{R}\} (lower semicontinuous topology). Find all λ\lambda with lim⁡x→2f(x)=λ\lim_{x \to 2} f(x) = \lambda. Is ff continuous?

(d) Domain and codomain Euclidean. Find all λ\lambda with lim⁡x→2f(x)=λ\lim_{x \to 2} f(x) = \lambda. Is ff continuous?

Problem 6: The Cofinite Topology on R\mathbb{R}

ProblemThe Cofinite Topology on R

Let X=RX = \mathbb{R} and Z={∅}∪{Ω⊆X:X∖Ω is finite}\mathcal{Z} = \{\emptyset\} \cup \{\Omega \subseteq X : X \setminus \Omega \text{ is finite}\}.

(a) Verify Z\mathcal{Z} is a topology.

(b) For each of A={2}A = \{\sqrt{2}\}, B={−1,0,2}B = \{-1, 0, 2\}, C=[1,∞)C = [1, \infty), D=QD = \mathbb{Q}, find the derived set, interior, closure, and boundary.