AMC 10 Step by Step

2025 AMC 10A Problem 20

P16-20~8 minPrint

A silo (right circular cylinder) with diameter 20 meters stands in a field. MacDonald is located 20 meters west and 15 meters south of the center of the silo. McGregor is located 20 meters east and g>0g > 0 meters south of the center of the silo. The line of sight between MacDonald and McGregor is tangent to the silo. The value of gg can be written as ab−cd\frac{a\sqrt{b}-c}{d} , where a,b,c,a,b,c, and dd are positive integers, bb is not divisible by the square of any prime, and dd is relatively prime to the greatest common divisor of aa and cc . What is the value of a+b+c+da+b+c+d ?

Log in to save your progress.
Show solution without answering

Key insight

Put the silo's center at (0, 0). The line of sight touches the silo when its distance from the center equals the radius, 10. That gives one equation for g.

Solution

The only fact given about the line of sight is that it is tangent to the silo, which means it just touches the circle. For a circle, "a line just touches it" means the line's distance from the center equals the radius. So put the center at the origin and use that.

1. Set up coordinates. Put the center of the silo at (0,0)(0, 0), with east as the positive xx-direction and north as the positive yy-direction. The diameter is 2020, so the radius is 1010. The two farmers are at
M=(−20,−15)(MacDonald),G=(20,−g)(McGregor).M = (-20, -15) \quad \text{(MacDonald)}, \qquad G = (20, -g) \quad \text{(McGregor)}.

2. Find the line through MM and GG. Its slope is
−g−(−15)20−(−20)=15−g40.\frac{-g - (-15)}{20 - (-20)} = \frac{15 - g}{40}.
Through MM, the line is y+15=15−g40(x+20)y + 15 = \frac{15-g}{40}(x + 20). Multiply both sides by 4040:
40y+600=(15−g)x+300−20g.40y + 600 = (15 - g)x + 300 - 20g.
Move everything to one side:
(15−g)x−40y−(300+20g)=0.(15 - g)x - 40y - (300 + 20g) = 0.
(Check with MM: (15−g)(−20)+600−300−20g=−300+20g+300−20g=0(15-g)(-20) + 600 - 300 - 20g = -300 + 20g + 300 - 20g = 0. Good.)

3. Distance from the center to the line. For a line Ax+By+C=0Ax + By + C = 0, the distance from (0,0)(0, 0) is ∣C∣A2+B2\dfrac{|C|}{\sqrt{A^2 + B^2}}. Here that is
300+20g(15−g)2+402.\frac{300 + 20g}{\sqrt{(15 - g)^2 + 40^2}}.
(The top is positive because g>0g > 0.) Set it equal to the radius:
300+20g(15−g)2+1600=10.\frac{300 + 20g}{\sqrt{(15-g)^2 + 1600}} = 10.

4. Solve for gg. Divide the top by 1010 and multiply across:
30+2g=(15−g)2+1600.30 + 2g = \sqrt{(15-g)^2 + 1600}.
Square both sides:
900+120g+4g2=225−30g+g2+1600.900 + 120g + 4g^2 = 225 - 30g + g^2 + 1600.
Collect everything on the left:
3g2+150g−925=0.3g^2 + 150g - 925 = 0.

5. Quadratic formula.
g=−150±1502+4⋅3⋅9252⋅3=−150±22500+111006=−150±336006.g = \frac{-150 \pm \sqrt{150^2 + 4 \cdot 3 \cdot 925}}{2 \cdot 3} = \frac{-150 \pm \sqrt{22500 + 11100}}{6} = \frac{-150 \pm \sqrt{33600}}{6}.
Since 33600=1600×2133600 = 1600 \times 21, we get 33600=4021\sqrt{33600} = 40\sqrt{21}. We need g>0g > 0, so take the plus sign:
g=4021−1506.g = \frac{40\sqrt{21} - 150}{6}.

6. Put it in the required form. The problem says dd must share no factor with the greatest common divisor of aa and cc. Here a=40a = 40, c=150c = 150 have greatest common divisor 1010, and d=6d = 6 shares the factor 22 with it, so this form is not allowed. Divide top and bottom by 22:
g=2021−753≈91.65−753≈5.55.g = \frac{20\sqrt{21} - 75}{3} \approx \frac{91.65 - 75}{3} \approx 5.55.
Now a=20a = 20, c=75c = 75 have greatest common divisor 55, which shares nothing with 33. Also 21=3×721 = 3 \times 7 has no square factor. So a=20a = 20, b=21b = 21, c=75c = 75, d=3d = 3.

  1. Add: 20+21+75+3=11920 + 21 + 75 + 3 = 119.

