Let be a square of side length . Two points are chosen at random on the sides of . The probability that the straight-line distance between the points is at least is , where , , and are positive integers with . What is ?
- A)
- B)
- C)
- D)
- E)
Answer
A
Key insight
Split by where the two points land: same side (chance 1/4), next-door sides (1/2), or opposite sides (1/4). Find the success chance in each case and weight it.
Solution
Where the two points are depends on which sides they land on, so split into cases, solve each one, and then combine.
Step 1: how likely each case is.
- Each point lands on one of the sides, each equally likely. Fix the side of the first point. The second point is on the same side with chance , on one of the next-door sides with chance , and on the opposite side with chance .
Step 2: the chance of success in each case. In each case, describe the two points by two numbers between and (how far along its side each point is). All pairs are equally likely, so a chance is an area inside a square.
2. Same side. Positions and on one side; the distance is the gap between them. We need the gap to be at least . Examples: , works; , does not. In the square of pairs, the good pairs fill two corner triangles, each with legs and area . So the chance is .
3. Next-door sides. Put the shared corner at , one point at and the other at . The distance is . It is less than when the pair lies inside a quarter circle of radius around the corner, with area
So the chance of success is .
4. Opposite sides. The two points are at least apart (the width of the square), which is more than . The chance of success is .
Step 3: combine. Multiply each case's chance by its success chance and add:
So , , , which share no common factor, and .
The answer is .
Why this works
When the situation comes in different kinds (here, which pair of sides), handle each kind separately and weight it by how often it happens. Inside each kind, two positions between and make a square of possibilities, and the chance is an area. The in the answer form was a hint that one case involves a circle: the points near a corner.
Alternative approach
Find the chance of failure (distance less than ) and subtract from . Same side fails with chance , contributing . Next-door sides contribute . Opposite sides never fail. So the failure chance is , and the success chance is .
The trap
Treating the three cases as equally likely instead of weighting them 1/4, 1/2, 1/4, or getting 1/2 instead of 1/4 for the same-side case.
Concise solution
A uniformly random point on the boundary amounts to picking one of the four sides (each with probability ) and then a uniform position along it. For two points, the sides are the same with probability , adjacent with probability , and opposite with probability .
Same side. Positions ; we need . In the unit square of this region is two right triangles with legs , total area .
Adjacent sides. Put the shared corner at the origin, so the points are and and the distance is . The failing region is a quarter disc of radius , area . Success probability .
Opposite sides. The distance is at least the side length , so success probability .
Combine with the weights:
Here , , with , so .
The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 10: Geometric Probability
- Introduction to Counting & Probability, Chapter 7: Introduction to Probability
- Introduction to Geometry, Chapter 11: Circles
- Introduction to Counting & Probability, Chapter 2: Basic Counting Techniques (§2.2)
Techniques
Split into exhaustive cases and handle each · Cut the figure into known shapes (triangles, rectangles, sectors)