document.write( "Question 1195476: What is the distance of the shortest path between the line y=2x + 12 and the point (5,3)? \n" ); document.write( "
Algebra.Com's Answer #827972 by ikleyn(52797)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "What is the distance of the shortest path between the line y=2x + 12 and the point (5,3)?
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "All you need to do is to find the distance from the point (5,3) to the given straight line  y = 2x + 12.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Write equation of the line in EQUIVALENT form  2x - y + 12 = 0.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "There is a remarkable formula which ideally suits for this problem.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    Let the straight line in a coordinate plane is defined in terms of its linear equation \r\n" );
document.write( "\r\n" );
document.write( "         a*x + b*y + c = 0,\r\n" );
document.write( "\r\n" );
document.write( "    where \"a\", \"b\" and \"c\" are real numbers, and let P = (\"x%5B0%5D\",\"y%5B0%5D\") be the point in the coordinate plane. \r\n" );
document.write( "\r\n" );
document.write( "    Then the distance from the point P to the straight line is equal to\r\n" );
document.write( "\r\n" );
document.write( "        d = \"abs%28a%2Ax%5B0%5D+%2B+b%2Ay%5B0%5D+%2B+c%29%2Fsqrt%28a%5E2+%2B+b%5E2%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Regarding this formula, see the lesson\r\n" );
document.write( "    The distance from a point to a straight line in a coordinate plane\r\n" );
document.write( "in this site.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Substitute the coefficients  a= 2, b= -1, c= 12,  \"x%5B0%5D\" = 5,  \"y%5B0%5D\"= 3  into the formula to get the distance under the question\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    d = \"abs%282%2A5+%2B+%28-1%29%2A3+%2B+12%29%2Fsqrt%282%5E2%2B%28-1%29%5E2%29\" = \"19%2Fsqrt%285%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Answer.  The distance from the point to the line is  \"19%2Fsqrt%285%29\" = \"%2819%2Asqrt%285%29%29%2F5\" = 8.497  (rounded).\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" );