While searching for help as to how to prove that a set is open/closed, I stumbled across a stackexchange post from 2011 which covered this topic. The original poster (Vafa Khalighi) asked for a proof to the following:
"Let (X,d) be an arbitrary metric space. Prove that any set which contains a finite number of points {x1,x2,…,xn} is closed."
In response to this, Weltschmerz gave the proof:
"let's first prove that a one-point set is closed. Fix the point x, for the set {x}. Now consider any other point yy. If d(x,y)=ϵ, take B(y,ϵ/2). This open ball does not intersect {x} (why?). This means that the complement of {x} is open, which implies the set is closed. Now you know that any finite union of closed sets is closed (straight from the definition of topology by application of De Morgan's laws), and the result follows."
Which was accepted as the correct answer (and is similar to the proof given in my uni solutions for a similar question)
I unfortunately still don't understand this, however, as surely one could use this same logic to prove that an open ball is closed?
Take the open ball B(x,r) and any other point y outside the ball. If d(x,y) = d, take B(y, d-r). This open ball does not intersect B(x,r). This means that the complement of B(x,r) is open, which implies the set is closed.
Why does this not work when it seems to follow the same logic as the original proof? Clearly it doesn't since the open ball is not closed.
Thanks for any help!
Original post: The general argument to prove a set is closed/open