Uniform ratio of independent exponential variables (source code)

= Uniform ratio of independent exponential variables

If $A$ and $B$ are independent exponential variables with the same rate, then $A/(A+B)$ is uniform on $(0,1)$ and is independent of $A+B$.