I come across this exercise to use the closed graph theorem, if anyone can give and idea about it, thanks
Let $M$ be a closed subspace of $L^2([0,1])$ that is included on $C([0,1])$(with the supremum norm $\|.\|$) I have to show that exist a constant $C$ such that $$\|f\|\leq C\|f\|_2$$ for all $f\in M$.
Edit: Thanks for the answer, now i get other part of the problem, I have to prove that
$$\dim(M)\leq C^2.$$
And I have no idea how... So if you guys can help me with that too.
Define $\iota\colon (M,\lVert \cdot\rVert_2)\to (C[0,1],\lVert\cdot\rVert_\infty)$ by $\iota(f)=f$. We have to show that $\iota$ is continuous.
Since $M$ and $C[0,1]$ endowed with their respective norms are complete, we have to show that if $\lVert f_n-f\rVert_2\to 0$ and $\lVert f_n-g\rVert_\infty=0$ then $f=g$. To see this, notice that $f_n\to g$ a.e. and $$\int |g-f|=\int\liminf_n|f_n-f|\leqslant \liminf_n\int|f_n-f|=0,$$ hence $f=g$ a.e.
For the dimension problem, assume that $f_1,\dots,f_{N+1}$ are linearly independent elements of $M$. Then using the orthogonalization process we can assume that this is an orthonormal family (for the usual inner product of $L^2$). We thus have for each $(c_1,\dots,c_{N+1})$ in the unit ball of $\mathbf R^n$ and $x\in [0,1]$ that $$\left|\sum_{j=1}^{N+1}c_jf_j(x)\right|\leqslant C.$$ Choosing $c_j(x):= f_j(x)/\sqrt{\sum_{l=1}^{N+1}f_l(x)^2}$, we obtain $N+1\leqslant C^2$.