I am studying for the quals in January and am working through the following problem:
Let $f:[0,1] \to [0,1]$ be a continuous function with the property that $\displaystyle\int_0^1 f(x)x^n \, \textrm{d}x = \dfrac{1}{n+2}$. Show that $f(x)\equiv x$.
I was thinking to do integration by parts, but this does not seem to yield anything. Any suggestions would be much appreciated!