A point is chosen at random inside square . The probability that is neither the shortest nor the longest side of can be written as , where and are positive integers, , and is not divisible by the square of a prime. What is ?
- A)
- B)
- C)
- D)
- E)
Answer
A
Key insight
Whether AP beats BP depends on the square's vertical middle line; whether AP beats AB depends on a quarter circle around A. AP is the middle length in two regions.
Solution
The probability is an area. Split the square into regions where is the middle length, and add up their areas.
- Set up. Let the square have side , with , , , , and inside it. The triangle has sides , and .
2. What "neither shortest nor longest" means. must be the middle length. That can happen in two ways:
- Case 1: (the side is shortest, is longest);
- Case 2: (the side is shortest, is longest).
3. Draw the two dividing curves. Each comparison splits the square along a curve, so draw both.
- versus : points that are equally far from and lie on the vertical line . To the right of it, is closer to , so . To the left, .
- versus : points at distance from lie on the quarter circle with center and radius , running from to . Inside it, ; outside it (the corner near ), .
4. Read off the two cases.
- Case 1 is the part of the quarter circle to the right of the line .
- Case 2 is the part of the left half of the square that is outside the quarter circle. This is a thin sliver up near corner .
5. One shared piece. Let be the area of the part of the quarter circle to the left of the line . The whole quarter circle has area and the left half of the square has area , so
Together they give .
6. Find . The line meets the quarter circle at (check: ). The segment from to this point has length and its horizontal part is , so it makes a angle with (a -- triangle). Cut along this segment into two pieces:
- a right triangle with corners , , , with area ;
- a pie slice of the circle from to . That is of a full circle of area , so its area is .
So .
7. Put it together.
The square has area , so this is the probability (about ).
8. Read off the numbers. , , , , . The only number dividing all of is , and has no square factor. So
The answer is .
Why this works
Putting three lengths in order means comparing them two at a time, and each comparison is a curve in the square: "closer to or to " is the middle line, and "closer or farther than from " is a circle. Two curves cut the square into four regions, and " in the middle" is two of them, one on each side of the line. Every region here is built from triangles and pie slices, so no advanced tools are needed.
Alternative approach
Work out each case on its own. This takes a minute longer, but it shows how small Case 2 is, which is why it is so easy to forget.
- Case 1: .
- Case 2: .
Their sum is about , which matches .
The trap
Finding only the big region where BP is the shortest side and missing the thin sliver near corner D where AB is the shortest side. Without it the answer does not fit the required form.
Concise solution
Take the square to have side , with , , , , and let with . The three sides of are , and . Since is not on line , the triangle is genuine, and "neither shortest nor longest" simply means is strictly the middle one of the three lengths. So either
Two loci do all the work. is the perpendicular bisector , with on the right and on the left. is the quarter of the unit circle centred at that lies in the square, with inside it.
So Case 1 is the part of the quarter disc with , and Case 2 is the part of the left half of the square lying outside the quarter disc.
Let be the area of the piece of the quarter disc with . The quarter disc has area and the left half of the square has area , so
and the probability sought is .
Computing . The line meets the unit circle at , a point at angle from . Split along the radius to that point:
- the right triangle with vertices , , , of area ;
- the circular sector from to , of area .
Hence , and
The area of the square is , so this is the probability; numerically it is about , which is a plausible size for the region. Reading off , , , , (and , squarefree),
The answer is .
Review in the AoPS books
- Introduction to Counting & Probability, Chapter 10: Geometric Probability
- Introduction to Geometry, Chapter 11: Circles
- Introduction to Geometry, Chapter 17: Analytic Geometry
- 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)