document.write( "Question 1195337: A straight line L1 is reflected in the mirror line y=2x to give the image L2 whose equation is y=1/2 x+2. Find the equation of L1. Give your answer in the form ax+by=c where a, b and c are integers \n" ); document.write( "
Algebra.Com's Answer #827814 by ikleyn(52786)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "A straight line L1 is reflected in the mirror line y=2x to give
\n" ); document.write( "the image L2 whose equation is y=1/2 x+2. Find the equation of L1.
\n" ); document.write( "Give your answer in the form ax+by=c where a, b and c are integers
\n" ); document.write( "~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "First, let's find the intersection point of the mirror line y = 2x\r\n" );
document.write( "and line L2 whose equation is y = (1/2)x+2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "For it, we should solve the system of two equations\r\n" );
document.write( "\r\n" );
document.write( "    y = 2x,\r\n" );
document.write( "\r\n" );
document.write( "    y = 0.5x + 2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It quickly reduces to \r\n" );
document.write( "\r\n" );
document.write( "    2x = 0.5x + 2,\r\n" );
document.write( "\r\n" );
document.write( "which gives the solution\r\n" );
document.write( "\r\n" );
document.write( "    1.5x = 2,  x = \"2%2F1.5\" = \"2%2F%28%283%2F2%29%29\" = \"4%2F3\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Thus the mirror line and L2 intersect at the point  with x-coordinate  \"4%2F3\"  and y-coordinate  \"2%2A%284%2F3%29\" = \"8%2F3\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Again, the intersection point of the mirror line and L2 is the point (x,y) = (\"4%2F3\",\"8%2F3\").\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "It means that line L1 also passes through this point (it is the reason why we found this point).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    +----------------------------------------------------------------+\r\n" );
document.write( "    |      At this point, half of the problem is just solved.        |\r\n" );
document.write( "    |    From this point, the other half of the solution starts.     |\r\n" );
document.write( "    +----------------------------------------------------------------+\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "The mirror line y = 2x has the slope 2;       it means that its angle \"a\" with x-axis is tan(a) = 2.\r\n" );
document.write( "\r\n" );
document.write( "Line L2 y = (1/2)x+2 has the slope 1/2 = 0.5; it means that its angle \"b\" with x-axis is tan(b) = 0.5.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Let's find the angle (a-b) between these lines.  We have \r\n" );
document.write( "\r\n" );
document.write( "    tan(a-b) = \"%28tan%28a%29-tan%28b%29%29%2F%281%2Btan%28a%29%2Atan%28b%29%29\" = \"%282-0.5%29%2F%281%2B2%2A0.5%29\" = \"1.5%2F2\" = 0.75 = \"3%2F4\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "After mirroring about y = 2x, line L2 becomes L1 with the angle with x-axis a+(a-b) = 2a-b.\r\n" );
document.write( "\r\n" );
document.write( "I want to calculate tan(2a-b), since it gives me the slope of line L1.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "I calculate tan(2a) first: it is  tan(2a) = \"tan%5E2%28a%29%2F%281-tan%5E2%28a%29%29\" = \"2%5E2%2F%281-2%5E2%29\" = \"-4%2F3\".\r\n" );
document.write( "\r\n" );
document.write( "Next, I calculate tan(2a-b).  It is\r\n" );
document.write( "\r\n" );
document.write( "    tan(2a-b) = \"%28tan%282a%29-tan%28b%29%29%2F%281%2Btan%282a%29%2Atan%28b%29%29\" = \"%28-4%2F3-3%2F4%29%2F%281-%284%2F3%29%2A%283%2F4%29%29\" = \"%28%28-25%2F12%29%29%2F%281-1%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "In the denominator, we have 1-1 = 0; it means that line L1 is vertical.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Since line L1 is vertical and passes through the point  (\"4%2F3\",\"8%2F3\"),  its equation is\r\n" );
document.write( "\r\n" );
document.write( "    x = \"4%2F3\",\r\n" );
document.write( "\r\n" );
document.write( "or\r\n" );
document.write( "\r\n" );
document.write( "    3x = 4.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  An equation of line L1 in the requested form is 3x = 4, or (which is the same) 3x + 0*y = 4.\r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "Solved.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "This problem is of a Math Circle level.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );