[Math] Density of continuosly differentiable function in space of continuous functions

functional-analysisreal-analysis

Let $C([0,1])$ be the set of all real continuous functions with the standard supremum norm. Let $C^1([0,1])$ be the set of all real continuosly differentiable functions on $(0,1)$ such that the derivative can be continuously extended to $[0,1]$.

Is $C^1([0,1])$ a dense subset of $C([0,1])$?

Best Answer

Yes. Although this might be overkill, this follows from Weierstrass' approximation theorem, because $\mathbb{P}([0,1])$ is a subset of $C^1([0,1])$. Here $\mathbb{P}([0,1])$ is the space of all polynomials on $[0,1]$.