A stick is broken at a point, chosen at random, along its length. Find the probability that the ratio, $R$, of the length of the shorter piece to the length of the longer piece is less than $r$. Find the probability density function for $R$, and calculate the mean and variance of $R$.