# 2015 AMC 12A Problems/Problem 23

## Problem

Let $S$ be a square of side length 1. Two points are chosen independently at random on the sides of $S$. The probability that the straight-line distance between the points is at least $\frac12$ is $\frac{a-b\pi}{c}$, where $a,b,$ and $c$ are positive integers and $\text{gcd}(a,b,c) = 1$. What is $a+b+c$?

$\textbf{(A)}\ 59 \qquad\textbf{(B)}\ 60 \qquad\textbf{(C)}\ 61 \qquad\textbf{(D)}}\ 62 \qquad\textbf{(E)}\ 63$ (Error compiling LaTeX. ! Extra }, or forgotten \$.)

## Solution

Each segment of half of the length of a side of the square is identical, so arbitrarily choose one.

The portion of the square within $0.5$ units of a point on that segment is $0.5+d+\sqrt{.25-d^2}$ where $d$ is the distance from the corner. The integral from $0$ to $0.5$ of this formula resolves to $6+\frac{\pi}{8}$, so the probability of choosing a point within $0.5$ of the first point is $\frac{6+\pi}{32}$. The inverse of this is $\frac{26-\pi}{32}$, so $a+b+c= \boxed{\textbf{(A)}\ 59}$.

## See Also

 2015 AMC 12A (Problems • Answer Key • Resources) Preceded byProblem 22 Followed byProblem 24 1 • 2 • 3 • 4 • 5 • 6 • 7 • 8 • 9 • 10 • 11 • 12 • 13 • 14 • 15 • 16 • 17 • 18 • 19 • 20 • 21 • 22 • 23 • 24 • 25 All AMC 12 Problems and Solutions
Invalid username
Login to AoPS