Let $f \in L^{2}[0, 1]$ satisfy $\int_{0}^{1} x^{n} f(x) dx = 0$ for each $n = 0, 1, 2, ...$. Show that $f = 0$ a.e.
I know this will involve Holder's Inequality somewhere. So far it's clear that since $x^{n}$ is also in $L^{2}[0, 1]$ for each $n$, we have $0 = \int_{0}^{1} x^{n} f(x) dx \leq ||x^{n}||_{2} ||f||_{2} \leq ||f||_{2}$.
If I could show $||f||_{2} < 1/n$ for each $n$ that would tell me the norm is at most 0, implying $|f|^{2}$ = 0, implying $f$ = 0. How would I go about that?
First note that by Cauchy-Schwartz (or Holder) that $L^2[0,1] \subset L^1[0,1]$. Suppose first that $f$ is continuous. Then for every $\epsilon > 0$, there is a polynomial $p_n(x)$ such that $|f(x) - p_n(x)| < \epsilon$. Then by the criterion, $\int f^2(x) \le \int f(x)(f(x) - p(x)) < \epsilon \int f$. Thus $0 \le \int f^2 = 0$, and $f^2$ must be zero a.e.
Now use the density of continuous functions with compact support in the $L^2$ norm.