Let $f\colon[-1,1]\to\mathbb{R}$ be a continuous function. Prove that $$ 2\int_{-1}^{1}f(x)^2\: dx - \left(\int_{-1}^{1}f(x)\: dx\right)^2 \ge 3\,\left(\,\int\limits_{-1}^{1}x\,f(x)\: dx\right)^2 $$
I found something similar:
Integral Inequality $\int\limits_0^1f^2(x)dx\geq12\left( \int\limits_0^1xf(x)dx\right)^2.$
but don't know if estimation of that sort can be applied here.
Let $\displaystyle\;\bar{f} = \frac12\int_{-1}^1 f(x) dx\;$ and $g(x) = f(x) - \bar{f}$. It is easy to check $$\int_{-1}^1 g(x) dx = 0 \quad\text{ and }\quad \int_{-1}^1 x g(x) dx = \int_{-1}^1 xf(x) dx $$ The LHS of inequality at hand can be rewritten as $$\verb/LHS/ = 2\int_{-1}^1 (g(x) + \bar{f})^2 dx - 4\bar{f}^2 = 2\int_{-1}^1 g(x)^2 dx = 3\left(\int_{-1}^1 x^2 dx\right)\left(\int_{-1}^1 g(x)^2 dx\right) $$ Apply Cauchy Schwarz to $x$ and $g(x)$ over $[-1,1]$, we find
$$\verb/LHS/ \ge 3 \left(\int_{-1}^1 xg(x)\right)^2 = 3 \left(\int_{-1}^1 xf(x) dx\right)^2 = \verb/RHS/ $$