IAE Academy

GATE 2025 CS2 Q.65: solution and answer

GATE 2025 · CS2Q.65 · 2 marks · NAT

The unit interval is divided at a point chosen uniformly distributed over in into two disjoint subintervals.

The expected length of the subinterval that contains is ___________. (rounded off to two decimal places)

See the question in the paper

Answer and solution

ANSWER

The expected length of the subinterval containing is .

Official answer: 0.70 to 0.80Source: Official answer key, GATE 2025 CS2 (IIT Roorkee)

  1. Let the cut point be with density on . The two pieces are and .

  2. If , the point lies in , so the length is .

  3. If , the point lies in , so the length is .

  4. Split the expectation at :

  5. First integral: .

  6. Second integral: .

  7. Add the two parts: . As a check, for a general point the result is , which at gives .

KEY IDEA

The length of the piece containing a fixed point depends on which side of that point the random cut falls. Split the expectation at the point and integrate each case. In general the answer is .

WATCH OUT FOR

Taking the expected length of a randomly chosen piece, which is . The piece containing a fixed point is length-biased toward the longer piece, so its expected length is larger than .

From the GATE 2025 CS2 paper. Every question of this paper · Download the full paper · All 60 Probability & statistics questions, with notes

More Probability & statistics questions