From an Open Cover to a Supremum
Compactness is defined using arbitrary open covers, so a proof for a real interval must start with an arbitrary cover rather than with a convenient choice of intervals. The key is to measure how far a finite part of the cover reaches from the left endpoint. The supremum of those reachable points cannot stop short: openness at the supremum lets a finite cover reach farther.
Throughout, \(\mathbb{R}\) has its standard topology, and \([a,b]\) has the subspace topology inherited from \(\mathbb{R}\). Thus a set \(U\subseteq[a,b]\) is open in \([a,b]\) precisely when \(U=O\cap[a,b]\) for some open set \(O\subseteq\mathbb{R}\). An open cover of \([a,b]\) is a family of sets open in this subspace whose union contains every point of \([a,b]\). A finite subcover is a finite selection from that family which still covers \([a,b]\). A space is compact if every open cover has a finite subcover.
The proof uses the least-upper-bound property of \(\mathbb{R}\): every nonempty subset of \(\mathbb{R}\) that is bounded above has a supremum. The degenerate case \(a=b\) is handled separately, and the main argument applies when \(a<b\).
The Supremum Proof
Proof. Let \(\mathcal{U}\) be an arbitrary open cover of \([a,b]\). If \(a=b\), some \(U\in\mathcal{U}\) contains \(a\); then the one-set family \(\{U\}\) covers \([a,b]=\{a\}\). Now assume \(a<b\).
Define \(E\) to be the set of right endpoints up to which a finite selection from \(\mathcal{U}\) covers the interval starting at \(a\):
The set \(E\) is nonempty. Indeed, choose a cover member \(U_a\) containing \(a\). Since \(U_a\) is open in the subspace, there is an open \(O\subseteq\mathbb{R}\) with \(U_a=O\cap[a,b]\). Since \(a\in O\) and \(O\) is open, some \(\varepsilon>0\) satisfies \((a-\varepsilon,a+\varepsilon)\subseteq O\). Choose \(t=\min(\varepsilon/2,(b-a)/2)\). Then \(t>0\), \(a+t\le b\), and \([a,a+t]\subseteq U_a\). Hence \(a+t\in E\). Also \(E\subseteq[a,b]\), so \(E\) is bounded above by \(b\). Its supremum \(c=\sup E\) therefore exists and satisfies \(a<c\le b\).
Choose a member \(U_c\in\mathcal{U}\) containing \(c\). As above, relative openness gives an \(\varepsilon>0\) such that \((c-\varepsilon,c+\varepsilon)\cap[a,b]\subseteq U_c\). Since \(c=\sup E\), there is \(x\in E\) with \(c-\varepsilon/2<x\le c\). Otherwise \(c-\varepsilon/2\) would be an upper bound for \(E\) smaller than its supremum. By the definition of \(E\), finitely many cover members cover \([a,x]\).
If \(c=b\), then \([x,c]\subseteq U_c\), because \(x>c-\varepsilon\) and \(c\in U_c\). The finite cover of \([a,x]\), together with \(U_c\), covers \([a,b]\), as required. If \(c<b\), let \(y=c+\min(\varepsilon/2,(b-c)/2)\). Then \(c<y\le b\), and \([x,y]\subseteq(c-\varepsilon,c+\varepsilon)\cap[a,b]\subseteq U_c\). Combining \(U_c\) with the finite cover of \([a,x]\) gives a finite cover of \([a,y]\). Thus \(y\in E\), contradicting \(y>c=\sup E\). The case \(c<b\) is impossible, so \(c=b\), and the preceding endpoint argument gives a finite subcover of \([a,b]\). Since \(\mathcal{U}\) was arbitrary, \([a,b]\) is compact. \(\square\)
The argument does not assume the cover members are intervals. It uses only that a cover member containing \(c\) contains a small real open interval around \(c\), after intersecting with \([a,b]\). That local interval is what carries a finite cover past a proposed stopping point.
Worked Cover Selections
Worked Example: An Infinite Cover of [0,1]
For each \(n\in\mathbb{N}\), let \(U_n=(-1,1-\frac{1}{n+1})\), and let \(V=(\frac34,2)\). These are open in \(\mathbb{R}\), hence their intersections with \([0,1]\) are open in the subspace. They cover \([0,1]\): if \(0\le x<1\), choose \(n\) sufficiently large that \(\frac{1}{n+1}<1-x\), giving \(x<1-\frac{1}{n+1}\), so \(x\in U_n\); and \(1\in V\).
A finite subcover is \(U_4,V\). Substituting \(n=4\) gives \(1-\frac{1}{4+1}=\frac45\), so \(U_4=(-1,\frac45)\). Every \(x\in[0,\frac45)\) lies in \(U_4\). Every \(x\in[\frac45,1]\) satisfies \(x>\frac34\) and \(x<2\), so lies in \(V\). Thus the two sets cover the whole interval, including the joining point \(\frac45\). The answer checks directly against the definition of a finite subcover.
Worked Example: A Longer Interval with an Indexed Cover
For \(n\in\mathbb{N}\), let \(A_n=(-3,3-\frac{1}{2n})\), and let \(B=(\frac52,4)\). The family covers \([-2,3]\). Every \(x<3\) in this interval lies in some \(A_n\), because \(3-x>0\) and an integer \(n\) can be chosen with \(\frac{1}{2n}<3-x\). The endpoint \(3\) lies in \(B\).
Take \(n=5\). Then \(3-\frac{1}{2\cdot5}=3-\frac{1}{10}=\frac{29}{10}\), so \(A_5=(-3,\frac{29}{10})\). For \(x\in[-2,\frac{29}{10})\), the inequalities \(-3<x<\frac{29}{10}\) show \(x\in A_5\). For \(x\in[\frac{29}{10},3]\), we have \(x>\frac52\) because \(\frac{29}{10}=\frac{29}{10}>\frac{25}{10}=\frac52\), and \(x<4\); hence \(x\in B\). So \(\{A_5,B\}\) is a finite subcover. In particular, the endpoint \(\frac{29}{10}\), excluded from \(A_5\), is included in \(B\).
Worked Example: A Cover Requiring Three Sets
Consider the following open sets in \(\mathbb{R}\), restricted to the interval \([1,4]\): \(P=(-1,\frac{11}{5})\), \(Q=(\frac95,\frac{31}{10})\), and \(R=(\frac{29}{10},5)\). They cover \([1,4]\). The first covers points from \(1\) up to but not including \(\frac{11}{5}\); the second overlaps it and reaches up to but not including \(\frac{31}{10}\); the third overlaps the second and contains the rest through \(4\).
For a direct check, a point \(x\in[1,\frac{11}{5})\) lies in \(P\). A point \(x\in[\frac{11}{5},\frac{31}{10})\) lies in \(Q\), since \(\frac{11}{5}=\frac{22}{10}>\frac{18}{10}=\frac95\). A point \(x\in[\frac{31}{10},4]\) lies in \(R\), since \(\frac{31}{10}>\frac{29}{10}\) and \(4<5\). Thus \(\{P,Q,R\}\) is a finite subcover. The strict endpoints cause no gap: \(\frac{11}{5}\) belongs to \(Q\), and \(\frac{31}{10}\) belongs to \(R\).
Why the Argument Needs Care
Common pitfall. In the first example, it is tempting to select \(U_1\) and \(V\) and declare that they cover \([0,1]\). But \(U_1=(-1,\frac12)\), while \(V=(\frac34,2)\). The point \(\frac58\) is in neither: \(\frac58>\frac12\), so it is not in \(U_1\), and \(\frac58<\frac34\), so it is not in \(V\). The selection leaves a gap.
The correction is to compute the endpoint of the chosen \(U_n\) and check the overlap with \(V\). With \(n=4\), the endpoint is \(\frac45\), and \(\frac45>\frac34\). Therefore \(U_4\) reaches into \(V\), with no uncovered point between them. In a general proof there is no fixed pair of sets to guess; the supremum argument supplies a cover member at the limiting point and uses its openness to make the same overlap reasoning work.
The endpoint cases also matter. A cover member containing \(c\) provides a neighborhood on both sides in \(\mathbb{R}\), but only the part inside \([a,b]\) is relevant. If \(c=b\), there is no need to extend beyond \(b\): the finite cover already reaches the right endpoint. If \(c<b\), the neighborhood does extend a positive distance to the right inside the interval, which contradicts the definition of \(c\). Separating these cases avoids assuming the interval continues past its endpoint.
Check Your Understanding
For each question, pay attention to whether the interval endpoints are included and whether the proposed selected sets actually cover them.
- In the supremum proof, why is \(E\) nonempty when \(a<b\)? Identify the role of relative openness.
- For the family \(U_n=(-1,1-\frac{1}{n+1})\) and \(V=(\frac34,2)\) on \([0,1]\), verify that \(U_3,V\) do not cover the interval, and find a point they miss.
- In the second worked example, why does \(A_5\) fail to contain \(\frac{29}{10}\), and which selected set contains that point?
- Explain why \(c=\sup E<b\) contradicts the definition of \(c\), using a cover member containing \(c\).
- What changes in the proof when \(a=b\), and why is the supremum argument unnecessary in that case?