Tutorials › Measure Theory › Rational Interval Bases for Borel Sets

Set Operations, Limits of Sets and Sigma-Algebras · Tutorial 11 of 798

Rational Interval Bases for Borel Sets

Learn why rational-endpoint intervals suffice to describe every open subset of the real line and generate exactly the Borel sigma-algebra.

Intermediate 9 min read

What You'll Learn

  • Prove that the rational numbers are dense in the real line.
  • Show that rational-endpoint open intervals form a countable family.
  • Verify the basis property for arbitrary open subsets of the real line.
  • Prove that rational intervals generate the Borel sigma-algebra.
  • Express particular open and closed sets using countable unions or intersections.
  • Recognize why an uncountable union cannot by itself establish membership in a sigma-algebra.

Why Rational Intervals Suffice

Open subsets of the real line can have complicated shapes: they may be unbounded or have infinitely many separate components. Yet to generate the Borel sigma-algebra, it is enough to use intervals whose endpoints are rational. The reason is twofold: rational numbers are dense, so these intervals can fit inside any open neighborhood, and there are only countably many such intervals. Countability matters because a sigma-algebra is closed under countable unions, not arbitrary unions.

We work with the real line \(\mathbb{R}\), its usual topology, and its Borel sigma-algebra \(\mathcal{B}_{\mathbb{R}}\), the sigma-algebra generated by the open subsets of \(\mathbb{R}\). Thus \((\mathbb{R},\mathcal{B}_{\mathbb{R}})\) is the measurable space in view; no measure is needed here. Define the family of rational-endpoint open intervals by

$$ \mathcal{I}_{\mathbb{Q}}=\{(p,q):p,q\in\mathbb{Q},\ p<q\}. $$

We will prove that \(\mathcal{I}_{\mathbb{Q}}\) is countable, that it forms a basis for the usual topology, and that \(\sigma(\mathcal{I}_{\mathbb{Q}})=\mathcal{B}_{\mathbb{R}}\). Here, saying it is a basis means that for every open set \(U\subseteq\mathbb{R}\) and every \(x\in U\), there is an interval \(I\in\mathcal{I}_{\mathbb{Q}}\) such that \(x\in I\subseteq U\).

Density and Countability

Lemma: For every pair \(a,b\in\mathbb{R}\) with \(a<b\), there is a rational number \(r\) such that \(a<r<b\).

Proof. Let \(a<b\), so \(b-a>0\). By the Archimedean property, choose a positive integer \(n\) such that \(n(b-a)>1\), or equivalently \(nb-na>1\). Choose the integer \(k=\lfloor na\rfloor+1\). The definition of the floor gives \(\lfloor na\rfloor\le na<\lfloor na\rfloor+1\), and hence \(na<k\le na+1\). Since \(nb>na+1\), we obtain \(na<k<nb\). Dividing by \(n>0\) gives \(a<k/n<b\), and \(k/n\) is rational. \(\square\)

This density statement can be applied independently on either side of a point: whenever \(a<x<b\), there are rationals \(p,q\) with \(a<p<x<q<b\). To see this, apply the lemma to \((a,x)\) to find \(p\), and to \((x,b)\) to find \(q\). In particular \(p<q\), so \((p,q)\) is one of the intervals in \(\mathcal{I}_{\mathbb{Q}}\).

Proposition: The family \(\mathcal{I}_{\mathbb{Q}}\) is countable.

Proof. The integers \(\mathbb{Z}\) can be listed in a sequence, for example by listing \(0,1,-1,2,-2,\ldots\), so \(\mathbb{Z}\) is countable. The positive integers are countable as well. Pairs \((m,n)\in\mathbb{Z}\times\{1,2,\ldots\}\) can be listed by diagonals: list pairs in order of increasing \(|m|+n\), and within each diagonal use the fixed order on integers. Each diagonal contains only finitely many pairs, and every pair occurs on some diagonal. Thus this product is countable. The map \((m,n)\mapsto m/n\) has image \(\mathbb{Q}\), so \(\mathbb{Q}\) is countable. Applying the same diagonal argument to pairs of rational numbers shows that \(\mathbb{Q}\times\mathbb{Q}\) is countable. The family \(\mathcal{I}_{\mathbb{Q}}\) is the image of the subset \(\{(p,q)\in\mathbb{Q}\times\mathbb{Q}:p<q\}\) under the map \((p,q)\mapsto(p,q)\), and therefore is countable. \(\square\)

