Tutorials › Topology (Undergraduate) › Compact-Open Convergence and Uniform Convergence on Compacts

Function Space Topologies · Tutorial 626 of 799

Compact-Open Convergence and Uniform Convergence on Compacts

Learn to translate compact-open neighborhoods into uniform bounds on compact sets, and conversely.

Advanced 10 min read

What You'll Learn

  • Define the compact-open topology and uniform convergence on compact subsets
  • Prove that these topologies agree for locally compact Hausdorff domains and metric codomains
  • Use compact subsets of the domain to build compact-open neighborhoods
  • Convert compact-open subbasic neighborhoods into uniform bounds
  • Check convergence on compact sets with an explicit sequence

Two Ways to Control Continuous Maps

Let \(C(X,Y)\) denote the set of continuous maps from \(X\) to \(Y\). A neighborhood of a map can impose conditions on the image of a whole compact subset of the domain, or it can bound the distance between two maps at every point of that subset. The compact-open topology uses the first kind of condition. Uniform convergence on compact subsets uses the second. We will show that, when \(X\) is locally compact Hausdorff and \(Y\) is metric, these give the same topology on \(C(X,Y)\).

Definition: For a compact set \(K\subseteq X\) and an open set \(U\subseteq Y\), set \([K,U]=\{f\in C(X,Y):f(K)\subseteq U\}\). The compact-open topology is the topology generated by all such sets. If \(d\) is the metric on \(Y\), define \(p_K(f,g)=\sup_{x\in K}d(f(x),g(x))\), with \(p_{\varnothing}(f,g)=0\). The topology of uniform convergence on compact subsets is generated by the sets \(\{g\in C(X,Y):p_K(f,g)<\varepsilon\}\), for \(f\in C(X,Y)\), compact \(K\subseteq X\), and \(\varepsilon>0\).

The supremum defining \(p_K\) is finite: \(x\mapsto d(f(x),g(x))\) is continuous, and its image on compact \(K\) is compact, hence bounded in \(\mathbb{R}\). A basic neighborhood in the uniform-on-compacts topology is a finite intersection of the displayed sets, potentially using different compact sets and tolerances. In particular, it does not require one bound to hold over all of \(X\).

We use one fact about compact Hausdorff spaces to turn varying pointwise constraints into finitely many constraints on compact pieces.

Lemma: If \(K\) is compact Hausdorff and \(\{O_\alpha\}\) is an open cover of \(K\), there are finitely many compact sets \(C_1,\ldots,C_m\) covering \(K\), each contained in one member of the cover.

Proof. First fix \(x\in K\) and an open set \(O\subseteq K\) containing \(x\). If \(K\setminus O\) is empty, take \(W=K\). Otherwise, for each \(y\in K\setminus O\), the Hausdorff property gives disjoint open neighborhoods \(A_y\) of \(x\) and \(B_y\) of \(y\). The sets \(B_y\) cover the compact set \(K\setminus O\), so finitely many, say \(B_{y_1},\ldots,B_{y_n}\), cover it. Put \(W=\bigcap_{j=1}^n A_{y_j}\). This is an open neighborhood of \(x\), disjoint from \(\bigcup_{j=1}^n B_{y_j}\). Since that union is open and disjoint from \(W\), it is also disjoint from the closure \(\overline{W}\) in \(K\). Consequently \(\overline{W}\subseteq O\). Now apply this construction to each member of the given cover at each point it contains. The resulting open neighborhoods cover \(K\), so finitely many cover \(K\). Their closures are compact, still cover \(K\), and each is contained in its corresponding cover member. \(\square\)

The Two Neighborhood Translations

Theorem: If \(X\) is locally compact Hausdorff and \(Y\) is a metric space, the compact-open topology on \(C(X,Y)\) agrees with the topology of uniform convergence on compact subsets.

Proof. We prove both inclusions of topologies. First consider a compact-open subbasic set \([K,U]\), and take \(f\in[K,U]\). If \(K=\varnothing\), then \([K,U]=C(X,Y)\). If \(Y\setminus U=\varnothing\), the same conclusion holds. Otherwise, the function \(y\mapsto d(y,Y\setminus U)\), the distance from \(y\) to the nonempty closed set \(Y\setminus U\), is continuous and positive on the compact set \(f(K)\). It therefore has a positive minimum \(\delta\) there. If \(p_K(f,g)<\delta\), then for every \(x\in K\), \(d(g(x),f(x))<\delta\leq d(f(x),Y\setminus U)\), so \(g(x)\in U\). Thus the uniform-on-compacts neighborhood defined by \(K\) and \(\delta\) is contained in \([K,U]\). Every compact-open subbasic set is therefore open in the uniform-on-compacts topology.

