Let ${X_1},...,{X_n}$ a random sample from the probability distribution with pdf $f(x) = \theta {x^{\theta - 1}}$, $0 < x < 1$ where $\theta > 0$
I've found the method of moments estimator for $\theta$ to be : ${\hat \theta _{mom}} = \frac{{\overline X }}{{1 - \overline X }}$
Next, I'm asked to show that ${\hat \theta _{mom}}$ is biased if $n=1$ and $\theta=1$. I'm struggling to understand the solution provided, which follows: If $n=1$ and $\theta=1$ then $f(x)=1$ and $X_1=\overline X$
$$E[{\hat \theta _{mom}}] = E\left[ {\frac{{{X_1}}}{{{X_1} + 1}}} \right] = 1 - E\left[ {\frac{1}{{{X_1} + 1}}} \right] = 1 - \int\limits_0^1 {\frac{1}{{1 - x}}dx = - \infty \ne \theta }$$
I understand why a result of $- \infty $ not being equal to theta proves it is biased, however I don't understand how the expectations and the integral have been formulated.
If ${\hat \theta _{mom}} = \frac{{\overline X }}{{1 - \overline X }}$ then why is $E[{\hat \theta _{mom}}]$ not equivalent with $E\left[ {\frac{{{X_1}}}{{1 - {X_1}}}} \right]$? And how is the expectation equivalent with the integral?
I hope somebody can shed some light on what it is that I'm missing here.
There are 2 typos in the solution from your question.
$\theta_{mom} \ne {\frac{{{X_1}}}{{{X_1} + 1}}} $ because $\theta_{mom} = \frac{X_1}{1-X_1}$.
And if we will work with $\theta^* = {\frac{{{X_1}}}{{{X_1} + 1}}} $, then instead of
$$E \theta^* = E\left[ {\frac{{{X_1}}}{{{X_1} + 1}}} \right] = 1 - E\left[ {\frac{1}{{{X_1} + 1}}} \right] = 1 - \int\limits_0^1 {\frac{1}{{1 - x}}dx }$$ we should have $$1 - \int\limits_0^1 {\frac{1}{{1 + x}}dx}$$