The problem is following:
- Suppose we have a line segment with a length $L$ and we randomly choose (with uniform distribution) $n$ points on this segment, so we divide the main line segment into $n+1$ sub-segments.
- Now we define a random variable which describes length of one of this sub-segment and we want to find it's distribution.
- My approach to this problem was to firstly construct a random variable $X_i$ which realisations are points on a line segment, we know that it has uniform distribution:
$$ \rho_{X_i}(x) = 1/L,\;\; \text{if}\;\; 0\leq x\leq L\;\;\text{and}\;\; \rho_{X_i} = 0\;\;\text{elsewhere.} $$
- Then we define a random variable $$ D_{i} = X_i - X_{i-1}\quad\mbox{with conditions that}\quad X_0 = 0,\ X_{n+1} = L $$ So we want to find distribution of a random variable $D_i$.
- After short inspection of “Convolution of Probability”, I found out that distribution of SUM of the independent random variables is a convolution of distributions, but I don't know what is a formula for a difference.
- My first guess was that it is a convolution but with a plus sign: $\int dy \rho (x+y)\rho (y)$ (which in a case of uniform distributions doesn't change anything), but the result is wrong - convolution of two constant functions is a constant function - and I expect something different (maybe an exponential distribution, idk).
I will be thankful for any advice.