2026-05-27

Problem — 2026-05-27

Medium

MediumProbability

Let XX and YY be independent uniform random variables on [0,1][0, 1]. What is the probability that ∣X−Y∣<13|X - Y| < \frac{1}{3}?

Express as a fraction

Show solution
The sample space is the unit square. The region ∣X−Y∣≥13|X - Y| \geq \frac{1}{3} consists of two triangles, each with legs of length 23\frac{2}{3}, so each has area 12⋅(23)2=29\frac{1}{2} \cdot \left(\frac{2}{3}\right)^2 = \frac{2}{9}. Total area of the bad region: 49\frac{4}{9}. So P(∣X−Y∣<13)=1−49=59P(|X-Y| < \frac{1}{3}) = 1 - \frac{4}{9} = \frac{5}{9}.