ConceptComplete

Open and Closed Sets in R

Open and closed sets form the foundation of topology, the study of continuous deformations and limits. In R\mathbb{R}, open sets are intervals without endpoints, while closed sets contain all their limit points. These concepts generalize to arbitrary metric spaces and topological spaces, making them central to modern analysis.


Definitions

Definition3.1Open set

A set UβŠ†RU \subseteq \mathbb{R} is open if for every x∈Ux \in U, there exists Ο΅>0\epsilon > 0 such that the interval (xβˆ’Ο΅,x+Ο΅)βŠ†U(x - \epsilon, x + \epsilon) \subseteq U.

Equivalently, UU is open if every point of UU is an interior point: a point xx is interior to UU if some neighborhood of xx is contained in UU.

Definition3.2Closed set

A set FβŠ†RF \subseteq \mathbb{R} is closed if its complement Rβˆ–F\mathbb{R} \setminus F is open.

Equivalently, FF is closed if it contains all its limit points: whenever a sequence (xn)(x_n) in FF converges to some L∈RL \in \mathbb{R}, we have L∈FL \in F.

ExampleOpen intervals are open

The interval (a,b)={x∈R∣a<x<b}(a, b) = \{x \in \mathbb{R} \mid a < x < b\} is open. For any x∈(a,b)x \in (a, b), let Ο΅=min⁑(xβˆ’a,bβˆ’x)>0\epsilon = \min(x - a, b - x) > 0. Then (xβˆ’Ο΅,x+Ο΅)βŠ†(a,b)(x - \epsilon, x + \epsilon) \subseteq (a, b).

ExampleClosed intervals are closed

The interval [a,b]={x∈R∣a≀x≀b}[a, b] = \{x \in \mathbb{R} \mid a \leq x \leq b\} is closed. Its complement is (βˆ’βˆž,a)βˆͺ(b,∞)(-\infty, a) \cup (b, \infty), which is open (a union of two open sets). Alternatively, if xn∈[a,b]x_n \in [a, b] and xnβ†’Lx_n \to L, then a≀xn≀ba \leq x_n \leq b for all nn, so taking limits, a≀L≀ba \leq L \leq b, hence L∈[a,b]L \in [a, b].

ExampleHalf-open intervals are neither open nor closed

The interval [a,b)={x∈R∣a≀x<b}[a, b) = \{x \in \mathbb{R} \mid a \leq x < b\} is neither open nor closed. It is not open because a∈[a,b)a \in [a, b) but no interval (aβˆ’Ο΅,a+Ο΅)(a - \epsilon, a + \epsilon) is contained in [a,b)[a, b). It is not closed because the complement (βˆ’βˆž,a)βˆͺ[b,∞)(-\infty, a) \cup [b, \infty) is not open (no neighborhood of bb is contained in the complement).

ExampleEmpty set and R

Both βˆ…\varnothing and R\mathbb{R} are both open and closed (clopen). This is consistent: Rβˆ–βˆ…=R\mathbb{R} \setminus \varnothing = \mathbb{R} is open, so βˆ…\varnothing is closed. Similarly, Rβˆ–R=βˆ…\mathbb{R} \setminus \mathbb{R} = \varnothing is open (vacuously), so R\mathbb{R} is closed.


Properties of open and closed sets

Theorem3.1Properties of open sets
  1. The union of any collection of open sets is open.
  2. The intersection of finitely many open sets is open.
  3. βˆ…\varnothing and R\mathbb{R} are open.
Theorem3.2Properties of closed sets
  1. The intersection of any collection of closed sets is closed.
  2. The union of finitely many closed sets is closed.
  3. βˆ…\varnothing and R\mathbb{R} are closed.
RemarkDe Morgan's laws

These properties are dual by De Morgan's laws: the complement of a union is the intersection of complements, and vice versa. Property 2 for open sets requires finite intersection (infinite intersections can be non-open: β‹‚n=1∞(βˆ’1/n,1/n)={0}\bigcap_{n=1}^\infty (-1/n, 1/n) = \{0\} is not open).

ExampleInfinite intersection of open sets

Let Un=(βˆ’1/n,1/n)U_n = (-1/n, 1/n) for nβ‰₯1n \geq 1. Each UnU_n is open, but

β‹‚n=1∞Un={0}\bigcap_{n=1}^\infty U_n = \{0\}

