Problem 83
Medium Geometric Probability

Two points M and N are chosen at random on a segment AB of…

Two points $M$ and $N$ are chosen at random on a segment $AB$ of length $l$. Determine the probability that none of the three segments obtained is longer than $a$, where $l\gt a\gt\frac l3$.

Explanation of Method

The two points split the segment into three parts. Work in the square $[0,l]^2$ of the positions of the points (area $l^2$). It is easier to compute the probability that some part is longer than $a$. For one given part, "this part is longer than $a$" corresponds to a region of area $(l-a)^2$ in the square. If $a\ge\frac l2$, two parts cannot both be longer than $a$; if $a\lt\frac l2$ they can, and inclusion–exclusion adds back the overlaps. This gives two formulas.

Step 1: The model

The points are at $x,y$, independent and uniform on $[0,l]$, so $(x,y)$ is uniform in the square $[0,l]^2$. Let $D_1,D_2,D_3$ be the left, middle and right parts (in order along the segment).

Step 2: One part longer than $a$

Take $x\lt y$ (the other half of the square is symmetric).

With both halves of the square, each event $\{D_i\gt a\}$ has probability

\[ P(D_i\gt a) = \frac{2\cdot\frac12(l-a)^2}{l^2} = \left(1-\frac al\right)^2. \]

Step 3: Two parts longer than $a$

Two parts longer than $a$ require $2a\lt l$. For $D_1\gt a$ and $D_3\gt a$ (with $x\lt y$): $a\lt x\lt y\lt l-a$, a triangle with legs $l-2a$. The same for the other pairs. So

\[ P(D_i\gt a,\ D_j\gt a) = \left(1-\frac{2a}l\right)^2 \quad (a\lt\tfrac l2), \qquad 0 \quad (a\ge\tfrac l2). \]

All three parts cannot exceed $a\gt\frac l3$, since they sum to $l$.

Step 4: Inclusion–exclusion

\[ P(\text{some part}\gt a) = 3\left(1-\frac al\right)^2 - 3\left(1-\frac{2a}{l}\right)_+^2. \]

Hence the probability that no part exceeds $a$:

\[ \boxed{P = \begin{cases} 1-3\left(1-\dfrac al\right)^2, & \dfrac l2\le a\lt l,\\[10pt] \left(\dfrac{3a}{l}-1\right)^2, & \dfrac l3\lt a\le\dfrac l2. \end{cases}} \]

For $a\lt\frac l2$: $1-3(1-\frac al)^2+3(1-\frac{2a}l)^2 = 1-\frac{6a}{l}+\frac{9a^2}{l^2} = (\frac{3a}l-1)^2$.

Step 5: Checks

$a$$P$
$0.4l$$0.0400$
$0.5l$$0.2500$
$0.6l$$0.5200$
$0.8l$$0.8800$
$0.9l$$0.9700$

A simulation with $a=0.4\,l$ gave $0.0402$, against $(1.2-1)^2=0.04$.


Result

Range of $a$P(no part longer than $a$)
$\frac l2\le a\lt l$$1-3(1-a/l)^2$
$\frac l3\lt a\le\frac l2$$(3a/l-1)^2$