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 probabilityoptimizationcalculus
Small hint:
The condition is ∣sin⁡πx∣>∣cos⁡πy∣;|\sin \pi x| \gt |\cos \pi y|; for fixed x,x, the probability over yy is a simple triangular function
Big hint:
Express P(a)=1a∫0ag(x) dxP(a) = \tfrac1a \int_0^a g(x)\,dx where gg rises then falls, then maximize over aa
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|. For fixed x,x, the probability over y∈[0,1]y \in [0, 1] is g(x)=2xg(x) = 2x for 0≤x≤120 \le x \le \tfrac12 and g(x)=2−2xg(x) = 2 - 2x for 12≤x≤1.\tfrac12 \le x \le 1.
Then P(a)=1a∫0ag(x) dx.P(a) = \tfrac1a \int_0^a g(x)\,dx. For a≤12,a \le \tfrac12, P(a)=a,P(a) = a, increasing to 12.\tfrac12. For a≥12,a \ge \tfrac12, P(a)=2a−a2−12a=2−a−12a. \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)=2−2.P\!\left(\tfrac{1}{\sqrt2}\right) = 2 - \sqrt2.
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.