Difference between revisions of "2021 WSMO Accuracy Round Problems/Problem 5"

 
Line 3: Line 3:
  
 
==Solution 1==
 
==Solution 1==
[asy]
+
<asy>
 
size(150);
 
size(150);
 
draw(polygon(8)); for(int i=45; i<=360; i+=45){ dot(rotate(22.5)*dir(i)); }  
 
draw(polygon(8)); for(int i=45; i<=360; i+=45){ dot(rotate(22.5)*dir(i)); }  
label("<math>D</math>",dir(337.5),SE);  
+
label("$D$",dir(337.5),SE);  
label("<math>C</math>",dir(22.5),NE);  
+
label("$C$",dir(22.5),NE);  
label("<math>B</math>",dir(67.5),N);  
+
label("$B$",dir(67.5),N);  
label("<math>E</math>",dir(292.5),S);  
+
label("$E$",dir(292.5),S);  
label("<math>F</math>",dir(247.5),S);  
+
label("$F$",dir(247.5),S);  
label("<math>G</math>",dir(202.5),W);  
+
label("$G$",dir(202.5),W);  
label("<math>H</math>",dir(157.5),NW);  
+
label("$H$",dir(157.5),NW);  
label("<math>A</math>",dir(112.5),N);
+
label("$A$",dir(112.5),N);
label("<math>O</math>",(0,0),S);
+
label("$O$",(0,0),S);
 
dot((0,0),red);
 
dot((0,0),red);
 
draw(dir(112.5)--dir(67.5)--(0,0)--cycle,red);
 
draw(dir(112.5)--dir(67.5)--(0,0)--cycle,red);
 
dot(dir(112.5),red);
 
dot(dir(112.5),red);
 
dot(dir(67.5),red);
 
dot(dir(67.5),red);
label("<math>5</math>",(0,1.05));
+
label("$5$",(0,1.05));
 
draw(anglemark(dir(67.5),(0,0),dir(112.5)),red);
 
draw(anglemark(dir(67.5),(0,0),dir(112.5)),red);
label("<math>45^{\circ}</math>",(0,0.25),N);
+
label("$45^{\circ}$",(0,0.25),N);
[/asy]
+
</asy>
 
Let the center of the octagon be <math>O.</math> We will focus on triangle <math>AOB.</math> Let <math>AO=OB=x.</math> From the Law of Cosines on triangle <math>AOB,</math> we find that <cmath>x^2+x^2-2x^2\cdot\cos{(45^{\circ})}=5^2=25\implies</cmath><cmath>(2-\sqrt{2})x^2=25\implies x^2=\frac{25}{2-\sqrt{2}}=\frac{25(2+\sqrt{2})}{2}.</cmath> Now, let the distance from the center of the octagon to one of its sides be <math>h.</math> This means that <cmath>[AOB]=\frac{5h}{2}.</cmath> In addition, from the sine area formula, <cmath>[AOB]=\frac{1}{2}\sin{\angle{AOB}}\cdot AO\cdot BO=\frac{x^2\sqrt{2}}{4}=\frac{25(\sqrt{2}+1)}{4}.</cmath> Therefore, we have <cmath>\frac{5h}{2}=\frac{25(\sqrt{2}+1)}{4}\implies h=\frac{5+5\sqrt{2}}{2}\Longrightarrow5+5+2+2=\boxed{14}.</cmath>
 
Let the center of the octagon be <math>O.</math> We will focus on triangle <math>AOB.</math> Let <math>AO=OB=x.</math> From the Law of Cosines on triangle <math>AOB,</math> we find that <cmath>x^2+x^2-2x^2\cdot\cos{(45^{\circ})}=5^2=25\implies</cmath><cmath>(2-\sqrt{2})x^2=25\implies x^2=\frac{25}{2-\sqrt{2}}=\frac{25(2+\sqrt{2})}{2}.</cmath> Now, let the distance from the center of the octagon to one of its sides be <math>h.</math> This means that <cmath>[AOB]=\frac{5h}{2}.</cmath> In addition, from the sine area formula, <cmath>[AOB]=\frac{1}{2}\sin{\angle{AOB}}\cdot AO\cdot BO=\frac{x^2\sqrt{2}}{4}=\frac{25(\sqrt{2}+1)}{4}.</cmath> Therefore, we have <cmath>\frac{5h}{2}=\frac{25(\sqrt{2}+1)}{4}\implies h=\frac{5+5\sqrt{2}}{2}\Longrightarrow5+5+2+2=\boxed{14}.</cmath>
 
~pinkpig
 
~pinkpig

Latest revision as of 09:55, 11 July 2022

Problem

Suppose regular octagon $ABCDEFGH$ has side length $5.$ If the distance from the center of the octagon to one of the sides can be expressed as $\frac{a+b\sqrt{c}}{d}$ where $\gcd{(a,b,d)}=1$ and $c$ is not divisible by the square of any prime, find $a+b+c+d.$

Solution 1

[asy] size(150); draw(polygon(8)); for(int i=45; i<=360; i+=45){ dot(rotate(22.5)*dir(i)); }  label("$D$",dir(337.5),SE);  label("$C$",dir(22.5),NE);  label("$B$",dir(67.5),N);  label("$E$",dir(292.5),S);  label("$F$",dir(247.5),S);  label("$G$",dir(202.5),W);  label("$H$",dir(157.5),NW);  label("$A$",dir(112.5),N); label("$O$",(0,0),S); dot((0,0),red); draw(dir(112.5)--dir(67.5)--(0,0)--cycle,red); dot(dir(112.5),red); dot(dir(67.5),red); label("$5$",(0,1.05)); draw(anglemark(dir(67.5),(0,0),dir(112.5)),red); label("$45^{\circ}$",(0,0.25),N); [/asy] Let the center of the octagon be $O.$ We will focus on triangle $AOB.$ Let $AO=OB=x.$ From the Law of Cosines on triangle $AOB,$ we find that \[x^2+x^2-2x^2\cdot\cos{(45^{\circ})}=5^2=25\implies\]\[(2-\sqrt{2})x^2=25\implies x^2=\frac{25}{2-\sqrt{2}}=\frac{25(2+\sqrt{2})}{2}.\] Now, let the distance from the center of the octagon to one of its sides be $h.$ This means that \[[AOB]=\frac{5h}{2}.\] In addition, from the sine area formula, \[[AOB]=\frac{1}{2}\sin{\angle{AOB}}\cdot AO\cdot BO=\frac{x^2\sqrt{2}}{4}=\frac{25(\sqrt{2}+1)}{4}.\] Therefore, we have \[\frac{5h}{2}=\frac{25(\sqrt{2}+1)}{4}\implies h=\frac{5+5\sqrt{2}}{2}\Longrightarrow5+5+2+2=\boxed{14}.\] ~pinkpig

Solution 2

Note that the area of a polygon with $n$ sides, $s$ side length, and $l$ apothem (distance from the center to one of the sides) can be expressed as $(nsl)/2.$ Applying this formula, we get \[(8\cdot 5\cdot l)/2=40l/2=20l.\] Now, we need something to equate to this. Remember that the area of a regular octagon with side length $s$ is $2s^2(1+\sqrt{2}).$ This means that the area of octagon $ABCDEFGH$ is $50+50\sqrt{2}.$ Therefore, the answer is \[l=\frac{50+50\sqrt{2}}{20}=\frac{5+5\sqrt{2}}{2}\implies \boxed{14}.\] ~captainnobody