is not open (no neighborhood of 00 is contained in {0}\{0\}). Thus infinite intersections of open sets need not be open.

ExampleInfinite union of closed sets

Let Fn=[1/n,1]F_n = [1/n, 1] for nβ‰₯1n \geq 1. Each FnF_n is closed, but

⋃n=1∞Fn=(0,1]\bigcup_{n=1}^\infty F_n = (0, 1]

is not closed (its complement (βˆ’βˆž,0]βˆͺ(1,∞)(-\infty, 0] \cup (1, \infty) is not open). Thus infinite unions of closed sets need not be closed.


Limit points and closure

Definition3.3Limit point

A point x∈Rx \in \mathbb{R} is a limit point (or accumulation point) of a set EβŠ†RE \subseteq \mathbb{R} if every neighborhood of xx contains a point of EE distinct from xx. Equivalently, there exists a sequence (xn)(x_n) in Eβˆ–{x}E \setminus \{x\} with xnβ†’xx_n \to x.

Definition3.4Closure

The closure of EE, denoted Eβ€Ύ\overline{E} or cl(E)\text{cl}(E), is the set EE together with all its limit points:

Eβ€Ύ=Eβˆͺ{x∣xΒ isΒ aΒ limitΒ pointΒ ofΒ E}.\overline{E} = E \cup \{x \mid x \text{ is a limit point of } E\}.

Equivalently, Eβ€Ύ\overline{E} is the smallest closed set containing EE (the intersection of all closed sets containing EE).

ExampleClosure of Q

The closure of Q\mathbb{Q} in R\mathbb{R} is Qβ€Ύ=R\overline{\mathbb{Q}} = \mathbb{R}. Every real number is a limit of a sequence of rationals (by density), so every real is a limit point of Q\mathbb{Q}.

ExampleClosure of (a, b)

The closure of (a,b)(a, b) is (a,b)β€Ύ=[a,b]\overline{(a, b)} = [a, b]. The limit points of (a,b)(a, b) are all points in [a,b][a, b] (including the endpoints aa and bb).

ExampleIsolated points

The set E={1,1/2,1/3,1/4,…}E = \{1, 1/2, 1/3, 1/4, \ldots\} has 00 as its only limit point. Thus Eβ€Ύ=Eβˆͺ{0}={0,1,1/2,1/3,…}\overline{E} = E \cup \{0\} = \{0, 1, 1/2, 1/3, \ldots\}. The points 1,1/2,1/3,…1, 1/2, 1/3, \ldots are isolated (not limit points of EE).


Interior, boundary, and exterior

Definition3.5Interior, boundary, exterior

Let EβŠ†RE \subseteq \mathbb{R}.

  • The interior of EE is int(E)={x∈Eβˆ£βˆƒΟ΅>0,(xβˆ’Ο΅,x+Ο΅)βŠ†E}\text{int}(E) = \{x \in E \mid \exists \epsilon > 0, (x - \epsilon, x + \epsilon) \subseteq E\} (the largest open set contained in EE).
  • The boundary of EE is βˆ‚E=Eβ€Ύβˆ–int(E)\partial E = \overline{E} \setminus \text{int}(E) (points in the closure but not in the interior).
  • The exterior of EE is ext(E)=int(Rβˆ–E)\text{ext}(E) = \text{int}(\mathbb{R} \setminus E) (interior of the complement).
ExampleBoundaries
  • βˆ‚(a,b)={a,b}\partial(a, b) = \{a, b\} (endpoints).
  • βˆ‚[a,b]={a,b}\partial[a, b] = \{a, b\} (same boundary as (a,b)(a, b)).
  • βˆ‚Q=R\partial\mathbb{Q} = \mathbb{R} (every real is a boundary point of Q\mathbb{Q}, since Q\mathbb{Q} is dense).
  • βˆ‚{0}={0}\partial\{0\} = \{0\} (a single point is its own boundary).

Summary

Open and closed sets are fundamental in topology:

  • Open sets: intervals without endpoints, unions of open intervals.
  • Closed sets: contain all limit points, complements of open sets.
  • Arbitrary unions of open sets are open; finite intersections are open.
  • Arbitrary intersections of closed sets are closed; finite unions are closed.
  • Closure, interior, and boundary capture different aspects of a set's topology.

See Compactness and Heine-Borel for applications to analysis.