I have a question about the following problem from Introduction to Probability.
Problem
Let $U_1, U_2, U_3$ be i.i.d. $\text{Unif}(0, 1)$, and let $L = \min(U_1, U_2, U_3)$, $M =\max(U_1, U_2, U_3)$. (a) Find the marginal CDF and marginal PDF of $M$, and the joint CDF and joint PDF of $L, M$. Hint: for the latter, start by considering $P(L<l,M>m)$.
Attempt at a Solution
Following the hint,
$$P(L<l,M>m) = (1-m)(l)(1)$$
because at least one of the random variables must exceed $m$, which occurs with probability $1-m$, at least one must be less than $l$, which occurs with probability $l$, and the remaining random variable can have any value.
$$P(L>l,M>m) = (1-m)(1-l)(1)$$
because at least one of the random variables must exceed $m$ and of the remaining two at least one must exceed $l$.
Similarly, $$P(L>l,M<m) = (m-l)^3$$ since all the random variables must be between $l$ and $m$.
If these approaches are analogous, why is the expression for $P(L>l,M<m)$ correct but those for $P(L<l,M>m)$ and $P(L>l,M>m)$ incorrect?
I also tried other unsuccessful approaches, for example,
$$P(L>l,M>m) = (1-m)(1-l^2)(1)$$
because at least one of the random variables must exceed $m$ and of the remaining two at least one must exceed $l$ and
$$P(\text{ both of the remaining two RVs }<l) = l^2. $$
so
$$P(\text{ at least one of the remaining two RVs }>l) =1-l^2. $$
NB: assuming that $0<\ell<m<1$.
You have to count distinct arrangements of the samples.
So among the three samples you need to measure probabilities that:
$\begin{align}{\mathsf P(L<\ell, M>m)}&={\tbinom 32 \ell^2(1-m)+3! \ell(m-\ell)(1-m)+\tbinom 32 \ell(1-m)^2}\\[1ex]&=3\,\ell\,(1-m)\,(\ell+2(m-\ell)+(1-m))\\[1ex]&=3\,\ell\,(1-m)\,(1+m-\ell)\end{align}$
For the joint pdf, I would suggest adjusting your argument to say "$\{L=\ell,M=m\}$ is any outcome where: the samples are arranged ($3!$ ways) with the least at $\ell$, the greatest at $m$, and the middle anywhere between those two.".
$$\begin{align}f_{\small L,M}(\ell,m)&= 3! f(\ell)\,(F(m)-F(\ell))\,f(m)\\[1ex]&=6 (m-\ell) \end{align}$$
So by integration we also get...
$$\begin{align}\mathsf P(L<\ell,M>m)&=\int_0^\ell\int_m^1 6\,(y-x)\,\mathrm d y\,\mathrm d x\\[1ex]&= \int_0^\ell 3\,(1^2-m^2)-6\,x\,(1-m)\,\mathrm d x\\&=3\,\ell\,(1-m^2)-3\,\ell^2\,(1-m)\\&=3\,\ell\,(1-m)\,(1+m-\ell) \end{align}$$