All $X_1,X_2,X_3$ are independent and uniformly distributed on $[0,1]$. Find the probability of $X_2$ lying between $X_1$ and $X_3$
Is the following method correct? Find the $P(X_1<X_2<X_3) + P(X_3<X_2<X_1)$
Find $P(X_1<X_2<X_3)$
Fix $X_2$. Denote the point on $[0,1]$ as $x_2$. The probability of $P(X_1<X_2)$ is $x_2-0$ and the $P(X_2<X_3)=1-x_2$
$P(X_1<X_2<X_3)=(1-x_2)(x_2)$