Question
Suppose you break a stick of unit length at a point chosen uniformly at random. Then the expected length of the shorter stick is ________ .
Official answer and solution
- Accepted answers
- 0.24 to 0.27
- From
- Official GATE 2014 answer key
Solution
Model the break point as a continuous uniform random variable on and compute the expected value of the minimum of the two pieces.
Let the stick have length 1, and let the break point be chosen uniformly at random from , so the probability density function is for .
The stick is broken into two pieces of lengths and .
The length of the shorter piece is:
Notice that:
- If , then .
- If , then .
By symmetry about :
Thus, the expected length of the shorter stick is .
0.25
Integrating over the full interval without accounting for the piecewise definition of the minimum.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2014 Computer Science and Information Technology (CS) Session 1
- Question
- 12 of 65, printed as CS Q.2
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.