Distribution of sup of uniform random variables

probability

Let $(\lambda_i)_{i=1}^n$ be a colloction of iid random variables and $\lambda_i$ is uniform on $[-1,1]$. What is the distribution of $\rho$, where $\rho=\text{sup}_{i}(|\lambda_{i}|)$? And how to calculate $\mathbb {P}(\rho<1)$? I use matlab to plot this distribution, it looks like a flip of the exponential distribution. But I don't know how to get the exact density function.

Best Answer

$P\{\rho \leq a\}=(P\{|\lambda_1| \leq a\})^{n} =a^{n}$for $0 \leq a \leq 1$. The density function is $ n a^{n-1}$ for $0<a<1$.