I saw demonstrations using the Cauchy-Schwarz Inequality but I am still not convinced because the Inequality is as follows :
$$ \left |\langle f,g\rangle\right | \leq \left \|f \right \|_{L_2} . \left \|g \right \|_{L_2} $$
And if we consider f to be L2 and if we take g = 1 we have : $$ \left | \int_{0}^{t_f}f(t)dt\right | \leq \left \|f \right \|_{L_2} . \left \|1 \right \|_{L_2} $$
I feel confused because we have : $$ \left | \int_{0}^{t_f}f(t)dt\right | \leq \int_{0}^{t_f} |f(t)|dt $$
And thus we have no comparison relationship between $$\int_{0}^{t_f} |f(t)|dt$$ and $$\left \|f \right \|_{L_2}$$ which is supposed to be finite.
Try applying Cauchy-Schwarz to $|f|$ and $1$.