The Basis Property and Borel Generation

Theorem: The family \(\mathcal{I}_{\mathbb{Q}}\) is a countable basis for the usual topology on \(\mathbb{R}\), and \(\sigma(\mathcal{I}_{\mathbb{Q}})=\mathcal{B}_{\mathbb{R}}\).

Proof. First, every \((p,q)\in\mathcal{I}_{\mathbb{Q}}\) is open in the usual topology, since \(p<q\). Next, let \(U\subseteq\mathbb{R}\) be open and take any \(x\in U\). By the definition of openness, there is an \(\varepsilon>0\) such that \((x-\varepsilon,x+\varepsilon)\subseteq U\). The density lemma gives rational numbers \(p,q\) with \(x-\varepsilon<p<x<q<x+\varepsilon\). Consequently \(x\in(p,q)\subseteq U\), proving the basis property.

For the generation claim, each interval in \(\mathcal{I}_{\mathbb{Q}}\) is open and thus belongs to \(\mathcal{B}_{\mathbb{R}}\). Since \(\mathcal{B}_{\mathbb{R}}\) is a sigma-algebra containing all these intervals, it contains the sigma-algebra they generate: \(\sigma(\mathcal{I}_{\mathbb{Q}})\subseteq\mathcal{B}_{\mathbb{R}}\). Conversely, let \(U\) be any open subset of \(\mathbb{R}\). The basis property gives \[ U=\bigcup\{I\in\mathcal{I}_{\mathbb{Q}}: I\subseteq U\}. \] Indeed, every interval in this union is contained in \(U\), and every \(x\in U\) belongs to at least one such interval. Because \(\mathcal{I}_{\mathbb{Q}}\) is countable, this is a countable union (including the possibility of the empty union when \(U=\varnothing\)). Every member of the union belongs to \(\sigma(\mathcal{I}_{\mathbb{Q}})\), so \(U\) does too. Therefore \(\sigma(\mathcal{I}_{\mathbb{Q}})\) contains every open set and hence contains the sigma-algebra generated by all open sets, namely \(\mathcal{B}_{\mathbb{R}}\). Combining the two inclusions proves equality. \(\square\)

The countability argument is essential to the last step: a basis represents each open set as a union of basis members, but a sigma-algebra is guaranteed to contain only countable unions of its members. In this case, countability of the entire basis ensures that every such representation is countable.

Worked Applications

Worked Example: Finding a Rational Interval Around an Irrational Point

Let \(U=(1,2)\) and \(x=\sqrt{2}\). Find a rational-endpoint interval containing \(x\) and contained in \(U\).

Take \(p=7/5\) and \(q=3/2\). Both are rational, and \(p<q\) because \(7/5=14/10<15/10=3/2\). Also, \(1<7/5\) and \(3/2<2\), so \((7/5,3/2)\subseteq(1,2)\). To check that it contains \(x\), note that \(7/5>0\), \(3/2>0\), and \[ (7/5)^2=49/25<50/25=2,\qquad (3/2)^2=9/4>8/4=2. \] Since squaring preserves order for positive numbers, \(7/5<\sqrt{2}<3/2\). Thus \(x\in(7/5,3/2)\subseteq U\). Check: the endpoints are rational, and the strict inequalities put \(x\) inside the open interval rather than at either endpoint.

Worked Example: Writing an Open Set as a Countable Union

For \(O=(-1,0)\cup(1,3)\), describe a countable family of rational-endpoint intervals whose union is exactly \(O\), and check the construction at \(x=5/4\).

Use the family \[ \mathcal{F}=\{(p,q)\in\mathcal{I}_{\mathbb{Q}}:(p,q)\subseteq O\}. \] It is countable because it is a subfamily of the countable family \(\mathcal{I}_{\mathbb{Q}}\). Every member of \(\mathcal{F}\) is contained in \(O\), so \(\bigcup_{I\in\mathcal{F}}I\subseteq O\). Conversely, if \(x\in O\), then \(O\) is open, and the basis property supplies a rational-endpoint interval \(I\) with \(x\in I\subseteq O\). This interval belongs to \(\mathcal{F}\), so \(x\in\bigcup_{I\in\mathcal{F}}I\). Hence \(O=\bigcup_{I\in\mathcal{F}}I\).

