Probability – Calculating Probability for Forming a Triangle

probability

I am having trouble coming up with a solution for this problem:

There is a stick of unit length. We break it into two parts.
Now, we pick the bigger one and break it into two parts.
I want to calculate the probability that the three pieces form a triangle.

The problem is from "Introduction to Probability, Charles M. Grinstead", Chapter 2.2, Exercise 13

Best Answer

Let $\lambda$ be the length of the bigger piece and we split it into two smaller pieces $\lambda\mu$ and $\lambda(1-\mu)$. It is clear $\lambda$ and $\mu$ are uniform random variables $\sim \mathcal{U}(\frac12,1)$ and $\mathcal{U}(0,1)$ respectively.

In order for the three pieces with lengths $\;1-\lambda, \lambda\mu, \lambda(1-\mu)\;$ to form a triangle, the necessary and sufficient conditions are the fulfillment of following three triangular inequalities: $$\begin{cases} \lambda \mu + \lambda (1-\mu) &\ge 1-\lambda\\ \lambda \mu + (1 - \lambda) &\ge \lambda (1-\mu)\\ \lambda (1-\mu) + (1-\lambda) &\ge \lambda \mu \end{cases} \quad\iff\quad \begin{cases} \lambda \ge \frac12\\ \mu \ge 1 - \frac{1}{2\lambda}\\ \frac{1}{2\lambda} \ge \mu \end{cases}$$ The first inequality is trivially satisfied because we are told to break the bigger piece.
The probability we seek is given by:

$$2\int_{1/2}^1 \int_{1-\frac{1}{2\lambda}}^{\frac{1}{2\lambda}} d\mu d\lambda = 2\int_{1/2}^1 \left(\frac{1}{\lambda} - 1 \right) d\lambda = 2\log 2 - 1 \approx 38.6294\%$$

Related Question