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)).