This scene is about function spaces. See how the three families of continuous functions Cc, C0, and Cb nest and split.
Cb is all bounded continuous functions. C0 holds the ones that fade to 0 far away, and Cc the ones that are exactly 0 outside a finite interval. Both inclusions Cc⊂C0⊂Cb 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∥∞=x∈Rsup∣f(x)∣
Cc(R)=C0(R),C0(R) closed in Cb(R),Cc(R) not complete
Examples & Exercises
Prove completely that C0(R) is a closed subspace of Cb(R) in the sup norm.
That is, show that if fn∈C0(R), f∈Cb(R), and ∥fn−f∥∞→0, then f∈C0(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)
The three representatives: the tent (Cc), e−∣x∣ (C0), and the constant 1 (Cb) — closedness says the middle layer is sealed under uniform limits.Show proof
Fix ε>0. Since ∥fn−f∥∞→0, there is an n with ∥f−fn∥∞<2ε. Fix this n.
Since fn∈C0(R), it vanishes at infinity: there is M such that ∣x∣>M implies ∣fn(x)∣<2ε.
For ∣x∣>M, the triangle inequality gives
∣f(x)∣≤∣fn(x)∣+∣f(x)−fn(x)∣≤∣fn(x)∣+∥f−fn∥∞<2ε+2ε=ε.
So ∣x∣>M implies ∣f(x)∣<ε: f vanishes at infinity, hence f∈C0(R).
Hence C0(R) contains all its sequential limits inside Cb(R): it is closed.
Since Cb(R) is complete in the sup norm (uniformly Cauchy sequences converge uniformly to bounded continuous limits), the closed subspace C0(R) is complete as well.
Using the cutoff functions φk(x)=1 for ∣x∣≤k, φk(x)=k+1−∣x∣ for k≤∣x∣≤k+1, and φk(x)=0 for ∣x∣≥k+1, prove completely that Cc(R) is dense in C0(R) in the sup norm.
That is, show that for every f∈C0(R) and every ε>0 there is a k with ∥f−φkf∥∞<ε.
k=1: f1=φ1f is a Cc function vanishing outside [−(k+1),k+1]=[−2,2], with sup error e−2≈0.1353.Show proof
Fix f∈C0(R) and ε>0. First, fk=φkf lies in Cc(R): φk is piecewise linear, hence continuous, and f is continuous, so the product fk is continuous. For ∣x∣≥k+1, φk(x)=0, so fk(x)=0. Hence suppfk⊆[−(k+1),k+1], a compact set, and fk∈Cc(R).
Estimate the error. If ∣x∣≤k then φk(x)=1, so fk(x)=f(x) and the error is 0.
If ∣x∣>k then 0≤1−φk(x)≤1, so
∣f(x)−fk(x)∣=(1−φk(x))∣f(x)∣≤∣f(x)∣≤sup∣t∣≥k∣f(t)∣.
Hence ∣f(x)−fk(x)∣≤sup∣t∣≥k∣f(t)∣ for every x, and ∥f−fk∥∞≤sup∣t∣≥k∣f(t)∣.
Since f∈C0(R), it vanishes at infinity. Applying this with 2ε gives a k with ∣f(t)∣<2ε for all ∣t∣≥k.
For this k, sup∣t∣≥k∣f(t)∣≤2ε, and the previous step gives ∥f−fk∥∞≤2ε<ε.
So every ε-neighborhood of f contains the element fk of Cc(R).
Therefore C0(R)⊆Cc(R).
Conversely, Cc(R)⊆C0(R), and C0(R) is closed by Problem 1, so Cc(R)⊆C0(R).
Hence Cc(R)=C0(R): Cc(R) is dense in C0(R).
Using f(x)=e−∣x∣ and fj=φjf for j=1,2,3,…, where φj is the cutoff of Problem 2, prove completely that Cc(R) is not complete in the sup norm.
That is, show that (fj) is a uniformly Cauchy sequence in Cc(R) whose sup-norm limit f does not belong to Cc(R).
∥f−fj∥∞=e−(j+1),∥fi−fj∥∞≤e−(i+1)+e−(j+1)
k=2: widening the cutoff shrinks the sup error e−(k+1) to e−3≈0.0498, but the limit e−∣x∣ itself is zero nowhere.Show proof
Each fj=φjf lies in Cc(R) by the first step of Problem 2: it is continuous, with suppfj⊆[−(j+1),j+1].
The key identity is ∥f−fj∥∞=e−(j+1), checked region by region.
For ∣x∣≤j: φj(x)=1, so the error is 0.
For j≤∣x∣≤j+1: with s=∣x∣−j∈[0,1], the error is se−∣x∣=e−(j+1)⋅se1−s. Since es−1≥1+(s−1)=s (convexity of the exponential), se1−s≤1, so the error is at most e−(j+1).
For ∣x∣≥j+1: φj(x)=0, so the error is e−∣x∣≤e−(j+1).
At ∣x∣=j+1 the error equals e−(j+1) exactly, so the supremum is that value.
The sequence (fj) is uniformly Cauchy: for all i,j, the triangle inequality gives
∥fi−fj∥∞≤∥fi−f∥∞+∥f−fj∥∞=e−(i+1)+e−(j+1).
The right side tends to 0 as i,j→∞, so for every ε>0, ∥fi−fj∥∞<ε once i,j are large: (fj) is Cauchy in the sup norm.
Also ∥fj−f∥∞=e−(j+1)→0, so the sup-norm limit of (fj) (its limit inside Cb(R)) is f.
We have f∈C0(R): for ε>0, ∣x∣>lnε1 implies ∣f(x)∣=e−∣x∣<ε.
But f∈/Cc(R): f(x)=e−∣x∣>0 for every x, so {x:f(x)=0}=R and suppf=R is not compact.
Suppose Cc(R) were complete. Then the Cauchy sequence (fj) would converge in sup norm to some g∈Cc(R).
But sup-norm limits are unique inside Cb(R): if ∥fj−g∥∞→0 and ∥fj−f∥∞→0, then ∥f−g∥∞≤∥f−fj∥∞+∥fj−g∥∞→0, so f=g.
Since f∈/Cc(R), this is a contradiction. Hence Cc(R) is not complete, and it is closed neither in C0(R) nor in Cb(R) (together with the density of Problem 2, Cc(R)=C0(R)).