Let $g$ be a differentiable, continuous function $[0,1]$ and $a≤g'(x)≤b$ for all $x\in [0,1]$
Then prove that :
$$\frac{b^2}{12}≥\int_0^{1}g^{2}(x)dx-\left(\int_0^{1}g(x)dx\right)^{2}≥\frac{a^2}{12}$$
I'm trying using Hölder ? But I don't know how.
I don't have any ideas to prove this inequality ?
I think this is related with measure theory.
If any one have idea please tell me.