The answer is (A) 119\boxed{\textbf{(A)}\ 119}.

Why this works

"Tangent to a circle" turns into one equation: the distance from the center to the line equals the radius. Putting the center at the origin makes that distance formula as short as possible, and the only unknown left in it is gg. Next time a line touches a circle, reach for this before trying to find the touching point, which would add a second unknown.

Alternative approach

If you don't know the distance-to-a-line formula, use tangent lengths and Pythagoras. Let TT be the point where the line of sight touches the silo, and OO the center. The radius OTOT meets the tangent line at a right angle.

1. From MacDonald: MO2=202+152=625MO^2 = 20^2 + 15^2 = 625, so MT=625−102=525=521MT = \sqrt{625 - 10^2} = \sqrt{525} = 5\sqrt{21}.
2. From McGregor: GO2=202+g2GO^2 = 20^2 + g^2, so GT=400+g2−100=300+g2GT = \sqrt{400 + g^2 - 100} = \sqrt{300 + g^2}.
3. TT lies between the two farmers, so MG=MT+GTMG = MT + GT. Also MG2=402+(15−g)2MG^2 = 40^2 + (15 - g)^2. So
1600+(15−g)2=521+300+g2.\sqrt{1600 + (15 - g)^2} = 5\sqrt{21} + \sqrt{300 + g^2}.
4. Square both sides: 1825−30g+g2=825+g2+1021300+g21825 - 30g + g^2 = 825 + g^2 + 10\sqrt{21}\sqrt{300 + g^2}, which simplifies to 100−3g=21300+g2100 - 3g = \sqrt{21}\sqrt{300 + g^2}.
5. Square again: 10000−600g+9g2=6300+21g210000 - 600g + 9g^2 = 6300 + 21g^2, that is 12g2+600g−3700=012g^2 + 600g - 3700 = 0. Dividing by 44 gives the same equation 3g2+150g−925=03g^2 + 150g - 925 = 0 as before.

Concise solution

A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.

Place the centre of the silo at the origin, with east the positive xx-direction and north the positive yy-direction. The diameter is 2020, so the silo is the circle x2+y2=100x^2 + y^2 = 100. The two farmers are at
M=(−20,−15),G=(20,−g).M = (-20, -15), \qquad G = (20, -g).

The line MGMG has slope −g−(−15)20−(−20)=15−g40\dfrac{-g - (-15)}{20 - (-20)} = \dfrac{15-g}{40}, so its equation is 40(y+15)=(15−g)(x+20)40(y + 15) = (15-g)(x+20), that is
(15−g) x−40y−(300+20g)=0.(15-g)\,x - 40y - (300 + 20g) = 0.

Tangency to the silo means the distance from the origin to this line equals the radius 1010:
300+20g(15−g)2+1600=10\frac{300 + 20g}{\sqrt{(15-g)^2 + 1600}} = 10
(the numerator is positive because g>0g > 0). Dividing by 1010 and squaring,
(30+2g)2=(15−g)2+1600,(30 + 2g)^2 = (15-g)^2 + 1600,
900+120g+4g2=g2−30g+1825,900 + 120g + 4g^2 = g^2 - 30g + 1825,
3g2+150g−925=0.3g^2 + 150g - 925 = 0.

By the quadratic formula,
g=−150±1502+4⋅3⋅9256=−150±336006=−150±40216.g = \frac{-150 \pm \sqrt{150^2 + 4 \cdot 3 \cdot 925}}{6} = \frac{-150 \pm \sqrt{33600}}{6} = \frac{-150 \pm 40\sqrt{21}}{6}.
Since 33600=1600⋅21=4021\sqrt{33600} = \sqrt{1600 \cdot 21} = 40\sqrt{21} and only the ++ sign gives g>0g > 0,
g=4021−1506=2021−753≈5.55.g = \frac{40\sqrt{21} - 150}{6} = \frac{20\sqrt{21} - 75}{3} \approx 5.55.

The normalisation in the problem picks out this last form: with a=20a = 20, b=21b = 21, c=75c = 75, d=3d = 3 we have gcd⁡(a,c)=5\gcd(a,c) = 5 and gcd⁡(d,5)=1\gcd(d, 5) = 1, as required, while the unreduced 4021−1506\frac{40\sqrt{21}-150}{6} fails because gcd⁡(6,gcd⁡(40,150))=2\gcd(6, \gcd(40,150)) = 2. Hence
a+b+c+d=20+21+75+3=119.a + b + c + d = 20 + 21 + 75 + 3 = 119.

The answer is (A) 119\boxed{\textbf{(A)}\ 119}.

Review in the AoPS books

Similar problems

Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site.