arkajad said:
Probably you proof would fly, but it seems not to be the optimal one. Why? Because it can be made simpler. You know the definition of the open set and of the closed set. That is all you need. Take S to be a finite set: S={a1,...,an}. Take any point a that is not in S. Let {d1,...,dn} be the set of distances |a-an|. They are all positive since a is different from each of the points a1,...,an. Let d be the smallest of these n numbers. Then the set
a-d<x<a+d
is also in the complement of S. Thus the complement of S is open, thus S is closed. You do not even need d/2 neighborhood, d is enough. You do not need to bring in the concept of accumulation points, which comes later. What you need are just definitions.
Drawing a picture usually helps in such proofs.
Tell me what you think.
Let be S={a
1, a
2, ..., a
n} be a set of distinct elements ordered so that a
1 < a
2 < ... < a
n. S
c, the complement of S, will consist of all the real numbers greater than a
n, all the real numbers less than a
1, and, if there at least two elements S, the spaces between a
i and a
i+1 for each 1 < i < n.
If y > a, then y + µ > a
n for all µ > 0. If we choose a small enough µ, then also y - µ > a. Thus the set {y: y > a
n}, a subset of S
c, is open. Using similar reasoning, the set {y: y < a
1} is open.
If S is a one-element set, then we have shown it is closed. Otherwise, we need also consider the spaces between a
i and a
i+1. We know there exists an infinite number of real numbers between a
i and a
i+1 (See Homework 2, Exercise 4). Let ∂ be such a number. then a
i < ∂ < a
i+1. If we choose a small enough positive µ, then a
i < ∂ - µ < ∂ < ∂ + µ < a
i+1. Thus the set of all numbers between the elements of S is open, and S is closed.