Function Spaces
Let be a set. The set of bounded functions those with is a vector space under pointwise addition and scalar multiplication, and the supremum norm of is its largest absolute value.
The supremum norm satisfies the norm axioms, so is a normed vector space with the induced metric and a sequence in converges in this metric if and only if it converges uniformly on Convergence in the supremum norm is therefore also called uniform convergence, and the metric topology it induces is the topology of uniform convergence. Pointwise convergence is not induced by any metric on when is uncountable.
Let be a topological space. The set of continuous functions is a vector space, and if is compact then every continuous function on is bounded, so is a normed vector space under the supremum norm. For a closed bounded interval this space is written When is not compact, the bounded continuous functions are used instead.
The space is complete, since a Cauchy sequence in the supremum norm is a Cauchy sequence at every point and so converges pointwise to a function, which is bounded and is the uniform limit of the sequence. The uniform limit of continuous functions is continuous, so is a closed subset of and is therefore complete. In particular is a Banach space for every compact space and is a Banach space. This is the setting in which the contraction mapping theorem produces solutions of equations whose unknown is a function. The supremum norm on is not induced by an inner product, and with the norm which is induced by the inner product is not complete.
The Weierstrass approximation theorem states that the polynomials are dense in for every continuous and every there is a polynomial with On the Bernstein polynomials of converge uniformly to which proves the theorem constructively.
The approximating polynomials are not Taylor polynomials, and need not be differentiable. Since the polynomials with rational coefficients are countable and dense in the polynomials, has a countable dense subset.
Let be a compact Hausdorff space. A subset is a subalgebra if it is a vector subspace that is closed under pointwise multiplication, and it separates points if for any two distinct points there exists with The Stone–Weierstrass theorem states that a subalgebra of that contains the constant functions and separates points is dense in The polynomials on form such a subalgebra, since separates points, which recovers the Weierstrass approximation theorem; the polynomials in variables are dense in for any compact and the trigonometric polynomials are dense in the continuous functions on with since they separate the points of the unit circle. The theorem holds for complex-valued functions provided that the subalgebra is also closed under complex conjugation.