Determining if the span of a set is dense in $L^2(0,1)$

871 Views Asked by At

I am trying to determine whether or not the following statement is true:

If $f \in L^2(0,1)$ and $\int_0^1 x^nf(x) = 0$ for all positive integers $n$. Then $f(x) = 0$

I have already verified this when $L^2(0,1)$ is replaced with $C[0,1]$ and I believe that it continues to hold in this case.

My thought as far as $L^2(0,1)$ goes is to treat it as a Hilbert space. (Maybe this is the wrong approach?) We can rephrase in terms of inner products:

If $f \in L^2(0,1)$ and $<f,x^n> = 0$ for all positive integers $n$, then $f(x)=0$

Let $S = \{x^n\}_{n=1}^{\infty}$. Then we can rephrase the statement:

If $f \in L^2(0,1)$ and $f \in S^\perp$, then $f=0$

Equivalently $S^\perp = \{0\}$

Equivalently span($S$) is dense in $L^2(0,1)$

Now it seems very likely that this is in fact true since the span of $S$ is almost the set of all polynomials. The only polynomials not included in the span of $S$ would be the nonzero constant polynomials. So it would seem that we have the following sequence of dense sets (I have not verified all of these so let me know if I am wrong). Span of $S$ is dense in the polynomials on $(0,1)$ which are dense in $C(0,1)$ by Weierstrass's Theorem which is dense in $L^2(0,1)$. And thus if all of these inclusions are true then the span of $S$ is dense in $L^2(0,1)$.

So I would appreciate help in proving this sequence of dense subsets or if you can provide a counterexample that will be helpful also. Or a suggestion on another more direct way to approach the question would be nice.

Thanks in advance!

2

There are 2 best solutions below

0
On

Hint: use the fact that uniform convergence implies $L^2$ convergence on $(0,1)$

0
On

There would be no question if $\int_{0}^{1}x^{n}f(x)\,dx=0$ also held, because of the fact that the polynomials are dense in $L^{2}[0,1]$. So, suppose the integrals are $0$ for $n \ge 1$, and that $\int_{0}^{1}f(x)\,dx = \alpha$. Then, by a power series argument, $$ \int_{0}^{1}f(x)e^{2\pi i nx}\,dx = \alpha,\;\;\; n=0,\pm 1,\pm 2,\pm 3,\cdots . $$ Can you see anything wrong if $\alpha \ne 0$?