document.write( "Question 1106794: the point (2,-5) is a vertex of square one whose sides lies on the line x-2y=7 calculate the area of square \n" ); document.write( "
Algebra.Com's Answer #721779 by ikleyn(52781)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "
\r\n" );
document.write( "Notice that the point (2,-5) does not lie on the given line, because\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "2 - 2*(-5) = 2 + 10 = 12   IS NOT EQUAL  to 7.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Hence, we have the line, given by the equation, and a point outside this line.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Clearly, the measure of the side of the square is equal to the distance from the given point to the given line.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "To find this distance, you can use the general formula\r\n" );
document.write( "\r\n" );
document.write( "d = \"abs%28ap+%2B+bq+%2B+c%29%2Fsqrt%28a%5E2+%2B+b%5E2%29\".     (*)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "This formula gives the distance from the point (p,q) in the coordinate plane to the line whose equation is  ax + by + c = 0.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "In our case,  d = \"abs%282-2%2A%28-5%29-7%29%2Fsqrt%281%5E2+%2B+%28-2%29%5E2%29\" = \"abs%282%2B10-7%29%2Fsqrt%281%2B4%29\" = \"5%2Fsqrt%285%29\" = \"sqrt%285%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Thus we determined that the square side is \"sqrt%285%29\" units long.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Then the area of the square is  \"%28sqrt%285%29%29%5E2\" = 5.\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( "Regarding the formula (*), see the lesson\r
\n" ); document.write( "\n" ); document.write( "    - The distance from a point to a straight line in a coordinate plane\r
\n" ); document.write( "\n" ); document.write( "in this site.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );