document.write( "Question 1210201: Let ABCD be a square with side length 1. A laser is located at vertex A, which fires a laser beam at point X on side BC, such that BX = 2/3. The beam reflects off the sides of the square, until it ends up at another vertex; at this point, the beam will stop. Find the length of the total path of the laser beam. The diagram is linked below\r
\n" ); document.write( "\n" ); document.write( "https://artofproblemsolving.com/texer/zqcbfanp
\n" ); document.write( "

Algebra.Com's Answer #851581 by greenestamps(13195)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Your link does not show a diagram....

\n" ); document.write( "The AI solution from the other tutor is wrong. That solution says the ray hits vertex D after the single reflection off side BC. That will not happen if the length of BC is 2/3. (Note that, by symmetry, the ray would hit vertex D after the single reflection off side BC if the length of BX were 1/2 instead of 2/3.)

\n" ); document.write( "Let Y be the point on CD where the ray hits after reflecting off side BC.

\n" ); document.write( "Since the angle of reflection is the same as the angle of incidence, triangles ABX and YCX are similar. Since BX is 2/3 and CX is 1/3, the ratio of similarity between the two triangles is 2:1.

\n" ); document.write( "But then, by that ratio of similarity, CY is half the length of AB, which is a side of the square. So Y is the midpoint of CD.

\n" ); document.write( "From there, we can see by symmetry that the ray will reflect off side CD and continue to vertex B.

\n" ); document.write( "Here is a diagram, with the path of the ray in red, starting from vertex A and ending at vertex B.

\n" ); document.write( "

\n" ); document.write( "From the Pythagorean Theorem with AB=1 and BX=2/3, the length of AX is \"sqrt%2813%29%2F3\".

\n" ); document.write( "Because of the similarity of triangles ABX and YCX, the length of XY is \"sqrt%2813%29%2F6\".

\n" ); document.write( "That makes the length of the path of the ray from A to X to Y \"sqrt%2813%29%2F3%2Bsqrt%2813%29%2F6=sqrt%2813%29%2F2\".

\n" ); document.write( "And then by symmetry the path from Y to side AD and then on to vertex B is again \"sqrt%2813%29%2F2\".

\n" ); document.write( "So the total length of the path from vertex A to vertex B, reflecting off sides BC, CD, and DA, is \"sqrt%2813%29\".

\n" ); document.write( "ANSWER: \"sqrt%2813%29\"

\n" ); document.write( "
\n" ); document.write( "
\n" );