Suppose $f:\mathbb{R}\to\mathbb{R}$ is a continuous function. If for any bounded interval $[a,b]\subset\mathbb{R}$ we have $$\Bigg|\int^b_af(x) dx \Bigg|\le(b-a)^2$$ Prove that $f(x)=0$ for all $x \in \mathbb{R}$.
I've been looking at this statement for a few hours. It seems very simple but I can't really see a good place to start. Can someone point me in the right direction?
Hint: Consider the function \begin{align} F_a(x) = \int^x_a f(t)\ dt \end{align} then we see that $F_a(a) = 0$ and \begin{align} |F_a(x)-F_a(a)| \le (x-a)^2. \end{align} Now see what you can say about $f(a)$.
Remark: Under the suggestion of @zipirovich, I made some modification to the hint. The solution will be in the comments.