Skip to main content

2020 AMC 12B Problem 25

Problem 25 of 25HarderAlgebraCounting & Probability

For each real number aa with 0a1,0 \le a \le 1, let numbers xx and yy be chosen independently at random from the intervals [0,a][0, a] and [0,1],[0, 1], respectively, and let P(a)P(a) be the probability that sin2(πx)+sin2(πy)>1.\sin^2(\pi x) + \sin^2(\pi y) \gt 1. What is the maximum value of P(a)?P(a)?

Answer choices

Show solution

Solution

Since sin2(πy)=1cos2(πy),\sin^2(\pi y) = 1 - \cos^2(\pi y), the condition is sinπx>cosπy.|\sin \pi x| \gt |\cos \pi y|. For fixed x,x, the probability over y[0,1]y \in [0, 1] is g(x)=2xg(x) = 2x for 0x120 \le x \le \tfrac12 and g(x)=22xg(x) = 2 - 2x for 12x1.\tfrac12 \le x \le 1. Then P(a)=1a0ag(x)dx.P(a) = \tfrac1a \int_0^a g(x)\,dx. For a12,a \le \tfrac12, P(a)=a,P(a) = a, increasing to 12.\tfrac12. For a12,a \ge \tfrac12, P(a)=2aa212a=2a12a. \begin{gathered} P(a) = \frac{2a - a^2 - \tfrac12}{a} \\ {}= 2 - a - \frac{1}{2a}. \end{gathered} Setting the derivative to zero gives 2a2=1,2a^2 = 1, so a=12,a = \tfrac{1}{\sqrt2}, and P ⁣(12)=22.P\!\left(\tfrac{1}{\sqrt2}\right) = 2 - \sqrt2. Thus, the correct answer is B.

More practice

Concepts: geometric probability · optimization · calculus

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.