Let $X,Y$ be independent normally distributed random variables. Find the density of $\frac{X^2}{Y^2+X^2}$
If $X,Y$ are independent $\chi ^2$ with $m$ and $n$ degrees of freedom, then $\frac{X}{X+Y} \sim\beta(m/2, n/2)$