Let $U_1, U_2, U_3$ be independent random variables that are each distributed uniformly in $(0,1)$. What is the probability that the second highest value among them lies between $\frac{1}{3}$ and $\frac{2}{3}$.
Could someone help me solve this? Let X be the second highest of U1, U2, U3
I did some research and found the pdf of second order statistic amongst n uniformly distributing random vairables and it is
$f_{X(2)}(x) = \frac{n!}{(j-1)!(n-j)!}x^{j-1}(1-x)^{n-j} = 6x(1-x)$ when n = 3 and j = 2
Let events $A,B,C$ be defined as follows
Our goal is to evaluate $P(C)$.
Noting that $C=A\cap B$, we get $$P(C)=P(A\cap B) = P(A)+P(B) - P(A\cup B)$$ Applying the binomial probability formula, we get $$P(A)=P(B) = {\small{\binom{3}{2}}}\left({\small{\frac{2}{3}}}\right)^2\left({\small{\frac{1}{3}}}\right)^1 + {\small{\binom{3}{3}}}\left({\small{\frac{2}{3}}}\right)^3\left({\small{\frac{1}{3}}}\right)^0 ={\small{\frac{20}{27}}}$$ Logically, at least one of the events $A,B$ must occur, hence $P(A\cup B)=1$, so $$P(C)={\small{\frac{20}{27}}}+{\small{\frac{20}{27}}}-1={\small{\frac{13}{27}}}$$