Function Spaces: Cc, C0, Cb

This scene is about function spaces. See how the three families of continuous functions CcC_c, C0C_0, and CbC_b nest and split. CbC_b is all bounded continuous functions. C0C_0 holds the ones that fade to 00 far away, and CcC_c the ones that are exactly 00 outside a finite interval. Both inclusions Cc⊂C0⊂CbC_c \subset C_0 \subset C_b are strict. For example, a ⛺ tent stands on a finite patch of ground. Fog thins out with distance but lies everywhere. An endless plain never fades away at all.

Cc(R)⊊C0(R)⊊Cb(R),∥f∥∞=sup⁡x∈R∣f(x)∣C_c(\mathbb{R}) \subsetneq C_0(\mathbb{R}) \subsetneq C_b(\mathbb{R}), \qquad \|f\|_\infty = \sup_{x \in \mathbb{R}} |f(x)|
Cc(R)‾=C0(R),C0(R) closed in Cb(R),Cc(R) not complete\overline{C_c(\mathbb{R})} = C_0(\mathbb{R}), \qquad C_0(\mathbb{R}) \text{ closed in } C_b(\mathbb{R}), \qquad C_c(\mathbb{R}) \text{ not complete}

Examples & Exercises

Prove completely that C0(R)C_0(\mathbb{R}) is a closed subspace of Cb(R)C_b(\mathbb{R}) in the sup norm. That is, show that if fn∈C0(R)f_n \in C_0(\mathbb{R}), f∈Cb(R)f \in C_b(\mathbb{R}), and ∥fn−f∥∞→0\|f_n - f\|_\infty \to 0, then f∈C0(R)f \in C_0(\mathbb{R}). (You may use the fact that a uniform limit of continuous functions is continuous.)

∣f(x)∣≤∣fn(x)∣+∥f−fn∥∞<ε2+ε2=ε(∣x∣>M)|f(x)| \le |f_n(x)| + \|f - f_n\|_\infty < \frac{\varepsilon}{2} + \frac{\varepsilon}{2} = \varepsilon \quad (|x| > M)
The three representatives: the tent (CcC_c), e−∣x∣e^{-|x|} (C0C_0), and the constant 11 (CbC_b) — closedness says the middle layer is sealed under uniform limits.
Show proof
  1. Fix ε>0\varepsilon > 0. Since ∥fn−f∥∞→0\|f_n - f\|_\infty \to 0, there is an nn with ∥f−fn∥∞<ε2\|f - f_n\|_\infty < \frac{\varepsilon}{2}. Fix this nn.
  2. Since fn∈C0(R)f_n \in C_0(\mathbb{R}), it vanishes at infinity: there is MM such that ∣x∣>M|x| > M implies ∣fn(x)∣<ε2|f_n(x)| < \frac{\varepsilon}{2}.
  3. For ∣x∣>M|x| > M, the triangle inequality gives ∣f(x)∣≤∣fn(x)∣+∣f(x)−fn(x)∣≤∣fn(x)∣+∥f−fn∥∞<ε2+ε2=ε|f(x)| \le |f_n(x)| + |f(x) - f_n(x)| \le |f_n(x)| + \|f - f_n\|_\infty < \frac{\varepsilon}{2} + \frac{\varepsilon}{2} = \varepsilon. So ∣x∣>M|x| > M implies ∣f(x)∣<ε|f(x)| < \varepsilon: ff vanishes at infinity, hence f∈C0(R)f \in C_0(\mathbb{R}).
  4. Hence C0(R)C_0(\mathbb{R}) contains all its sequential limits inside Cb(R)C_b(\mathbb{R}): it is closed. Since Cb(R)C_b(\mathbb{R}) is complete in the sup norm (uniformly Cauchy sequences converge uniformly to bounded continuous limits), the closed subspace C0(R)C_0(\mathbb{R}) is complete as well.

Using the cutoff functions φk(x)=1\varphi_k(x) = 1 for ∣x∣≤k|x| \le k, φk(x)=k+1−∣x∣\varphi_k(x) = k + 1 - |x| for k≤∣x∣≤k+1k \le |x| \le k+1, and φk(x)=0\varphi_k(x) = 0 for ∣x∣≥k+1|x| \ge k+1, prove completely that Cc(R)C_c(\mathbb{R}) is dense in C0(R)C_0(\mathbb{R}) in the sup norm. That is, show that for every f∈C0(R)f \in C_0(\mathbb{R}) and every ε>0\varepsilon > 0 there is a kk with ∥f−φkf∥∞<ε\|f - \varphi_k f\|_\infty < \varepsilon.

