返回题库

折断木棍成三段能否构成三角形

Forming a Triangle

专题
Probability / 概率
难度
L6

题目详情

一根长度为 1 的木棍在两处随机折断(两次断点在 [0,1] 上均匀,且独立)。得到三段长度。

问:这三段能组成一个非退化三角形的概率是多少?

A stick of 11 metre is randomly broken into three pieces. Given each break follows a uniform distribution along the stick, what is the probability that the three segments can form a valid triangle?

解析

经典“折断木棍”问题,答案为

14.\frac{1}{4}.

Original Explanation

Consider this problem in the 2D-Plane, let xx be the first break and yy be the second break such that x<yx < y. Therefore, the lengths of the three segments are xx, yxy-x, and 1y1-y. As you recall from geometry, in order for three side lengths to form a triangle, each side length must be less than the sum of the other two side lengths. We can rewrite this as:

x<(yx)+(1y)x<12x < (y-x) + (1-y) \Rightarrow x < \frac{1}{2} yx<x+(1y)y<x+12y-x < x + (1-y) \Rightarrow y < x + \frac{1}{2} 1y<x+(yx)y>121-y < x + (y-x) \Rightarrow y > \frac{1}{2}

Given these constraints (including x<yx<y), they cover 18\frac{1}{8} of the sample space of x,y[0,1]x,y \in [0, 1], which can be seen visually, along with the fact that the x<yx<y constraint only accounts for half of the possibilities since xx is equally likely to be greater than or less than yy. The final answer is 2×18=142 \times \frac{1}{8} = \frac{1}{4}.