fireisland27
- 10
- 0
Homework Statement
For a metric space (M,d) and two compact subspaces A and B define the distance d(A,B) between these sets as inf{d(x,y): x in A and y in B}. Prove that there exists an x in A and a y in B such that d(x,y)=d(A,B).
Homework Equations
The Attempt at a Solution
I want to say that d can be thought of as a function from AxB to R and because A and B are compact AxB is compact. And so if I can show that d is continuous then it achieves it's minimum by the extreme value theorem. I'm not sure how to show the continuiuty however, or if this is even the proper way to go about this.