Consider a differentiable function satisfying $$\int_{0}^{1} f(x)(x-f(x))dx=1/12$$ Then find the nearest integer less than or equal to $\frac{1}{f'(1)}$.
Let $$F(x)=\int_{0}^{x}f(x)(x-f(x))$$ we notice $F(1)=1/12$ , $F(0)=0$ and $$F'(1)=f(1)-{f(1)}^2$$ What do i do next? I have tried using LMVT and Rolle's but not getting anything nice.
We can manipulate $$\int_{0}^{1} (4xf(x)-4f^2(x)) \, dx=1/3$$
$$\int_{0}^{1} (4xf(x)-4f^2(x)-x^2) \, dx=1/3 - \int_0^1 x^2 dx$$
$$\int_{0}^{1} (2f(x)-x)^2 \, dx=0 $$
$$\Rightarrow f(x)=x/2 $$