Stone–Weierstrass theorem

In mathematical analysis, the Weierstrass approximation theorem states that every continuous function defined on a closed interval $[a, b]$ can be uniformly approximated as closely as desired by a polynomial function. Because polynomials are among the simplest functions, and because computers can directly evaluate polynomials, this theorem has both practical and theoretical relevance, especially in polynomial interpolation. The original version of this result was established by Karl Weierstrass in 1885 using the Weierstrass transform.

Marshall H. Stone considerably generalized the theorem and simplified the proof. His result is known as the Stone–Weierstrass theorem. The Stone–Weierstrass theorem generalizes the Weierstrass approximation theorem in two directions: instead of the real interval $[a, b]$, an arbitrary compact Hausdorff space $X$ is considered, and instead of the algebra of polynomial functions, a variety of other families of continuous functions on $$X$$ are shown to suffice, as is detailed below. The Stone–Weierstrass theorem is a vital result in the study of the algebra of continuous functions on a compact Hausdorff space.

Further, there is a generalization of the Stone–Weierstrass theorem to noncompact Tychonoff spaces, namely, any continuous function on a Tychonoff space is approximated uniformly on compact sets by algebras of the type appearing in the Stone–Weierstrass theorem and described below.

A different generalization of Weierstrass' original theorem is Mergelyan's theorem, which generalizes it to functions defined on certain subsets of the complex plane.

Weierstrass approximation theorem
The statement of the approximation theorem as originally discovered by Weierstrass is as follows:

$$

A constructive proof of this theorem using Bernstein polynomials is outlined on that page.

Degree of approximation
For differentiable functions, Jackson's inequality bounds the error of approximations by polynomials of a given degree: if $$f$$ has a continuous k-th derivative, then for every $$n\in\mathbb N$$ there exists a polynomial $$p_n$$ of degree at most $$n$$ such that $$\lVert f-p_n\rVert \leq \frac\pi 2\frac 1{(n+1)^k} \lVert f^{(k)}\rVert$$.

However, if $$f$$ is merely continuous, the convergence of the approximations can be arbitrarily slow in the following sense: for any sequence of positive real numbers $$(a_n)_{n\in\mathbb N}$$ decreasing to 0 there exists a function $$f$$ such that $$\lVert f-p\rVert > a_n$$ for every polynomial $$p$$ of degree at most $$n$$.

Applications
As a consequence of the Weierstrass approximation theorem, one can show that the space $f$ is separable: the polynomial functions are dense, and each polynomial function can be uniformly approximated by one with rational coefficients; there are only countably many polynomials with rational coefficients. Since $[a, b]$ is metrizable and separable it follows that $ε > 0$ has cardinality at most $p$. (Remark: This cardinality result also follows from the fact that a continuous function on the reals is uniquely determined by its restriction to the rationals.)

Stone–Weierstrass theorem, real version
The set $[a, b]$ of continuous real-valued functions on $|f(x) − p(x)| < ε$, together with the supremum norm $\|f − p\| < ε$ is a Banach algebra, (that is, an associative algebra and a Banach space such that $C[a, b]$ for all $C[a, b]$). The set of all polynomial functions forms a subalgebra of $C[a, b]$ (that is, a vector subspace of $2^{ℵ_{0}}|undefined$ that is closed under multiplication of functions), and the content of the Weierstrass approximation theorem is that this subalgebra is dense in $C[a, b]$.

Stone starts with an arbitrary compact Hausdorff space $X$ and considers the algebra $[a, b]$ of real-valued continuous functions on $X$, with the topology of uniform convergence. He wants to find subalgebras of $\|f\| = sup_{a ≤ x ≤ b} |f (x)|$ which are dense. It turns out that the crucial property that a subalgebra must satisfy is that it separates points: a set $A$ of functions defined on $X$ is said to separate points if, for every two different points $x$ and $y$ in $X$ there exists a function $p$ in $A$ with $\|fg\| ≤ \|f\|·\|g\|$. Now we may state:

$$

This implies Weierstrass' original statement since the polynomials on $f, g$ form a subalgebra of $C[a, b]$ which contains the constants and separates points.

Locally compact version
A version of the Stone–Weierstrass theorem is also true when $X$ is only locally compact. Let $C[a, b]$ be the space of real-valued continuous functions on $X$ that vanish at infinity; that is, a continuous function $C[a, b]$ is in $C(X, R)$ if, for every $C(X, R)$, there exists a compact set $p(x) ≠ p(y)$ such that $C(X, R)$ on $C(X, R)$. Again, $[a, b]$ is a Banach algebra with the supremum norm. A subalgebra $A$ of $C[a, b]$ is said to vanish nowhere if not all of the elements of $A$ simultaneously vanish at a point; that is, for every $x$ in $X$, there is some $C_{0}(X, R)$ in $A$ such that $f$. The theorem generalizes as follows:

$$

This version clearly implies the previous version in the case when $X$ is compact, since in that case $C_{0}(X, R)$. There are also more general versions of the Stone–Weierstrass that weaken the assumption of local compactness.

Applications
The Stone–Weierstrass theorem can be used to prove the following two statements, which go beyond Weierstrass's result.
 * If $ε > 0$ is a continuous real-valued function defined on the set $K ⊂ X$ and $|f|  < ε$, then there exists a polynomial function $p$ in two variables such that $X \ K$ for all $x$ in $C_{0}(X, R)$ and $y$ in $C_{0}(X, R)$.
 * If $X$ and $Y$ are two compact Hausdorff spaces and $f$ is a continuous function, then for every $f (x) ≠ 0$ there exist $C_{0}(X, R)$ and continuous functions $C_{0}(X, R)$ on $X$ and continuous functions $C_{0}(X, R) = C(X, R)$ on $Y$ such that $f$.

