About a continuous function satisfying a given integral equation

95 Views Asked by At

Question: Let $f(x):[0,2] \to \mathbb{R}$ be a continuous function, satisfying the equation $$ \int_{0}^{2} f(x)(x-f(x)) \,dx = \frac{2}{3}. $$ Find $2f(1)$.

The solution took $f(x)=\frac {x}{2}$. Yes, I know it does not contradict the condition but how can we be sure that $f(x)=\frac{x}{2}$ and not any other function?

2

There are 2 best solutions below

3
On BEST ANSWER

Note that $h(x):=f(x)-x/2$ is a continuous function in $[0,2]$ such that $$\int_0^2h(x)^2\,dx=-\int_{0}^{2} f(x)(x-f(x)) dx+\int_{0}^{2}x^2/4dx=-\frac{2}{3}+\frac{[x^3/3]_0^2}{4}=0.$$ What may we conclude?

0
On

By A.M-G.M inequality we have $$f(x)(x-f(x))\leq \Big({f(x)+x-f(x)\over 2}\Big)^2 = {x^2\over 4}$$ so we always have $$ \int_{0}^{2} f(x)(x-f(x)) \,dx \leq \int_{0}^{2} {x^2\over 4} \,dx=\frac{2}{3}. $$ Since we have equality we have $f(x)=x-f(x)$ for each $x$ and we are done (remember that we have equality in A.M-G.M iff numbers are equal).