I have this problem:
Let $f(x)$ be continuous on the interval $[0,1] .$ Prove that if $$ \int_{0}^{1} f(x) d x=\int_{0}^{1} x f(x) d x=0 $$ then $f$ has at least two different roots in (0,1)
Is it better to start with parts integration on second one? or triying $$ \int_{0}^{1} f(x) d x=\int_{0}^{1} x f(x) d x=0\Rightarrow \int_{0}^{1} f(x) -x f(x) d x=0 ? $$
If I use mean value Theorem I coul get $$ \int_{0}^{1} (1-x) f(x) d x=(1-\xi)\int_{0}^{1} f(x) d x=0 $$ With $\xi\in[0,1]$
Therefore $$ \int_{0}^{1} f(x) d x=0\qquad or\qquad \xi =1 $$
But doesn't seems to help, I already know $$ \int_{0}^{1} f(x) d x=0 $$ and $\xi=1$ has no further use
So I'm kind of stuck right now
I'll appreciate any help or suggestion
Thanks in advance