GATE CS 2025 Set 2 | Question 65
The unit interval \((0,1)\) is divided at a point chosen uniformly distributed over \((0,1)\) in \(\mathbb{R}\) into two disjoint subintervals.
The expected length of the subinterval that contains 0.4 is ___________. (rounded off to two decimal places)
Explanation
Answer: 0.7 to 0.8
Let the cut be at \(U\), uniform on \((0,1)\). If \(U > 0.4\), the piece containing 0.4 is \((0, U)\), of length \(U\); if \(U < 0.4\), it is \((U, 1)\), of length \(1 - U\).
\[E = \int_{0}^{0.4} (1 - u)\,du + \int_{0.4}^{1} u\,du = (0.4 - 0.08) + \frac{1 - 0.16}{2} = 0.32 + 0.42 = 0.74\]
The result is above 0.5 because a fixed point is more likely to land in the longer of the two pieces.
Answer: 0.74