2020 AMC 12B Problem 25

Attempt Problem 25 of the 2020 AMC 12B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2020 AMC 12B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

25.

For each real number aa with 0≤a≤1,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 sin⁡2(πx)+sin⁡2(πy)>1.\sin^2(\pi x) + \sin^2(\pi y) \gt 1. What is the maximum value of P(a)?P(a)?
712\dfrac{7}{12}
2−22 - \sqrt{2}
1+24\dfrac{1 + \sqrt{2}}{4}
5−12\dfrac{\sqrt{5} - 1}{2}
58\dfrac58
Answer: B
Concepts:geometric probabilityoptimizationAM-GM Inequality
Small hint:
The condition is ∣sin⁡πx∣>∣cos⁡πy∣,|\sin \pi x| \gt |\cos \pi y|, which holds inside the square whose vertices are the midpoints of the unit square’s sides
Big hint:
P(a)P(a) is the area of that region with x≤a,x \le a, divided by a;a; maximize it with AM-GM
Solution:
Since sin⁡2(πy)=1−cos⁡2(πy),\sin^2(\pi y) = 1 - \cos^2(\pi y), the condition is ∣sin⁡πx∣>∣cos⁡πy∣.|\sin \pi x| \gt |\cos \pi y|. Here ∣cos⁡πy∣=sin⁡(π∣y−12∣)|\cos \pi y| = \sin\left(\pi\left|y - \tfrac12\right|\right) and sin⁡πx=sin⁡(πmin⁡(x,1−x)),\sin \pi x = \sin(\pi \min(x, 1-x)), with both angles in [0,π2],\left[0, \tfrac\pi2\right], where sine increases. So the condition is ∣y−12∣<min⁡(x,1−x):\left|y - \tfrac12\right| \lt \min(x, 1-x): the point lies inside the tilted square with vertices (0,12),\left(0, \tfrac12\right), (12,0),\left(\tfrac12, 0\right), (1,12),\left(1, \tfrac12\right), and (12,1),\left(\tfrac12, 1\right), which has area 12.\tfrac12.
The point (x,y)(x, y) is uniform on a rectangle of area a,a, so P(a)P(a) is the area of the part of the tilted square with x≤a,x \le a, divided by a.a. For a≤12a \le \tfrac12 that part is a triangle of area a2,a^2, so P(a)=a≤12.P(a) = a \le \tfrac12. For a≥12,a \ge \tfrac12, it is the tilted square minus a triangle with base 2(1−a)2(1-a) and height 1−a,1-a, so P(a)=12−(1−a)2a=2−a−12a. \begin{gathered} P(a) = \frac{\tfrac12 - (1-a)^2}{a} \\ {}= 2 - a - \frac{1}{2a}. \end{gathered}
By AM-GM, a+12a≥212=2,a + \tfrac{1}{2a} \ge 2\sqrt{\tfrac12} = \sqrt2, with equality at a=12,a = \tfrac{1}{\sqrt2}, which lies in [12,1].\left[\tfrac12, 1\right]. So the maximum is P ⁣(12)=2−2,P\!\left(\tfrac{1}{\sqrt2}\right) = 2 - \sqrt2, which beats 12.\tfrac12.
Thus, the correct answer is B.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.Terms of UsePrivacy PolicyCOPPA Privacy Policy