I have the following sum and I am struggling to show that the closed form is given by the R.H.S of (1).
$$ \sum^\tau _{j=1} \frac{(1-x)^{j-1}x}{1-(1-x)^\tau}(1-(1-x)^j) = \frac{1-(1-x)^{\tau+1}}{2-x} \tag 1 $$ Any help is appreciated as I am quite lost!
Hint Denote $y:=1-x$. Then you need to show
$$\sum^\tau _{j=1} \frac{y^{j-1}(1-y)}{1-y^\tau}(1-y^j) = \frac{1-y^{\tau+1}}{1+y}$$
or equivalently $$\sum^\tau _{j=1} y^{j-1}(1-y^j) = \frac{1-y^{\tau+1}}{1+y}\frac{1-y^{\tau}}{1-y}$$
The LHS splits into two sums of geometric sequences, for which you have closed form.