Let $X_1,...,X_n$ be iid as $U \sim [0,1]$ with pdf $f(x) = 1(0 <x< 1)$. Determine the range distribution.
I have managed to determine the distribution of the minimum and the maximum, however I cannot/do not know how to determine the distribution of range.
Minimum: $f_N = n(1-x)^{n-1}$ and maximum $f_M= nx^{n-1}$
I am aware that the calculation of range distribution is based on convolution: $f_R=\int f_{N,M}(x,x-r)dx$, However I cannot get the correct result, which according to my lecture slides is : $f_R= n(n-1)r^{n-2}(1-r)$
Could someone break this down for me ? My math background is not great