Skip to main content
1 of 5

Not a complete answer but too long for a comment:

Let $$F:]0,1[\times]0,1[\to]0,1[\times]0,1[, (x,y)\mapsto \left(x,\frac{x}{x+y}\right).$$

Note that $F$ is a diffeomorphism with inverse

$$F^{-1}(a,b)=\left(a, \frac{a\cdot(1-b)}b\right).$$

So, where $\operatorname{Jac}$ denotes the Jacobian determinant,

$$|(\operatorname{Jac}F^{-1})(a,b)|=\frac{a}{b^2}.$$

Use the following result from probability Theory (here, $f_Z$ denotes the density of the random vector $Z$):

$$f_{F\circ(X,Y)}(a,b)=f_{(X,Y)}(F^{-1}(a,b))\cdot|(\operatorname{Jac}F^{-1})(a,b)|\cdot1_{\operatorname{Im}(F)}(a,b).$$

In our case, $$f_{(A,B)}(a,b)=f_{(X,Y)}\left(a,\frac{a\cdot(1-b)}b\right)\cdot\frac{a}{b^2}\cdot 1_{]0,1[\times]0,1[}(a,b).$$

Note that, since $X$ and $Y$ are independent, the joint density is obtained simply as a product of the individual densities of a Beta distribution. Say $X\sim \operatorname{Beta}(\alpha,\beta)$ and $Y\sim\operatorname{Beta}(\alpha,\beta)$. Let $$const.=\operatorname{Bet}(\alpha,\beta)\cdot \operatorname{Bet}(\gamma, \delta),$$ where $\operatorname{Bet}$ is the Beta function.

Then

\begin{split} f_{\frac{X}{X+Y}}(b)&=\int_\mathbb R f_{(A,B)}(a,b)\,\mathrm da\\ &=1_{]0,1[}(b)\cdot\frac1{const.}\cdot b^{\gamma-3}\cdot (1-b)^{\delta-1}\cdot\int_0^1 a^\alpha\cdot(1-a)^{\beta-1}\cdot\left(1+\frac{a\cdot(b-1)}b\right)^{\delta-1}\,\mathrm da. \end{split}