The following question is taken from Mark Joshi's Quant Job Interview.
Question: Let $x,y$ be uniformly distributed on $[0,1]$ and separate the unit interval $[0,1]$ into $3$ pieces. What is the probability of forming a triangle using the $3$ segments if the second point is chosen to break the longer segment left after the first point has been chosen?
This is a modified version of the well-known broken stick problem. The original problem does not have restriction on point to break the longer segment. For that problem, the answer is $\frac{1}{4}$ by merely checking triangle inequality.
However, in this modified question, I have no idea how to start at all.
Any hint is appreciated.
Let's go in the geometric way.
case a) - classic - breakings independent
The two breaking points , $x$ and $y$, are each uniformly and independently distributed on $[0,1]$.
That it is the same as saying that the point $(x,y)$ is uniformly distributed on the unit square $[0,1]^2$.
We can partition the outcomes into two different sets: $0 \le x \le y \le 1$ and the symmetric $0 \le y < x \le 1$ ("above" and "below" the diagonal).
For a triangle to be formed, each piece shall be smaller that the sum of the others.
In the set "above", the three pieces have lengths $x, y-x, 1-y$.
Therefore we shall have $$ \eqalign{ & \left\{ \matrix{ 0 \le x \le y \le 1 \hfill \cr \left( {1 - y < y} \right)\; \wedge \left( {x < 1 - y + y - x} \right)\; \wedge \;\left( {y - x < x + 1 - y} \right) \hfill \cr} \right.\quad \Rightarrow \cr & \Rightarrow \quad \left\{ \matrix{ 0 \le x \le y \le 1 \hfill \cr \left( {1/2 < y} \right)\; \wedge \left( {x < 1/2} \right)\; \wedge \;\left( {y - x < 1/2} \right) \hfill \cr} \right. \cr} $$ and it is easy to see that the conditions define a right triangle (that in yellow in the sketch) with sides $1/2$, and thus with an area which is $1/4$ of the "above" diagonal triangle, and the two symmetric possible areas total as well $1/4$ of the unit square.
case b) -present - second break dependent on the first
The first cutting point $x$ is uniformly distributed on $[0,1]$.
Once $x$ has been selected, $y$ is uniformly chosen on the longer segment, which is either $x$ or $1-x$.
That means that either $x \le 1/2$ and $x \le y$ or $1/2 < x$ and $y < x$.
The possible cases are represented by the unit square, deducting the two shaded triangles.
The positive results remain as above, but now their ratio is $1/3$.