∣f(x)−φk(x)f(x)∣=(1−φk(x)) ∣f(x)∣≤sup⁡∣t∣≥k∣f(t)∣|f(x) - \varphi_k(x) f(x)| = (1 - \varphi_k(x))\,|f(x)| \le \sup_{|t| \ge k} |f(t)|
k=1k = 1: f1=φ1ff_1 = \varphi_1 f is a CcC_c function vanishing outside [−(k+1),k+1]=[−2,2][-(k+1), k+1] = [-2, 2], with sup error e−2≈0.1353e^{-2} \approx 0.1353.
Show proof
  1. Fix f∈C0(R)f \in C_0(\mathbb{R}) and ε>0\varepsilon > 0. First, fk=φkff_k = \varphi_k f lies in Cc(R)C_c(\mathbb{R}): φk\varphi_k is piecewise linear, hence continuous, and ff is continuous, so the product fkf_k is continuous. For ∣x∣≥k+1|x| \ge k+1, φk(x)=0\varphi_k(x) = 0, so fk(x)=0f_k(x) = 0. Hence supp⁡fk⊆[−(k+1),k+1]\operatorname{supp} f_k \subseteq [-(k+1), k+1], a compact set, and fk∈Cc(R)f_k \in C_c(\mathbb{R}).
  2. Estimate the error. If ∣x∣≤k|x| \le k then φk(x)=1\varphi_k(x) = 1, so fk(x)=f(x)f_k(x) = f(x) and the error is 00. If ∣x∣>k|x| > k then 0≤1−φk(x)≤10 \le 1 - \varphi_k(x) \le 1, so ∣f(x)−fk(x)∣=(1−φk(x)) ∣f(x)∣≤∣f(x)∣≤sup⁡∣t∣≥k∣f(t)∣|f(x) - f_k(x)| = (1 - \varphi_k(x))\,|f(x)| \le |f(x)| \le \sup_{|t| \ge k} |f(t)|. Hence ∣f(x)−fk(x)∣≤sup⁡∣t∣≥k∣f(t)∣|f(x) - f_k(x)| \le \sup_{|t| \ge k} |f(t)| for every xx, and ∥f−fk∥∞≤sup⁡∣t∣≥k∣f(t)∣\|f - f_k\|_\infty \le \sup_{|t| \ge k} |f(t)|.
  3. Since f∈C0(R)f \in C_0(\mathbb{R}), it vanishes at infinity. Applying this with ε2\frac{\varepsilon}{2} gives a kk with ∣f(t)∣<ε2|f(t)| < \frac{\varepsilon}{2} for all ∣t∣≥k|t| \ge k. For this kk, sup⁡∣t∣≥k∣f(t)∣≤ε2\sup_{|t| \ge k} |f(t)| \le \frac{\varepsilon}{2}, and the previous step gives ∥f−fk∥∞≤ε2<ε\|f - f_k\|_\infty \le \frac{\varepsilon}{2} < \varepsilon. So every ε\varepsilon-neighborhood of ff contains the element fkf_k of Cc(R)C_c(\mathbb{R}).
  4. Therefore C0(R)⊆Cc(R)‾C_0(\mathbb{R}) \subseteq \overline{C_c(\mathbb{R})}. Conversely, Cc(R)⊆C0(R)C_c(\mathbb{R}) \subseteq C_0(\mathbb{R}), and C0(R)C_0(\mathbb{R}) is closed by Problem 1, so Cc(R)‾⊆C0(R)\overline{C_c(\mathbb{R})} \subseteq C_0(\mathbb{R}). Hence Cc(R)‾=C0(R)\overline{C_c(\mathbb{R})} = C_0(\mathbb{R}): Cc(R)C_c(\mathbb{R}) is dense in C0(R)C_0(\mathbb{R}).

Using f(x)=e−∣x∣f(x) = e^{-|x|} and fj=φjff_j = \varphi_j f for j=1,2,3,…j = 1, 2, 3, \dots, where φj\varphi_j is the cutoff of Problem 2, prove completely that Cc(R)C_c(\mathbb{R}) is not complete in the sup norm. That is, show that (fj)(f_j) is a uniformly Cauchy sequence in Cc(R)C_c(\mathbb{R}) whose sup-norm limit ff does not belong to Cc(R)C_c(\mathbb{R}).

