Let $X$ be the set of real-valued functions $g:\mathbb{R} \to\mathbb{R}$ of class $C^2$, with support in $[-1,1]$, and such that $\int_{-1}^1(g'')^2\le1$.
I am interested in proving that the closure of $X$ in the space of continuous functions on the interval $[-1,1]$ is compact, but I am absolutely stumped on how to proceed. So any help will be very useful.
Thanks in advance.
For any $g\in X$ and $x\in[-1,1]$, by Cauchy-Schwarz, $$|g'(x)|=\left|\int_{-1}^xg''(t)\,dt\right|\le\|1\|_{L^2[-1,1]}=\sqrt2$$ hence $X$ is equicontinuous and every $X(x)\subset\mathbb R$ is bounded (by $2\sqrt2$). The conclusion follows by Arzelà-Ascoli theorem.