Stone–Weierstrass theorem, complex version
Slightly more general is the following theorem, where we consider the algebra $$C(X, \Complex)$$ of complex-valued continuous functions on the compact space $$X$$, again with the topology of uniform convergence. This is a C*-algebra with the *-operation given by pointwise complex conjugation.

$$

The complex unital *-algebra generated by $$S$$ consists of all those functions that can be obtained from the elements of $$S$$ by throwing in the constant function $[a, b] × [c, d]$ and adding them, multiplying them, conjugating them, or multiplying them with complex scalars, and repeating finitely many times.

This theorem implies the real version, because if a net of complex-valued functions uniformly approximates a given function, $$f_n\to f$$, then the real parts of those functions uniformly approximate the real part of that function, $$\operatorname{Re}f_n\to\operatorname{Re}f$$, and because for real subsets, $$S\subset C(X,\Reals)\subset C(X,\Complex),$$ taking the real parts of the generated complex unital (selfadjoint) algebra agrees with the generated real unital algebra generated.

As in the real case, an analog of this theorem is true for locally compact Hausdorff spaces.

The following is an application of this complex version.
 * Fourier series: The set of linear combinations of functions $ε > 0$ is dense in $| f (x, y) − p(x, y) | < ε$, where we identify the endpoints of the interval $[a, b]$ to obtain a circle. An important consequence of this is that the $[c, d]$ are an orthonormal basis of the space $f : X × Y → R$ of square-integrable functions on $ε > 0$.

Stone–Weierstrass theorem, quaternion version
Following, consider the algebra $n > 0$ of quaternion-valued continuous functions on the compact space $X$, again with the topology of uniform convergence.

If a quaternion $f_{1}, ...,  f_{n}$ is written in the form $q = a + ib + jc + kd$ Likewise
 * its scalar part $g_{1}, ..., g_{n}$ is the real number $$\frac{q - iqi - jqj - kqk}{4}$$.
 * the scalar part of $\|f − Σ f_{i} g_{i}\| < ε$ is $1$ which is the real number $$\frac{-qi - iq + jqk - kqj}{4}$$.
 * the scalar part of $e_{n}(x) = e^{2πinx}, n ∈ Z$ is $C([0, 1]/{0, 1})$ which is the real number $$\frac{-qj - iqk - jq + kqi}{4}$$.
 * the scalar part of $[0, 1]$ is $e_{n}$ which is the real number $$\frac{-qk + iqj - jqk - kq}{4}$$.

Then we may state: $$

Stone–Weierstrass theorem, C*-algebra version
The space of complex-valued continuous functions on a compact Hausdorff space $$X$$ i.e. $$C(X, \Complex)$$ is the canonical example of a unital commutative C*-algebra $$\mathfrak{A}$$. The space X may be viewed as the space of pure states on $$\mathfrak{A}$$, with the weak-* topology. Following the above cue, a non-commutative extension of the Stone–Weierstrass theorem, which remains unsolved, is as follows:

$$

In 1960, Jim Glimm proved a weaker version of the above conjecture.

$$

Lattice versions
Let $X$ be a compact Hausdorff space. Stone's original proof of the theorem used the idea of lattices in $L^{2}([0, 1])$. A subset $L$ of $[0, 1]$ is called a lattice if for any two elements $C(X, H)$, the functions $q$also belong to $L$. The lattice version of the Stone–Weierstrass theorem states:

$$

The above versions of Stone–Weierstrass can be proven from this version once one realizes that the lattice property can also be formulated using the absolute value $a$ which in turn can be approximated by polynomials in $−qi$. A variant of the theorem applies to linear subspaces of $b$ closed under max:

$$

More precise information is available:


 * Suppose $X$ is a compact Hausdorff space with at least two points and $L$ is a lattice in $−qj$. The function $c$ belongs to the closure of $L$ if and only if for each pair of distinct points x and y in $X$ and for each $−qk$ there exists some $d$ for which $C(X, H)$ and $C(X, H)$.

Bishop's theorem
Another generalization of the Stone–Weierstrass theorem is due to Errett Bishop. Bishop's theorem is as follows:

$$

gives a short proof of Bishop's theorem using the Krein–Milman theorem in an essential way, as well as the Hahn–Banach theorem: the process of. See also.

Nachbin's theorem
Nachbin's theorem gives an analog for Stone–Weierstrass theorem for algebras of complex valued smooth functions on a smooth manifold. Nachbin's theorem is as follows:

$$

Editorial history
In 1885 it was also published in an English version of the paper whose title was On the possibility of giving an analytic representation to an arbitrary function of real variable. According to the mathematician Yamilet Quintana, Weierstrass "suspected that any analytic functions could be represented by power series".

Historical works
The historical publication of Weierstrass (in German language) is freely available from the digital online archive of the Berlin Brandenburgische Akademie der Wissenschaften:


 * K. Weierstrass (1885). Über die analytische Darstellbarkeit sogenannter willkürlicher Functionen einer reellen Veränderlichen. Sitzungsberichte der Königlich Preußischen Akademie der Wissenschaften zu Berlin, 1885 (II). Erste Mitteilung (part 1) pp. 633–639, Zweite Mitteilung (part 2) pp. 789–805.