∥f−fj∥∞=e−(j+1),∥fi−fj∥∞≤e−(i+1)+e−(j+1)\|f - f_j\|_\infty = e^{-(j+1)}, \qquad \|f_i - f_j\|_\infty \le e^{-(i+1)} + e^{-(j+1)}
k=2k = 2: widening the cutoff shrinks the sup error e−(k+1)e^{-(k+1)} to e−3≈0.0498e^{-3} \approx 0.0498, but the limit e−∣x∣e^{-|x|} itself is zero nowhere.
Show proof
  1. Each fj=φjff_j = \varphi_j f lies in Cc(R)C_c(\mathbb{R}) by the first step of Problem 2: it is continuous, with supp⁡fj⊆[−(j+1),j+1]\operatorname{supp} f_j \subseteq [-(j+1), j+1]. The key identity is ∥f−fj∥∞=e−(j+1)\|f - f_j\|_\infty = e^{-(j+1)}, checked region by region. For ∣x∣≤j|x| \le j: φj(x)=1\varphi_j(x) = 1, so the error is 00. For j≤∣x∣≤j+1j \le |x| \le j+1: with s=∣x∣−j∈[0,1]s = |x| - j \in [0, 1], the error is s e−∣x∣=e−(j+1)⋅se1−ss\, e^{-|x|} = e^{-(j+1)} \cdot s e^{1-s}. Since es−1≥1+(s−1)=se^{s-1} \ge 1 + (s - 1) = s (convexity of the exponential), se1−s≤1s e^{1-s} \le 1, so the error is at most e−(j+1)e^{-(j+1)}. For ∣x∣≥j+1|x| \ge j+1: φj(x)=0\varphi_j(x) = 0, so the error is e−∣x∣≤e−(j+1)e^{-|x|} \le e^{-(j+1)}. At ∣x∣=j+1|x| = j+1 the error equals e−(j+1)e^{-(j+1)} exactly, so the supremum is that value.
  2. The sequence (fj)(f_j) is uniformly Cauchy: for all i,ji, j, the triangle inequality gives ∥fi−fj∥∞≤∥fi−f∥∞+∥f−fj∥∞=e−(i+1)+e−(j+1)\|f_i - f_j\|_\infty \le \|f_i - f\|_\infty + \|f - f_j\|_\infty = e^{-(i+1)} + e^{-(j+1)}. The right side tends to 00 as i,j→∞i, j \to \infty, so for every ε>0\varepsilon > 0, ∥fi−fj∥∞<ε\|f_i - f_j\|_\infty < \varepsilon once i,ji, j are large: (fj)(f_j) is Cauchy in the sup norm. Also ∥fj−f∥∞=e−(j+1)→0\|f_j - f\|_\infty = e^{-(j+1)} \to 0, so the sup-norm limit of (fj)(f_j) (its limit inside Cb(R)C_b(\mathbb{R})) is ff.
  3. We have f∈C0(R)f \in C_0(\mathbb{R}): for ε>0\varepsilon > 0, ∣x∣>ln⁡1ε|x| > \ln\frac{1}{\varepsilon} implies ∣f(x)∣=e−∣x∣<ε|f(x)| = e^{-|x|} < \varepsilon. But f∉Cc(R)f \notin C_c(\mathbb{R}): f(x)=e−∣x∣>0f(x) = e^{-|x|} > 0 for every xx, so {x:f(x)≠0}=R\{x : f(x) \ne 0\} = \mathbb{R} and supp⁡f=R\operatorname{supp} f = \mathbb{R} is not compact.
  4. Suppose Cc(R)C_c(\mathbb{R}) were complete. Then the Cauchy sequence (fj)(f_j) would converge in sup norm to some g∈Cc(R)g \in C_c(\mathbb{R}). But sup-norm limits are unique inside Cb(R)C_b(\mathbb{R}): if ∥fj−g∥∞→0\|f_j - g\|_\infty \to 0 and ∥fj−f∥∞→0\|f_j - f\|_\infty \to 0, then ∥f−g∥∞≤∥f−fj∥∞+∥fj−g∥∞→0\|f - g\|_\infty \le \|f - f_j\|_\infty + \|f_j - g\|_\infty \to 0, so f=gf = g. Since f∉Cc(R)f \notin C_c(\mathbb{R}), this is a contradiction. Hence Cc(R)C_c(\mathbb{R}) is not complete, and it is closed neither in C0(R)C_0(\mathbb{R}) nor in Cb(R)C_b(\mathbb{R}) (together with the density of Problem 2, Cc(R)‾=C0(R)\overline{C_c(\mathbb{R})} = C_0(\mathbb{R})).

9. Series of Functions & Fourier