Suppose that $\int_0^1 x^nf(x)=0$ for all nonnegative integers $n$, where $f$ is a Lebesgue measurable function that is bounded. How do you prove that $f(x)=0$ a.e. on $[0,1]$.
I've seen this problem before, except with the condition that $f$ is continuous. In this case, we can use the Weierstrauss Approximation Theorem to approximate $f$. But in this problem we are not given that $f$ is continuous. How to proceed without assuming $f$ is continuous?