Ma · Mathematics

Are Singleton Sets in ℝ Both Open and Closed?

Published By the 9to5Science editorial team

At a glance

  1. 1. Show it is closed

    The complement (−∞, a) ∪ (a, ∞) is a union of open intervals.

  2. 2. Show it is not open

    Any interval (a − ε, a + ε) contains a + ε/2, which is not a.

  3. 3. Use connectedness

    ℝ is connected, so its only clopen sets are ∅ and ℝ.

Throughout, R\mathbb{R} has its usual topology: a set UU is open if around every point of UU there is an interval (x−ε,x+ε)(x - \varepsilon, x + \varepsilon) contained in UU.

{a}\{a\} is closed

A set is closed when its complement is open. The complement of {a}\{a\} is

R∖{a}=(−∞,a)∪(a,∞).\mathbb{R} \setminus \{a\} = (-\infty, a) \cup (a, \infty).

Each piece is an open interval: if x<ax < a, the interval (x−ε,x+ε)(x - \varepsilon, x + \varepsilon) with ε=a−x\varepsilon = a - x stays below aa, and the case x>ax > a is symmetric. A union of open sets is open, so the complement is open and {a}\{a\} is closed.

Another way to see it: {a}\{a\} contains all of its limit points, because it has none. No other point can be a limit of points of {a}\{a\}, since the only sequence available is the constant one.

{a}\{a\} is not open

For {a}\{a\} to be open we would need some ε>0\varepsilon > 0 with (a−ε,a+ε)⊆{a}(a - \varepsilon, a + \varepsilon) \subseteq \{a\}. But that interval contains a+ε/2a + \varepsilon/2, which is not aa. No ε\varepsilon works, so {a}\{a\} is not open.

Why no proper non-empty subset of ℝ is both

A set that is both open and closed is called clopen. In R\mathbb{R} the only clopen sets are ∅\varnothing and R\mathbb{R}. That is exactly the statement that R\mathbb{R} is connected.

Sketch of the proof: suppose AA is clopen with ∅≠A≠R\varnothing \ne A \ne \mathbb{R}. Pick p∈Ap \in A and q∉Aq \notin A, say with p<qp < q. Let s=sup⁡{x∈[p,q]:x∈A}s = \sup\{x \in [p, q] : x \in A\}.

  • Since AA is closed, s∈As \in A.
  • Since AA is open and s∈As \in A, a small interval around ss lies in AA. If s<qs < q, that gives points of AA greater than ss inside [p,q][p, q], contradicting the definition of the supremum. If s=qs = q, then q∈Aq \in A, which contradicts the choice of qq.

Either way we reach a contradiction. So in particular a singleton cannot be clopen.

Compare with other spaces

The answer depends on the topology, not just on the set:

Space{a}\{a\} open?{a}\{a\} closed?
R\mathbb{R}, usual topologyNoYes
Z\mathbb{Z} as a subspace of R\mathbb{R}YesYes
Any finite metric spaceYesYes
R\mathbb{R} with the discrete topologyYesYes

In Z\mathbb{Z}, {n}=Z∩(n−12,n+12)\{n\} = \mathbb{Z} \cap (n - \tfrac12, n + \tfrac12), so it is open in the subspace topology even though it isn’t open in R\mathbb{R}.

Common mistakes

  • Treating open and closed as opposites. Most subsets of R\mathbb{R}, such as [0,1)[0, 1) or Q\mathbb{Q}, are neither.
  • Forgetting which space you are in. “Open” always means open relative to a given space.

References

  1. Abbott, S. (2015). Understanding Analysis (2nd ed.), Chapter 3. Springer.
  2. Rudin, W. (1976). Principles of Mathematical Analysis (3rd ed.), Chapter 2. McGraw-Hill.

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.