Skip to main content

Section Products of Metric Spaces

If we have two metric spaces (X,d1) and (X2,d2), we might wonder if we can make the set X1Γ—X2 into a metric space. A natural approach might be to define a function d:(X1Γ—X2)Γ—(X1Γ—X2)β†’R by
d((x,y),(u,v))=d1(x,u)d2(y,v)
for (x,y) and (u,v) in X1Γ—X2. However, this d does not define a metric. For example, if x∈X1 and yβ‰ v in X2, then d((x,y),(x,v))=0 even though (x,y)β‰ (x,v). To make a metric, we can take a clue from the Euclidean metric on RΓ—R. On R, the metric has the form d1(x,y)=|xβˆ’y|, while on R2 the metric is
dE((x1,x2),(y1,y2))=(x1βˆ’y1)2+(x2βˆ’y2)2=d1(x1,y1)2+d1(x2,y2)2.
So on (X,d1) and (X2,d2) we could consider defining d:(X1Γ—X2)Γ—(X1Γ—X2)β†’R by
(11.1)d((x1,x2),(y1,y2))=d1(x1,y1)2+d2(x2,y2)2.
Activity 11.3 provides three of the four items that are necessary to prove that d as defined in (11.1) is a metric. We verify the last property, the triangle inequality, now.
Let x and y be defined as in Activity 11.3, and let z=(z1,z2) be in X1Γ—X2. Then
d(x,z)2=d1(x1,z1)2+d2(x2,z2)2≀(d1(x1,y1)+d1(y1,z1))2+(d2(x2,y2)+d2(y2,z2))2=(d1(x1,y1)2+d2(x2,y2)2)+2(d1(x1,y1)d1(y1,z1)+d2(x2,y2)d2(y2,z2))+(d1(y1,z1)2+d2(y2,z2)2)=d(x,y)2+2(d1(x1,y1)d1(y1,z1)+d2(x2,y2)d2(y2,z2))+d(y,z)2≀d(x,y)2+d(y,z)2.
Since all terms are non-negative we conclude that
d(x,z)≀d(x,y)2+d(y,z)2≀d(x,y)2+2d(x,y)d(y,z)+d(y,z)2=(d(x,y)+d(y,z))2=d(x,y)+d(y,z).
We conclude that d as defined in (11.1) is a metric on X1Γ—X2, and so we can make the product of any two metric spaces into a metric space.
In the next activity we consider products of open balls and open sets in products of metric spaces.

Activity 11.4.

Let X1=[1,2] and X2=[3,4] as subspaces of R2 using the Euclidean metric.

(a)

Explain in detail what the product space X1Γ—X2 looks like.

(b)

If B1 is an open ball in X1 and B2 is an open ball in X2, is B1Γ—B2 an open ball in X1Γ—X2? Explain.

(c)

If B1 is an open ball in X1 and B2 is an open ball in X2, is B1Γ—B2 an open set in X1Γ—X2? Explain.

(d)

Find, if possible, an open subset of X1Γ—X2 that is not of the form O1Γ—O2 where O1 is open in X1 and O2 is open in X2.
Activity 11.4 shows that open sets in a product are more complicated than just products of open sets in the factors. We will return to product later when we consider topological spaces.
We conclude with one final comment about products. We can make the Cartesian product of any number of metric spaces into a metric space with the same construction we used for the product of two spaces.

Definition 11.4.

Let (Xi,di) be metric spaces for i from 1 to some positive integer n. The product metric space (X,d) is the Cartesian product
X=X1Γ—X2Γ—β‹―Γ—Xn=∏i=1nXi
with metric d defined by
d(x,y)=βˆ‘i=1ndi(xi,yi)2
when x=(x1,x2,…,xn) and y=(y1,y2,…,yn) are in X.
The metric d is called the product metric and the spaces (Xi,di) are called the coordinate or factor spaces of (X,d). The proof that d is a metric is essentially the same as in the n=2 case, and is left to Exercise 6.