The Stone-Weierstrass Theorem: Approximating Continuous Functions
We state and prove the Stone-Weierstrass theorem — the powerful generalization of Weierstrass's classical approximation theorem that characterizes when subalgebras of continuous functions are dense — and explore its wide-ranging applications.
The Theorem
Stone-Weierstrass Theorem (Real Version)
Let be a compact Hausdorff space and let be a subalgebra that:
- Separates points: for any in , there exists with .
- Vanishes nowhere: for every , there exists with .
Then is dense in with respect to the supremum norm.
In short: every continuous function on a compact space can be uniformly approximated by functions in any "sufficiently rich" subalgebra.
The Classical Weierstrass Theorem
The original theorem (Weierstrass, 1885) is a special case:
Weierstrass Approximation Theorem
Every continuous function can be uniformly approximated by polynomials. That is, for every there exists a polynomial with:
This follows from Stone-Weierstrass by taking and (the polynomials), which separate points (the identity does) and vanish nowhere (the constant does).
Why It Matters
The Stone-Weierstrass theorem is one of the most widely used results in analysis. Its power lies in reducing questions about all continuous functions to questions about a specific class:
- To prove a property holds for all continuous functions, prove it for the subalgebra and show it is preserved under uniform limits.
- To construct approximation schemes, verify the Stone-Weierstrass hypotheses.
Key Lemma: Lattice Closure
The proof hinges on showing that the closure is a lattice: it is closed under and .
Lemma 1. If , then .
Proof. By the classical Weierstrass theorem, the function on can be uniformly approximated by polynomials with . Then (since is an algebra) and uniformly.
Corollary. Since and , the closure is closed under and .
Proof of the Stone-Weierstrass Theorem
Proof.
Let and . We must find with .
Step 1 — Interpolation at two points. For any , there exists with and .
Proof: Since separates points and vanishes nowhere, for any two points and any values , we can find with and . (Use the separation and non-vanishing properties to build appropriate linear combinations.)
Step 2 — Approximation from below at each point. Fix . For each , let be as above. Since , continuity gives an open set with for .
By compactness, finitely many cover . Define:
Then for all and .
Step 3 — Approximation from above. Since , continuity gives an open set with for .
By compactness, finitely many cover . Define:
Then for all :
- (since each ).
- (since for some , and ).
Therefore and .
The Complex Version
Stone-Weierstrass (Complex Version). Let be compact Hausdorff. A self-adjoint subalgebra that separates points and vanishes nowhere is dense in .
Here "self-adjoint" means: .
Without the self-adjoint condition, the theorem fails: on the unit circle , the algebra generated by (without ) consists of boundary values of holomorphic functions and is not dense in .
Applications
Trigonometric Approximation
The trigonometric polynomials form a self-adjoint subalgebra of that separates points and vanishes nowhere. By Stone-Weierstrass, they are dense — justifying Fourier analysis.
Polynomial Approximation on Products
On , the polynomials in variables separate points and form an algebra. Stone-Weierstrass gives uniform approximation by multivariate polynomials.
Müntz-Szász Theorem
Which subsets have the property that is dense in ? The Müntz-Szász theorem answers: if and only if and . Stone-Weierstrass provides the framework.
Korovkin's Theorem
If a sequence of positive linear operators satisfies , , uniformly on , then uniformly for all . This powerful result, used to prove the Bernstein polynomial approximation, connects to Stone-Weierstrass.
Bernstein's Constructive Proof
While Stone-Weierstrass is an existence result, Bernstein (1912) gave a constructive proof of Weierstrass's theorem using the Bernstein polynomials:
One can verify uniformly on using the law of large numbers (or direct estimation). This is an explicit approximation, unlike the abstract Stone-Weierstrass argument.
Failure Without Hypotheses
Without point separation: The constant functions on form an algebra but do not separate points. The closure is just , not all of .
Without non-vanishing: The algebra separates points but vanishes at . Its closure is itself — it misses all functions with .
Without compactness: On , polynomials separate points and vanish nowhere, but they are not dense in the bounded continuous functions (a polynomial that is close to a bounded function on all of must itself be bounded, hence constant).
Summary
References
- Rudin, W., Principles of Mathematical Analysis, 3rd edition, McGraw-Hill, 1976.
- Folland, G. B., Real Analysis, 2nd edition, Wiley, 1999.
- Conway, J. B., A Course in Functional Analysis, 2nd edition, Springer, 1990.
- Wikipedia — Stone-Weierstrass theorem
- Wikipedia — Weierstrass approximation theorem
- MIT OpenCourseWare — Real Analysis