Given that $\ X $ and $\ Y $ are uniform random variables, independent of each other over the range $\ [0, 1] $, how to find the PDF of Z, where $\ Z = 1 - max(X, Y) $.
I could find the PDF of $\ max(X, Y) $ as $\ 2z $ ->$\ [0, 1] $, and $\ 0 $ otherwise, by the usual way, but no clue how to start this.
One thing I could make out is $\ Z $ exists over the same range of $\ [0, 1] $
Thanks.
$$\mathbb P(Z\geq z)=\mathbb P(\max(X,Y)\leq 1-z)=\mathbb P(X\leq 1-z, Y\leq 1-z)=\mathbb P(X\leq 1-z)\mathbb P(Y\leq 1-z)=\left(\int_0^{1-z}1_{[0,1]}(x)dx\right)^2.$$ Therefore, $$f_Z(z)=\frac{d}{dz}\mathbb P\{Z\leq z\}=2\cdot 1_{[0,1]}(1-z)\int_0^{1-z}1_{[0,1]}(x)dx=2\cdot 1_{[0,1]}(z)\int_0^{1-z}1_{[0,1]}(x)dx=2\cdot 1_{[0,1]}(z)(1-z)$$