Proofs from Mendelson 2.4.7

2026.05.16 · 5 min · topology

I’ve been working through Mendelson’s Introduction to Topology and I’d like to share a couple of proofs for problem 7 from Chapter 2, Section 4, Open balls and neighborhoods. I’ll also reflect on things I’ve learned from working on this problem.

Let (X1,d1)(X_{1}, d_{1}), (X2,d2)(X_{2}, d_{2}), \dots, (Xn,dn)(X_{n}, d_{n}) be metric spaces and convert X=i=1nXiX = \prod_{i=1}^{n}{X_{i}} into a metric space (X,d)(X, d) in the standard manner. Prove that:

1. An open ball in (X,d)(X, d) is the product of open balls from X1,X2,,XnX_{1}, X_{2}, \dots, X_{n} respectively.

2. Let aiXia_i \in X_i, i=1,2,,ni = 1, 2, \dots, n, and let Bai\mathcal{B}_{a_i} be a basis for the neighborhood system at aia_i. Let Ba\mathcal{B}_a be the collection of all sets of the form B1×B2××BnB_1 \times B_2 \times \dots \times B_n, BiBaiB_i \in \mathcal{B}_{a_i}. Prove that Ba\mathcal{B}_a is a basis for the neighborhood system at a=(a1,a2,,an)Xa = (a_1, a_2, \dots, a_n) \in X.

3. Let pi:XXip_i:X \rightarrow X_i, i=1,2,,ni = 1, 2, \dots, n be the projection that maps pi(a)=aip_i(a) = a_i. Prove that each pip_i is continuous.

4. Let YY be a metric space and f:YXf: Y \rightarrow X a function. Prove that ff is continuous if and only if each of the nn functions pifp_if is continuous.

Proof for 7.1

Define the metric space (X,d)(X, d) where given x=(x1,x2,,xn)Xx = (x_1, x_2, \dots, x_n) \in X and y=(y1,y2,,yn)Xy = (y_1, y_2, \dots, y_n) \in X, d(x,y)=max1indi(xi,yi)d(x, y) = \max_{1 \leq i \leq n} d_i(x_i, y_i). Let bB(a;δ)b \in B(a; \delta) where a=(a1,a2,,an)Xa = (a_1, a_2, \dots, a_n) \in X and δ>0\delta \gt 0. Then for all i=1,2,,ni = 1, 2, \dots, n, di(ai,bi)<δd_i(a_i, b_i) \lt \delta. Hence biBi(ai;δ)b_i \in B_i(a_i; \delta) and by definition of the product of sets, bi=1nBi(ai;δ)b \in \prod_{i=1}^{n} B_i(a_i; \delta). Since bb was arbitrary, it follows that B(a;δ)i=1nBi(ai;δ)B(a; \delta) \subseteq \prod_{i=1}^{n} B_i(a_i; \delta). Conversely, let bi=1nBi(ai;δ)b \in \prod_{i=1}^{n}{B_i(a_i; \delta)}. Then for all i=1,2,,ni = 1, 2, \dots, n, di(ai,bi)<δd_{i}(a_{i}, b_{i}) \lt \delta, hence max1indi(ai,bi)<δ\max_{1 \leq i \leq n}d_i(a_i, b_i) \lt \delta. It follows that bB(a;δ)b \in B(a; \delta). Since bb was arbitrary, we have i=1nBi(ai;δ)B(a;δ)\prod_{i=1}^{n}{B_i(a_i; \delta)} \subseteq B(a; \delta), as required.

Reflection

It’s good to restate what you’ve proven, as the result here is stronger than what the problem’s prompt asks for. I would state it as follows: B(a;δ)=i=1nBi(ai;δ)B(a; \delta) = \prod_{i = 1}^{n} B_i(a_i; \delta), where a=(a1,a2,,an)Xa = (a_1, a_2, \dots, a_n) \in X and δ>0\delta \gt 0.

Proof for 7.2

Let SBaS \in \mathcal{B}_a. Then S=(B1×B2××Bn)S = (B_1 \times B_2 \times \dots \times B_n) such that BiBaiB_i \in \mathcal{B}_{a_i}. Since Bai\mathcal{B}_{a_i} is a basis at aia_i, BiB_i is a neighborhood of aia_i. Hence for some δi>0\delta_i \gt 0, Bi(ai;δi)BiB_i(a_i; \delta_i) \subseteq B_i. Take δ=min{δ1,δ2,,δn}\delta = \min\{\delta_1, \delta_2, \dots, \delta_n\}. Then Bi(ai;δ)BiB_i(a_i; \delta) \subseteq B_i, hence i=1nBi(ai;δ)i=1nBi=S\prod_{i = 1}^{n} B_i(a_i; \delta) \subseteq \prod_{i = 1}^{n} B_i = S. Then by 7.1, we have B(a;δ)=i=1nBi(ai;δ)SB(a; \delta) = \prod_{i=1}^{n} B_i(a_i; \delta) \subseteq S. Since SS was arbitrary, every element of Ba\mathcal{B}_a is a neighborhood of aa.

