I'm working on a following problem:
Let $X$ be a positive random variable with CDF $F(x)$ and $\textbf{E}X^{\alpha} < \infty$ for some $\alpha > 0$. Prove that $$\textbf{E}X^{\alpha}=\alpha \int_{0}^{\infty}x^{\alpha-1}(1-F(x))dx$$
So far I got to the point where I want to use integration by parts formula: $$(\phi(x)F(x))'=\phi'(x)F(x)+\phi(x)F'(x)=\phi'(x)F(x)+\phi(x)f(x)$$ where $\phi(x)=x^{\alpha}$ and $f$ is a PDF of $X$. Now by rearranging and integrating I get: $$\phi(x)f(x)=(\phi(x)F(x))'-\phi'(x)F(x)$$ and $$\int_{0}^{\infty}\phi(x)f(x)dx=\int_{0}^{\infty}(\phi(x)F(x))'dx-\int_{0}^{\infty}\phi'(x)F(x)dx$$ so $$\textbf{E}X^{\alpha}=\int_{0}^{\infty}(\phi(x)F(x))'dx-\int_{0}^{\infty}\phi'(x)F(x)dx=\int_{0}^{\infty}(\phi(x)F(x))'dx-\alpha\int_{0}^{\infty} x^{\alpha-1}F(x)dx$$ and finally: $$\textbf{E}X^{\alpha}=[\ \phi(x)F(x) ]\_0^\infty -\alpha\int_{0}^{\infty} x^{\alpha-1}F(x)dx$$ Using integration by parts is even hinted at in the solutions part but without actual derivation and apparently it would imply that $[\ \phi(x)F(x) ]\_0^\infty = \int_{0}^{\infty}\phi'(x)dx$ which I struggle to see.
I'm looking for an extra hint to either see this equality or how this problem can be approached in another way. Thanks!