Suppose that $f$ is continuous on $[0,1]$. If $$ \int_0^1 e^{- \frac{nx}{1-x}} f(x) \; dx =0 $$ for $n \geq 0$, show that $f(x)=0$ on $[0,1]$.
I am unsure what I should be hoping to do to show this. I know $e^{-nx/(1-x)}$ converges pointwise to 0 on $[0,1]$. But this does not help - so I think. In the case where $n=0$, we have $\int_0^1 f(x) \; dx=0$. But this shows $f(x)=0$ only where $f(x)$ is nonnegative or nonpositive. Stone-Weierstrass only seems to complicate the matter.
What should I start thinking about to solve this problems?
Here's an easy way to apply stone wierstrauss.
Based on the idea in the comments by @Thomas, let $g(x) = e^{-x/(1-x)}$. Then for any polynomial $p$, we have $$ 0= \int_0^1 f(x) p(g(x)) $$
If $p=f\circ g^{-1}$, then we're done. But that may not be a polynomial. So let's approximate with polynomials and see what happens.
First we need an inverse for $g$. It turns out $$ \frac{\log(x)}{\log(x) -1} $$ does the trick. You can check that it's continuous, and is the inverse of $g$.
Next, note that $h = f\circ g^{-1}$ is continuous, so pick a sequence of polynomials, $p_n$ which converge uniformly to $h$ by stone-wierstrauss.
Now we use the full power of stone-wierstrauss. Because the limit converges uniformly, we can commute limits. That is,
$$ \lim_n \int_0^1f(x) p_n(g(x))dx= \int_0^1\lim_nf(x) p_n(g(x))dx $$
So now all that's left to do it put it together. We know $$ \lim_n \int_0^1f(x) p_n(g(x))dx = 0$$ by the first paragraph. Also, $$ \int_0^1\lim_nf(x) p_n(g(x))dx = \int_0^1 f(x)f(x)dx = \int_0^1 f(x)^2 $$
So $\int_0^1 f(x)^2=0$. And the integral of a non-negative function equals $0$ implies that function was 0. So $f = 0$.