The StoneโWeierstrass Gap: A Subalgebra That Misses One Function
Let be the set of all continuous functions such that
Is dense in (equipped with the uniform norm )?
If not, characterize exactly which functions can be uniformly approximated by elements of .
Answer: Zero-Mean Functions: A Closed Hyperplane in C([0,1])
Key Idea / Intuition
The set is a closed proper subspace of , not a dense set. The obstruction is the integral functional: if uniformly, then , so the limit of any sequence in must also integrate to zero. Thus is already closed, and you can only uniformly approximate functions whose integral is exactly zero. The punchline is surprisingly clean: the closure of is itself, and the "reachable" functions are precisely those with zero mean.
Formal Proof / Solution
Step 1: is closed.
Define the linear functional by .
This functional is continuous in the uniform norm, since
Since is the preimage of the closed set under a continuous map, is closed in .
Step 2: is not dense.
The constant function has , so .
If were dense, there would exist with . But then
which forces , a contradiction.
Step 3: Characterization of .
Since is already closed, itself. Therefore:
A function can be uniformly approximated by elements of if and only if .
Step 4: The geometric picture (codimension-1 hyperplane).
is a closed hyperplane in the Banach space : it is the kernel of the bounded linear functional . Its codimension is exactly 1. The full space decomposes as
where is the constant function . Any decomposes as
The distance from any to is exactly , which is zero if and only if .
Conclusion: is a closed, proper, dense-in-itself subspace of codimension 1. The only functions uniformly approximable by zero-mean continuous functions are the zero-mean continuous functions themselves.