EXERCISE 2.
1. Let {(Xi, di) | i = 1,2, . . . , n} be a finite class of metric spaces. Show that each of the functions d and ˜d defined as follows is a metric on the product X1×X2× · · · ×Xn:
d(x,y) = max
1≤i≤ndi(xi, yi) and ˜d(x,y) =
n
X
i=1
di(xi, yi)
where x = (x1, x2, . . . , xn) and y = (y1, y2, . . . , yn).
2. Let X be any nonempty set andd the discrete metric on X. Prove that every subset of X is open and every subset is closed.
3. Let d and d1 be two metrics on R2 defined by
d1(x,y) = max{|x1−y1|,|x2−y2|}
where x = (x1, x2) and y = (y1, y2), and d is the usual distance in R2. Prove that a subset A ofR2 is open in (R2, d) if and only if it is open in (R2, d1).
4. Prove that E is dense in X if and only if ¯E =X.
5. Prove that Q and R−Q are dense in R.
6. Let (X, d) be a metric space, A and B be subsets of X. Prove that (a) (IntA)∪(IntB)⊆Int(A∪B),
(b) (IntA)∩(IntB) = Int(A∩B)
where IntE denote the set of all interior points of a setE.
7. A point p is an element of ¯A if and only if for every positive real number r, Nr(p)∩A6=∅.
8. Prove thatX is connected if and only ifXhas exactly two subsets which are both open and closed inX.