Let NaN_a be a neighborhood of aa. Then there exists some δ>0\delta \gt 0 such that B(a;δ)NaB(a; \delta) \subseteq N_a. By 7.1, i=1nBi(ai;δ)=B(a;δ)Na\prod_{i=1}^{n} B_i(a_i; \delta) = B(a; \delta) \subseteq N_a. Since Bai\mathcal{B}_{a_i} is a basis at aia_i, for Bi(ai;δ)B_i(a_i; \delta) there exists NaiBaiN_{a_i} \in \mathcal{B}_{a_i} such that NaiBi(ai;δ)N_{a_i} \subseteq B_i(a_i; \delta). Take S=i=1nNaiS = \prod_{i=1}^{n} N_{a_i} where NaiBaiN_{a_i} \in \mathcal{B}_{a_i} and NaiBi(ai;δ)N_{a_i} \subseteq B_i(a_i; \delta). Then Si=1nBi(ai;δ)=B(a;δ)NaS \subseteq \prod_{i=1}^{n} B_i(a_i; \delta) = B(a; \delta) \subseteq N_a. Since SS is of the form (B1×B2××Bn)(B_1 \times B_2 \times \dots \times B_n) such that BiBaiB_i \in \mathcal{B}_{a_i}, it follows that SBaS \in \mathcal{B}_a.

QED.

Reflection

The types in this problem were dense. A minor type error initially caused a lot of friction for me and made it difficult to start the proof. I’m not sure there’s a great lesson other than “keep practicing.” This cognitive load of this kind of thing—at least in software engineering—can usually be offloaded to a computer, so it’s no surprise that I’d need to strengthen this muscle.

Proof for 7.3

Let aXa \in X and ϵ>0\epsilon \gt 0 be given. Set δ=ϵ\delta = \epsilon. Let bXb \in X and suppose d(a,b)<δd(a, b) \lt \delta. Since d(a,b)=max1jndj(aj,bj)d(a, b) = \max_{1 \leq j \leq n} d_j(a_j, b_j) and di(pi(a),pi(b))=di(ai,bi)d(a,b)<δ=ϵd_i(p_i(a), p_i(b)) = d_i(a_i, b_i) \leq d(a,b) \lt \delta = \epsilon, we have di(ai,bi)<ϵd_i(a_i, b_i) \lt \epsilon. Hence pip_i is continuous at aa. Since aa was arbitrary, pip_i is continuous on XX.

Reflection

This one wasn’t bad. The only part requiring care is the need to juggle indices (ii vs jj). Otherwise, we introduce ambiguity into the proof.

Proof for 7.4

Let a(Y,d)a \in (Y, d') and ϵ>0\epsilon \gt 0 be given.

\rightarrow Suppose ff is continuous. By 7.3, pip_i is continuous for all 1in1 \leq i \leq n. Since the composition of two continuous functions is again a continuous function, pifp_if is continuous.

\leftarrow Suppose pifp_if is continuous for all 1in1 \leq i \leq n. We must show that there exists some δ\delta such that d(f(x),f(a))<ϵd(f(x), f(a)) \lt \epsilon whenever d(x,a)<δd'(x, a) \lt \delta. Since pifp_if is continuous for all 1in1 \leq i \leq n, for each ii there exists δi\delta_i such that if d(x,a)<δid'(x, a) \lt \delta_i, then di(pi(f(x)),pi(f(a)))<ϵd_i(p_i(f(x)), p_i(f(a))) \lt \epsilon. Take δ=min{δ1,δ2,,δn}\delta = \min\{\delta_1, \delta_2, \dots, \delta_n\} and suppose d(x,a)<δd'(x, a) \lt \delta. Since di(pi(f(x)),pi(f(a)))=di(f(x)i,f(a)i)d_i(p_i(f(x)), p_i(f(a))) = d_i(f(x)_i, f(a)_i) and d(f(x),f(a))=max1indi(f(x)i,f(a)i)d(f(x), f(a)) = \max_{1 \leq i \leq n} d_i(f(x)_i, f(a)_i), it follows that d(f(x),f(a))<ϵd(f(x), f(a)) \lt \epsilon. Therefore ff is continuous at aa. Since aa was arbitrary, ff is continuous.

This completes the proof.

Reflection

Originally, I messed this up. I honed in on the \leftarrow direction and forgot the proof was if and only if (oops). It wasn’t until I was typing the proof up that I realized my error.

Secondly, I originally botched my choice of δ\delta. The name of the game with product spaces is coordinate-wise decomposition followed by global recomposition. Instead of taking δ=min{δ1,δ2,,δn}\delta = \min\{\delta_1, \delta_2, \dots, \delta_n\}, I captured δ=δ\delta = \delta', where I erroneously assumed δ\delta' was some value that satisfied continuity for all pifp_if. Technically such a value exists, since it’s the minimum. But being accidentally correct is not a good thing.

↑ top  ·  home tagged: topology