document.write( "Question 1209482: Vertices of a regular octagon are connected as shown. What fraction of the octagon is shaded?\r
\n" ); document.write( "\n" ); document.write( "Link to graph: https://ibb.co/gFTD6Rg
\n" ); document.write( "

Algebra.Com's Answer #848933 by ikleyn(52788)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Vertices of a regular octagon are connected as shown. What fraction of the octagon \"highlight%28area%29\" is shaded?\r
\n" ); document.write( "\n" ); document.write( "Link to graph: https://ibb.co/gFTD6Rg
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "Let \"a\" be the side length of this regular octagon.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Then the area of the whole octagon is (3a)^2 - 2a^2 = 9a^2 - 2a^2 = 7a^2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It is because the area of the square accommodating the octagon is (3a)^2,\r\n" );
document.write( "from which we should subtract/(cut) four halves of squares with side length \"a\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "OK.  Now, in the picture, we have the shadowed triangle and another, greater triangle,\r\n" );
document.write( "that accommodates the shadowed triangle.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "This greater triangle area is, obviously,  \"3a%5E2%2F2\", since this greater triangle is half \r\n" );
document.write( "of the rectangle with sides \"a\" and 3a.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now our goal is to estimate the area of the shadowed triangle.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "These two triangles, the shadowed and the greater one, are right-angled triangles with the common\r\n" );
document.write( "acute angle. So, these two triangles are similar.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "To estimate the area of the shadowed triangle, it is enough to find the coefficient of similarity \r\n" );
document.write( "of the triangles.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Compare the longest legs of these two triangles.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "For the greater  triangle, the length of its longest leg is 3a.\r\n" );
document.write( "\r\n" );
document.write( "For the shadowed triangle, the length of its longest leg is the radius of the circumscribed circle \r\n" );
document.write( "about the regular octagon.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The formula expressing the radius of the circumscribed circle via the side of the regular octagon is\r\n" );
document.write( "\r\n" );
document.write( "    r = \"%28%28a%2F2%29%29%2Fsin%2822.5%5Eo%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "So, the similarity coefficient for the two triangles is (as the ratio of the smaller to the larger)\r\n" );
document.write( "\r\n" );
document.write( "    k = \"r%2F%283a%29\" = \"%28%28a%2F2%29%29%2F%283a%2Asin%2822.5%5Eo%29%29\" = \"1%2F%286%2Asin%2822.5%5Eo%29%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Well known fact is that sin(22.5°) = \"sqrt%282-sqrt%282%29%29%2F2\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Therefore, the similarity coefficient for the two triangles is  \r\n" );
document.write( "\r\n" );
document.write( "    k = \"1%2F%286%2A%28sqrt%282-sqrt%282%29%29%2F2%29%29\" = \"1%2F%283%2Asqrt%282-sqrt%282%29%29%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Thus the area of the shadowed triangle is\r\n" );
document.write( "\r\n" );
document.write( "    area = \"%283a%5E2%2F2%29%2Ak%5E2\" = \"%28%283a%5E2%2F2%29%29%2F%289%2A%282-sqrt%282%29%29%29\" = \"a%5E2%2F%286%2A%282-sqrt%282%29%29%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "To calculate the fraction of the area, we should relate it to 7a^2, the area of the regular octagon.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Thus the  ANSWER  is:  fraction = \"1%2F%2842%282-sqrt%282%29%29%29\" = 0.0406454  (approximately).\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );