[Math] Cdf and Pdf of independent random variables(iid)

independenceprobabilityprobability distributionsuniform distribution

Let $X_1, X_2,…,X_n$ be independent random variables, each having a uniform distribution over $(0,1)$. Let $Z:=\min(X_1, X_2,…,X_n)$ and $Y:=\max(X_1, X_2,…,X_n)$. I need to find the cdf and pdf of $Y$ and $Z$.

Cdf of $Y$ is $$F_Y(x)=P(Y<x)=P(\max(X_1,X_2,\ldots X_n)<x)=P(X_1<x,X_2<x,…X_n<x)=P(X_1<x)P(X_2<x)\ldots P(X_n<x)=a\cdot a \cdot a\cdot\ldots\cdot a=a^n.$$
Then $f_Y(x)=F'_Y(x)=na^{n-1}$.

Cdf of $Z$ is $$F_Z(x)=P(Z<x)=P(\min(X_1,X_2,\ldots X_n)>z)= P(X_1>x,X_2>x,…X_n>x)=P(X_1>x)P(X_2>x)\ldots P(X_n>x)=1-a\cdot 1-a \cdot 1-a\cdot\ldots\cdot 1-a=[1-a]^n.$$
Then $f_Z(x)=F'_Z(x)=n[1-a]^{n-1}$.

Best Answer

Start with the CDF of the maximum. Think of the event that the maximum of all of them is smaller than a certain value, $k$, it is the joint event that all are smaller than $k$. You can then use the independence to write the probability as a product and get a nice term.

The computation for the minimum is similar but requires an additional step.