document.write( "Question 870669: Dear math tutor,\r
\n" ); document.write( "\n" ); document.write( "A(7,2) and C(1,4) are two vertices of a square ABCD. Find the equation of the diagonal BD. Find the coordinates of B and D.\r
\n" ); document.write( "\n" ); document.write( "with gratitude,
\n" ); document.write( "nats
\n" ); document.write( "

Algebra.Com's Answer #525105 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "Find the slope of the line connecting A and C.
\n" ); document.write( "\"m=%284-2%29%2F%281-7%29=2%2F-6=-1%2F3\"
\n" ); document.write( "Diagonal BD is perpendicular to diagonal AC so their slopes are negative reciprocals of each other.
\n" ); document.write( "\"m%5Bperp%5D%2A%28-1%2F3%29=-1\"
\n" ); document.write( "\"m%7Bperp%5D=3\"
\n" ); document.write( "Diagonal BD also goes through the midpoint of AC.
\n" ); document.write( "\"x%5Bm%5D=%287%2B1%29%2F2=8%2F2=4\"
\n" ); document.write( "\"y%5Bm%5D=%282%2B4%29%2F2=6%2F2=3\"
\n" ); document.write( "Use this point to find the line, BC, \"y=3x%2Bb\"
\n" ); document.write( "\"3=3%284%29%2Bb\"
\n" ); document.write( "\"b=-9\"
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"y=3x-9\"
\n" ); document.write( "
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "The distance from the midpoint to points B and D is the same as the distance from the midpoint to A and C.
\n" ); document.write( "\"D%5E2=%287-4%29%5E2%2B%282-3%29%5E2\"
\n" ); document.write( "\"D%5E2=9%2B1\"
\n" ); document.write( "\"D%5E2=10\"
\n" ); document.write( "The distance from the midpoint to B and D is,
\n" ); document.write( "\"10=%28x-4%29%5E2%2B%28y-3%29%5E2\"
\n" ); document.write( "But you also know that B and D lie on the line \"y=3x-9\"
\n" ); document.write( "So substituting.
\n" ); document.write( "\"10=%28x-4%29%5E2%2B%283x-9-3%29%5E2\"
\n" ); document.write( "\"10=x%5E2-8x%2B16%2B9x%5E2-72x%2B144\"
\n" ); document.write( "\"10=10x%5E2-80x%2B160\"
\n" ); document.write( "\"10x%5E2-80x%2B150=0\"
\n" ); document.write( "\"x%5E2-8x%2B15=0\"
\n" ); document.write( "\"%28x-3%29%28x-5%29=0\"
\n" ); document.write( "Two solutions:
\n" ); document.write( "\"x-3=0\"
\n" ); document.write( "\"x=3\"
\n" ); document.write( "Then
\n" ); document.write( "\"y=3%283%29-9\"
\n" ); document.write( "\"y=0\"
\n" ); document.write( "and
\n" ); document.write( "\"x-5=0\"
\n" ); document.write( "\"x=5\"
\n" ); document.write( "Then,
\n" ); document.write( "\"y=3%285%29-9\"
\n" ); document.write( "\"y=6\"
\n" ); document.write( "B and D are (3,0) and (5,6)
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" );