Canonical: https://knowlpedia.com/real-analysis/space-of-continuous-functions/

# Space of continuous functions

The set of all real-valued continuous functions on a given topological space.

The **space of continuous functions** on a [topological space](https://knowlpedia.com/topology/topological-space/) \(X\) is
\[
C(X)=\{f:X\to\mathbb{R} \mid f \text{ is continuous}\},
\]
where continuity is in the sense of a [continuous map](https://knowlpedia.com/topology/continuous-map/). It is naturally a [vector space](https://knowlpedia.com/linear-algebra/vector-space/) under pointwise addition and scalar multiplication.

## Remarks

On domains where continuous functions are bounded (for example, on a compact interval), \(C(X)\) can be equipped with the [supremum norm](https://knowlpedia.com/real-analysis/supremum-norm/) and the associated [uniform metric](https://knowlpedia.com/real-analysis/uniform-metric/), linking function-space topology to [uniform convergence](https://knowlpedia.com/real-analysis/uniform-convergence/). Theorems such as [Arzelà–Ascoli](https://knowlpedia.com/real-analysis/arzela-ascoli-theorem/) and [Stone–Weierstrass](https://knowlpedia.com/real-analysis/stone-weierstrass-theorem/) are statements about subsets of \(C(X)\).

## Examples

- On \([0,1]\), every [polynomial](https://knowlpedia.com/real-analysis/polynomial/) function belongs to \(C([0,1])\).
- On \([-1,1]\), the function \(f(x)=|x|\) belongs to \(C([-1,1])\).