For the specified point, \(5/4\in(1,3)\) because \(1=4/4<5/4<12/4=3\). The interval \((6/5,13/10)\) has rational endpoints, lies in \((1,3)\), and contains \(5/4\): in tenths, \(6/5=12/10<5/4=12.5/10<13/10\). In particular, \(5/4\) lies in a member of \(\mathcal{F}\). Points outside \(O\), including \(0\), are in no member of \(\mathcal{F}\), since every member is a subset of \(O\). Check: the union cannot include a point outside \(O\), and the basis property ensures it misses no point inside \(O\).

Worked Example: Generating a Closed Interval by a Countable Intersection

Show that \([0,1]\) belongs to \(\sigma(\mathcal{I}_{\mathbb{Q}})\) by expressing it as an intersection of rational-endpoint open intervals.

For each positive integer \(n\), let \(I_n=(-1/n,1+1/n)\). Both endpoints are rational and the left endpoint is smaller than the right, so \(I_n\in\mathcal{I}_{\mathbb{Q}}\). If \(x\in[0,1]\), then \(-1/n<x<1+1/n\) for every \(n\), and therefore \(x\in\bigcap_{n=1}^{\infty}I_n\). If \(x<0\), choose a positive integer \(n\) with \(n\ge 1/(-x)\), which is possible by the Archimedean property. Then \(1/n\le -x\), so \(-1/n\ge x\), and the strict inequality \(x>-1/n\) fails. Thus \(x\notin I_n\). If \(x>1\), choose \(n\ge1/(x-1)\). Then \(1/n\le x-1\), so \(1+1/n\le x\), and \(x<1+1/n\) fails. This proves \[ [0,1]=\bigcap_{n=1}^{\infty}(-1/n,1+1/n). \] The right side is a countable intersection of members of \(\mathcal{I}_{\mathbb{Q}}\), hence belongs to \(\sigma(\mathcal{I}_{\mathbb{Q}})\). Check: at \(n=1\) the interval is \((-1,2)\), and at \(n=2\) it is \((-1/2,3/2)\); both contain \([0,1]\), while the full intersection excludes every point below \(0\) or above \(1\) by the choices of \(n\) above.

A Common Mistake: Using an Uncountable Union

A frequent error is to find, for each \(x\in U\), some open interval around \(x\) contained in \(U\), and then conclude directly that \(U\) belongs to a sigma-algebra containing those intervals. This argument has a gap: the union indexed by all \(x\in U\) may be uncountable, and closure under arbitrary unions is not part of the definition of a sigma-algebra.

For example, one can write \((0,1)=\bigcup_{x\in(0,1)}(x/2,(x+1)/2)\). Each interval in this expression is contained in \((0,1)\), and each \(x\in(0,1)\) belongs to its own interval. But the displayed representation is indexed by all real \(x\in(0,1)\), so it does not by itself use a permitted countable-union operation. The corrected argument is to take all rational-endpoint intervals contained in \((0,1)\). There are countably many of them, and the basis property proves their union is exactly \((0,1)\). It is the combination of a basis with countability—not merely the existence of neighborhoods—that yields Borel generation.

Takeaway: Rational endpoints are flexible enough to fit inside every open neighborhood, while the resulting interval family is countable. Therefore every open subset of \(\mathbb{R}\) is a countable union of rational-endpoint open intervals, and those intervals generate \(\mathcal{B}_{\mathbb{R}}\).

Check Your Understanding

Use the basis property and countability argument to answer these questions.

  1. Find rational numbers \(p<q\) such that \(1<p<\sqrt{3}<q<2\), and verify the inequalities.
  2. Why does countability of \(\mathcal{I}_{\mathbb{Q}}\) matter when expressing an arbitrary open set as a union of basis members?
  3. Express \(\{0\}\) as a countable intersection of rational-endpoint open intervals and verify that no nonzero real number belongs to the intersection.
  4. Explain why every rational-endpoint open interval belongs to \(\mathcal{B}_{\mathbb{R}}\).
  5. In the proof of \(\sigma(\mathcal{I}_{\mathbb{Q}})=\mathcal{B}_{\mathbb{R}}\), identify the argument establishing each of the two set inclusions.