Closed set
From Maths
Definitions
Topology
A closed set in a topological space (X,J) is a set A where X−A is open.
Metric space
A subset A of the metric space (X,d) is closed if it contains all of its limit points
For convenience only: recall x is a limit point if every neighbourhood of x contains points of A other than x itself.
Example
(0,1) is not closed, as take the point 0.
Proof
Let N be any neighbourhood of x, then ∃δ>0:Bδ(x)⊂N
Take y=Max(12δ,12), then y∈(0,1) and y∈N thus 0 is certainly a limit point, but 0∉(0,1)