Stone–Weierstrass theorem

A subalgebra of continuous functions on a compact space that separates points and contains constants is dense in the full algebra.
Stone–Weierstrass theorem

Stone–Weierstrass theorem: Let KK be a compact Hausdorff and let C(K,R)C(K,\mathbb{R}) denote the real-valued continuous functions on KK. Let AC(K,R)A\subseteq C(K,\mathbb{R}) be a that contains the constant functions and of KK. Then AA is dense in C(K,R)C(K,\mathbb{R}) with respect to the : for every fC(K,R)f\in C(K,\mathbb{R}) and every ε>0\varepsilon>0 there exists gAg\in A such that

supxKf(x)g(x)<ε. \sup_{x\in K}|f(x)-g(x)|<\varepsilon.

This theorem explains many uniform approximation results as density statements in the ; for example, the arises from a suitable choice of KK and AA.