返回题库

PUMaC 2007 · 组合(A 组) · 第 1 题

PUMaC 2007 — Combinatorics (Division A) — Problem 1

专题
Contest Math / 竞赛数学
难度
L3
来源
PUMaC

题目详情

在单位正方形中随机取一点并连到 (0,0)(0,0),再随机取第二点并连到 (1,0)(1,0)。求两条线段相交的概率。

英文原题

Take the square with vertices (0,0),(1,0),(0,1),(1,1)(0,0),(1,0),(0,1),(1,1). Choose a random point in the square and draw the segment from it to (0,0)(0,0). Choose a second random point in the square and draw the segment from it to (1,0)(1,0). What is the probability that the two segments intersect?

解析

设第一个点为 P=(x,y)P=(x,y),第二个点为 Q=(u,v)Q=(u,v)。两条线段相交当且仅当

xv≥yu,v(1−x)≤y(1−u).xv\ge yu,\qquad v(1-x)\le y(1-u).

这正是两端点分别位于对方线段两侧的方向判定条件。

固定 x,yx,y 后,QQ 的可行区域为

yxu≤v≤y(1−u)1−x.\frac{y}{x}u\le v\le \frac{y(1-u)}{1-x}.

对单位正方形上的 x,yx,y 积分,得到可行四维体积为

∫01∫01A(x,y) dy dx=14.\int_0^1\int_0^1 A(x,y)\,dy\,dx=\frac14.

所以所求概率为

14.\boxed{\frac14}.

英文解析

Let the first point be P=(x,y)P=(x,y) and the second be Q=(u,v)Q=(u,v). The segment from (0,0)(0,0) to PP and the segment from (1,0)(1,0) to QQ intersect exactly when

xv≥yu,v(1−x)≤y(1−u).xv\ge yu,\qquad v(1-x)\le y(1-u).

These are the two orientation conditions for the endpoints to lie on opposite sides of each segment.

For fixed xx and yy, the allowed region for QQ is

yxu≤v≤y(1−u)1−x.\frac{y}{x}u\le v\le \frac{y(1-u)}{1-x}.

Integrating this area over the unit square gives

∫01∫01A(x,y) dy dx=14.\int_0^1\int_0^1 A(x,y)\,dy\,dx=\frac14.

Thus the required probability is

14.\boxed{\frac14}.