For the other inclusion, fix \(f\in C(X,Y)\), a compact \(K\subseteq X\), and \(\varepsilon>0\). We show that every \(g\) with \(p_K(f,g)<\varepsilon\) has a compact-open neighborhood contained in \(\{h:p_K(f,h)<\varepsilon\}\). There is nothing to prove if \(K=\varnothing\). Otherwise let \(r=p_K(f,g)\) and \(m=\varepsilon-r>0\), and put \(\alpha=m/4\). For each \(x\in K\), continuity of \(f\) and \(g\) gives a relatively open neighborhood \(O_x\) of \(x\) in \(K\) such that, for every \(y\in O_x\), \(d(f(y),f(x))<\alpha\) and \(d(g(y),g(x))<\alpha\). The set \(K\) is compact Hausdorff, so the lemma gives a finite compact cover \(C_1,\ldots,C_q\) of \(K\), with each \(C_i\subseteq O_{x_i}\) for some \(x_i\in K\). Each \(C_i\) is also compact as a subset of \(X\). Let \(U_i\) be the open ball in \(Y\) with center \(g(x_i)\) and radius \(2\alpha\). The bounds on \(g\) show \(g(C_i)\subseteq U_i\), so \(g\) belongs to the compact-open neighborhood \(\bigcap_{i=1}^q[C_i,U_i]\).

If \(h\) belongs to this neighborhood and \(y\in C_i\), then \(d(h(y),g(x_i))<2\alpha\). The triangle inequality gives \(d(f(y),h(y))\leq d(f(y),f(x_i))+d(f(x_i),g(x_i))+d(g(x_i),h(y))<\alpha+r+2\alpha=r+3m/4<\varepsilon\). Since the \(C_i\) cover \(K\), this holds for every \(y\in K\), and hence \(p_K(f,h)<\varepsilon\). We have found a compact-open neighborhood inside the specified uniform neighborhood at each of its points, so that uniform neighborhood is compact-open open. This proves the reverse inclusion and the equality of the topologies. \(\square\)

The proof of the reverse inclusion uses that compact subsets of a Hausdorff space are compact Hausdorff; local compactness is part of the stated hypothesis but is not needed for this particular equality. The metric on \(Y\) supplies distances and open balls. No completeness assumption on \(Y\) is required.

Worked Neighborhood Conversions

Worked Example: A Uniform Neighborhood from Compact-Open Conditions

Take \(X=Y=\mathbb{R}\) with their standard topologies and the usual metric. Let \(K=[0,1]\), \(f(x)=x\), and \(g(x)=x+\tfrac18\). We construct a compact-open neighborhood of \(g\) contained in the uniform neighborhood \(p_K(f,h)<\tfrac12\).

First, for \(x\in[0,1]\), \(d(f(x),g(x))=|(x+\tfrac18)-x|=\tfrac18\), so \(p_K(f,g)=\tfrac18<\tfrac12\). Divide \(K\) into four compact intervals \(C_j=[(j-1)/4,j/4]\), for \(j=1,2,3,4\). For each \(C_j=[a,b]\), set \(U_j=(b-\tfrac12,a+\tfrac12)\). Explicitly, these four open intervals are \(U_1=(-\tfrac14,\tfrac12)\), \(U_2=(0,\tfrac34)\), \(U_3=(\tfrac14,1)\), and \(U_4=(\tfrac12,\tfrac54)\).

On each \(C_j=[a,b]\), the range of \(g\) is \([a+\tfrac18,b+\tfrac18]\). These ranges are respectively \([\tfrac18,\tfrac38]\), \([\tfrac38,\tfrac58]\), \([\tfrac58,\tfrac78]\), and \([\tfrac78,\tfrac98]\); each lies inside its corresponding \(U_j\). Thus \(g\in\bigcap_{j=1}^4[C_j,U_j]\). For any \(h\) in this intersection and \(x\in C_j=[a,b]\), \(h(x)\in(b-\tfrac12,a+\tfrac12)\) and \(x\in[a,b]\). Therefore \(h(x)-x< a+\tfrac12-a=\tfrac12\), and \(x-h(x)<b-(b-\tfrac12)=\tfrac12\). Hence \(|h(x)-x|<\tfrac12\) throughout \(K\), giving \(p_K(f,h)<\tfrac12\). This verifies the compact-open neighborhood does the required job.

