2005 AIME II Problem 12

Attempt Problem 12 of the 2005 AIME II 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 2005 AIME II solutions, or check the answer key.

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

12.

Square ABCDABCD has center O,O, AB=900,AB = 900, EE and FF are on AB‾\overline{AB} with AE<BFAE \lt BF and EE between AA and F,F, m∠EOF=45∘,m\angle EOF = 45^\circ, and EF=400.EF = 400. Given that BF=p+qr,BF = p + q\sqrt{r}, where p,p, q,q, and rr are positive integers and rr is not divisible by the square of any prime, find p+q+r.p + q + r.
Answer: 307
Concepts:trigonometric identityVieta’s Formulassquare (geometry)
Small hint:
Let GG be the midpoint of AB‾;\overline{AB}; then OG=450,OG = 450, and ray OGOG splits the 45∘45^\circ angle into α+β\alpha + \beta
Big hint:
From tan⁡α+tan⁡β=89\tan\alpha + \tan\beta = \frac{8}{9} and tan⁡(α+β)=1,\tan(\alpha + \beta) = 1, get tan⁡αtan⁡β=19;\tan\alpha\tan\beta = \frac{1}{9}; then solve a quadratic
Solution:
Let GG be the midpoint of AB‾,\overline{AB}, so OG⊥ABOG \perp AB and OG=450.OG = 450. With α=∠EOG\alpha = \angle EOG and β=∠FOG\beta = \angle FOG on either side of ray OG,OG, we have EG=450tan⁡α,EG = 450\tan\alpha, FG=450tan⁡β,FG = 450\tan\beta, and α+β=45∘.\alpha + \beta = 45^\circ. From EG+FG=EF=400,EG + FG = EF = 400, we get tan⁡α+tan⁡β=89.\tan\alpha + \tan\beta = \frac{8}{9}.
The tangent addition formula gives 1=tan⁡45∘=tan⁡α+tan⁡β1−tan⁡αtan⁡β,1 = \tan 45^\circ = \frac{\tan\alpha + \tan\beta}{1 - \tan\alpha\tan\beta}, so tan⁡αtan⁡β=1−89=19.\tan\alpha\tan\beta = 1 - \frac{8}{9} = \frac{1}{9}. Hence tan⁡α\tan\alpha and tan⁡β\tan\beta are the roots of 9t2−8t+1=0,9t^2 - 8t + 1 = 0, namely 4±79.\frac{4 \pm \sqrt{7}}{9}.
Since AE=450−EGAE = 450 - EG and BF=450−FG,BF = 450 - FG, the condition AE<BFAE \lt BF means EG>FG,EG \gt FG, so tan⁡β=4−79.\tan\beta = \frac{4 - \sqrt{7}}{9}. Then BF=450−450⋅4−79BF = 450 - 450 \cdot \frac{4 - \sqrt{7}}{9} =250+507,= 250 + 50\sqrt{7}, and p+q+r=250+50+7=307.p + q + r = 250 + 50 + 7 = 307.
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.