Having X~Uniform(0,1), Y~Uniform(0,1) independent what's the pdf of r = |X - Y|. If I want plot f(r=|X - Y|) against X, what should I do?
about the plot, at first I thought of doing, $r^2 = (x - y)^2$, and call $y=\rho$, but it did not work.
Having X~Uniform(0,1), Y~Uniform(0,1) independent what's the pdf of r = |X - Y|. If I want plot f(r=|X - Y|) against X, what should I do?
about the plot, at first I thought of doing, $r^2 = (x - y)^2$, and call $y=\rho$, but it did not work.