Worked Example: A Uniform Bound Inside a Compact-Open Set

Again let \(X=Y=\mathbb{R}\), with the standard topologies and usual metric. Take \(K=[-1,1]\), \(f(x)=0\), and \(U=(-2,2)\). Then \(f(K)=\{0\}\subseteq U\), so \(f\in[K,U]\).

If \(p_K(f,g)<2\), then for each \(x\in K\), \(|g(x)|=|g(x)-f(x)|\leq p_K(f,g)<2\). Thus \(-2<g(x)<2\) for every \(x\in K\), which says exactly that \(g(K)\subseteq U\). Therefore the uniform neighborhood \(\{g:p_K(f,g)<2\}\) is contained in \([K,U]\). The strict inequality matters: the uniform condition is \(p_K(f,g)<2\), not \(p_K(f,g)\leq2\), which would allow values at the boundary of \(U\).

Check: the distance from \(f(K)=\{0\}\) to \(\mathbb{R}\setminus U=(-\infty,-2]\cup[2,\infty)\) is \(2\), matching the bound used above.

Worked Example: Convergence on Each Compact Subset of the Real Line

Let \(X=Y=\mathbb{R}\) with the standard topologies and usual metric. Define \(f_n(x)=x/n\) for \(n\in\mathbb{N}\), and let \(f(x)=0\). On \(K=[-3,3]\), \(p_K(f_n,f)=\sup_{-3\leq x\leq3}|x/n|=3/n\). For the tolerance \(\tfrac12\), the strict condition \(3/n<\tfrac12\) is equivalent, since \(n>0\), to \(6<n\). Thus every integer \(n\geq7\) satisfies the required bound; \(n=6\) gives equality and does not.

For an arbitrary nonempty compact \(K\subseteq\mathbb{R}\), continuity of \(x\mapsto|x|\) gives a maximum \(M=\max_{x\in K}|x|\). Direct substitution yields \(p_K(f_n,f)=M/n\). If \(M=0\), this is zero for every \(n\); if \(M>0\), then \(M/n<\varepsilon\) whenever \(n>M/\varepsilon\). The empty compact set has \(p_{\varnothing}=0\). Hence \(f_n\) converges uniformly on every compact subset to \(f\), and so converges to \(f\) in the compact-open topology by the theorem.

What the Equivalence Does—and Does Not—Say

The equality is useful because it lets us choose the language that best fits a problem. To show a map lies in a compact-open neighborhood, it is often enough to check that its image on a compact set stays inside an open target set. To discuss closeness of maps, a bound on \(p_K\) is often more direct. The theorem guarantees that these descriptions give the same neighborhoods; it does not turn compact control into control over the entire domain when the domain is noncompact.

Common pitfall. A compact-open condition \([K,U]\) does not generally say that a map is uniformly close to a particular nonconstant map on \(K\). For a concrete check, take \(K=[-1,1]\), \(U=(-2,2)\), \(f(x)=x\), and \(h(x)=0\). Then \(h(K)=\{0\}\subseteq U\), so \(h\in[K,U]\), but \(p_K(f,h)=\sup_{-1\leq x\leq1}|x-0|=1\). In particular, this compact-open condition does not imply \(p_K(f,h)<\tfrac12\). The correction is to compare the target values with \(f\), using sufficiently small compact pieces as in the first worked example, or to use the uniform-on-compacts neighborhood directly.

Check Your Understanding

In each question, distinguish the condition on a whole compact set from a condition at one point.

  1. For \(K=[0,2]\), \(f(x)=0\), and \(U=(-1,1)\), give a positive \(\delta\) such that \(p_K(f,g)<\delta\) implies \(g\in[K,U]\).
  2. For \(K=[-1,1]\), \(f(x)=x\), and \(g(x)=x+\tfrac14\), compute \(p_K(f,g)\).
  3. Explain why compactness of \(K\) ensures \(p_K(f,g)\) is finite for continuous \(f,g\).
  4. In the sequence example, does \(f_6(x)=x/6\) satisfy \(p_{[-3,3]}(f_6,0)<\tfrac12\)? Verify using the computed supremum.
  5. Which part of the topology-equivalence proof uses that \(Y\) is metric, and which part uses that compact subsets of \(X\) are Hausdorff?