Difference of two independent uniform random variables
ID: difference-of-two-independent-uniform-random-variables
If are independent random variables, each with the uniform distribution on for , then has the symmetric triangular distributionThe convolution of probability densities gives . The overlap of these two intervals has length for and is empty otherwise, proving the formula. By linearity of expectation and the variance of a sum,For , its upper-tail probability is .
A useful model for elapsed time measured from two independently truncated clock readings uses as the display resolution and as the endpoint-offset difference. Independence is essential: uniform marginal probability distributions alone do not imply this triangular distribution. For example gives with certainty. In general, with the same uniform marginals, .
New to topics? Read the docs here!