Exercise 2.10

Exercise 10: Define d ( x , y ) = 1 if x y and 0 otherwise. Show that this is a metric. Identify which subsets are open, closed, compact.

Answers

We see that d ( x , x ) = 0 , and d ( x , y ) 0 whenever x y . We also have d ( x , y ) = d ( y , x ) . Lastly, consider

d ( x , z ) d ( x , y ) + d ( y , z )

The inequality is obvious if x = z , and otherwise either y x or y z , so that the inequality still holds. The function d is thus a metric.

Note that every point set is open, since { x } = N 1 2 ( x ) . Consequently, every subset of X is open, and therefore every subset of X is closed. Let S be a subset of X , and consider the open cover { x } x S . This cover has a finite subcover iff S is finite. Any compact set must therefore be finite, and conversely, it is easy to see that any finite set is compact. It is thus clear that the compact sets are precisely those that are finite.

User profile picture
2023-08-07 00:00
Comments