Problem: Let X be any set considered a metric space with the discrete metric. With this metric, show that every subset of X is both open and closed in X.
This sort of proof is hard to explain without knowing exactly what your particular definitions are. However, here is some general guidance.
Because this is the discrete metric . From that, it is easy to see that there are no limit points in this space. By default every set contains its limits points and is therefore closed. Likewise, the complement of any set is closed so the set is open.
Here is what I have so far, with the current definitions that I have.
Proof: Let X be any set, the discrete metric
We want to show that for any subset, say , is open. (i.e. for some )
Pick , for a point ,
Let , , and since d is discrete,
,
thus proves is open.
Now we will show that is closed.
Pick , then for a point ,
Let , then
Now, since d is discrete,
Thus is closed.
Q.E.D.
Is this convincing?
It is not convincing at all. It is wrong.
There are basically two ways to show that a set is closed in a metric space.
If the set contains all its limit points it is closed.
If the complement of the set is open then the set is closed.
Frankly, I have no idea what you are aiming at in the above.