$(X_n)$ sequence of iid random variables with uniform distribution $U([0,1])$.
$m=\min(X_1,...X_n), M=\max(X_1,...X_n)$.
I want to find $f_{m,M}(s,t)$.
$$ \begin{split} P(m<s,M<t) &= P(m<s)P(M<t)1_{m\ne M}+P(X_1<\min(s,t))1_{m=M} \\ &= (1-(1-s))^nt^n1_{m \ne M}+\min(s,t)1_{m=M} \\ &=((st)^n+s)1_{s<t}+((st)^n+t)1_{s \ge t} \end{split} $$
When I differentiate it, I get $f_{m,M}(s,t)=n^2t^{n-1}s^{n-1}$.
Is this okay? And does it mean that $M$ and $m$ are independent and $f_{m,M}(s,t)=f_m(s)f_M(t)$?