A stick of length $1$ is broken into two pieces of length $Y$ and $1−Y$ respectively, where $Y$ is uniformly distributed on $[0,1]$. Let $R$ be the ratio of the length of the shorter to the length of the longer piece.
Find the PDF $f_R(r)$ of $R$. Hint: What is the PDF of the length of the smaller piece? For $0<r<1$, For $f_R(r)$
I have $f_R(r)= {2\over(r+1)^2}$ or is the answer $f_R(r)= {1\over(r+1)^2}$
Also, $E[R]= ln(4)$ or is the answer, $E[R]= ln(2)−0.5$