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), (X2,d2), …, (Xn,dn) be metric spaces and convert X=∏i=1nXi into a metric space (X,d) in the standard manner. Prove that:
1. An open ball in (X,d) is the product of open balls from X1,X2,…,Xn respectively.
2. Let ai∈Xi, i=1,2,…,n, and let Bai be a basis for the neighborhood system at ai. Let Ba be the collection of all sets of the form B1×B2×⋯×Bn, Bi∈Bai. Prove that Ba is a basis for the neighborhood system at a=(a1,a2,…,an)∈X.
3. Let pi:X→Xi, i=1,2,…,n be the projection that maps pi(a)=ai. Prove that each pi is continuous.
4. Let Y be a metric space and f:Y→X a function. Prove that f is continuous if and only if each of the n functions pif is continuous.
Proof for 7.1
Define the metric space (X,d) where given x=(x1,x2,…,xn)∈X and y=(y1,y2,…,yn)∈X, d(x,y)=max1≤i≤ndi(xi,yi). Let b∈B(a;δ) where a=(a1,a2,…,an)∈X and δ>0. Then for all i=1,2,…,n, di(ai,bi)<δ. Hence bi∈Bi(ai;δ) and by definition of the product of sets, b∈∏i=1nBi(ai;δ). Since b was arbitrary, it follows that B(a;δ)⊆∏i=1nBi(ai;δ). Conversely, let b∈∏i=1nBi(ai;δ). Then for all i=1,2,…,n, di(ai,bi)<δ, hence max1≤i≤ndi(ai,bi)<δ. It follows that b∈B(a;δ). Since b was arbitrary, we have ∏i=1nBi(ai;δ)⊆B(a;δ), 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;δ), where a=(a1,a2,…,an)∈X and δ>0.
Proof for 7.2
Let S∈Ba. Then S=(B1×B2×⋯×Bn) such that Bi∈Bai. Since Bai is a basis at ai, Bi is a neighborhood of ai. Hence for some δi>0, Bi(ai;δi)⊆Bi. Take δ=min{δ1,δ2,…,δn}. Then Bi(ai;δ)⊆Bi, hence ∏i=1nBi(ai;δ)⊆∏i=1nBi=S. Then by 7.1, we have B(a;δ)=∏i=1nBi(ai;δ)⊆S. Since S was arbitrary, every element of Ba is a neighborhood of a.
Let Na be a neighborhood of a. Then there exists some δ>0 such that B(a;δ)⊆Na. By 7.1, ∏i=1nBi(ai;δ)=B(a;δ)⊆Na. Since Bai is a basis at ai, for Bi(ai;δ) there exists Nai∈Bai such that Nai⊆Bi(ai;δ). Take S=∏i=1nNai where Nai∈Bai and Nai⊆Bi(ai;δ). Then S⊆∏i=1nBi(ai;δ)=B(a;δ)⊆Na. Since S is of the form (B1×B2×⋯×Bn) such that Bi∈Bai, it follows that S∈Ba.
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 a∈X and ϵ>0 be given. Set δ=ϵ. Let b∈X and suppose d(a,b)<δ. Since d(a,b)=max1≤j≤ndj(aj,bj) and di(pi(a),pi(b))=di(ai,bi)≤d(a,b)<δ=ϵ, we have di(ai,bi)<ϵ. Hence pi is continuous at a. Since a was arbitrary, pi is continuous on X.
Reflection
This one wasn’t bad. The only part requiring care is the need to juggle indices (i vs j). Otherwise, we introduce ambiguity into the proof.
Proof for 7.4
Let a∈(Y,d′) and ϵ>0 be given.
→ Suppose f is continuous. By 7.3, pi is continuous for all 1≤i≤n. Since the composition of two continuous functions is again a continuous function, pif is continuous.
← Suppose pif is continuous for all 1≤i≤n. We must show that there exists some δ such that d(f(x),f(a))<ϵ whenever d′(x,a)<δ. Since pif is continuous for all 1≤i≤n, for each i there exists δi such that if d′(x,a)<δi, then di(pi(f(x)),pi(f(a)))<ϵ. Take δ=min{δ1,δ2,…,δn} and suppose d′(x,a)<δ. Since di(pi(f(x)),pi(f(a)))=di(f(x)i,f(a)i) and d(f(x),f(a))=max1≤i≤ndi(f(x)i,f(a)i), it follows that d(f(x),f(a))<ϵ. Therefore f is continuous at a. Since a was arbitrary, f is continuous.
This completes the proof.
Reflection
Originally, I messed this up. I honed in on the ← 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 δ. The name of the game with product spaces is coordinate-wise decomposition followed by global recomposition. Instead of taking δ=min{δ1,δ2,…,δn}, I captured δ=δ′, where I erroneously assumed δ′ was some value that satisfied continuity for all pif. Technically such a value exists, since it’s the minimum. But being accidentally correct is not a good thing.