Let $f: [0,1] \to \mathbb{R}$ be continuously differentiable with $f(0)=0$. Prove that $$\Vert f \Vert^{2} = \int_{0}^{1} (f'(x))^{2}dx$$
Here $\Vert f \Vert$ is given by $\sup\{|f(t)|: t \in [0,1]\}$.
I see how to prove that $(\int_{0}^{1} (f'(x))^{2}dx)^{1/2}$ is an upper bound for $f(t)$, where $t \in [0,1]$, from this question.
However, I am not sure how to prove this is the least upper bound.