document.write( "Question 1181253: Given Point P moving along curve y = x^2 - 1 and point Q moving along line y = x - 3, find the coordinates of point Q and the distance between P and Q when the distance between those two points is minimized. \n" ); document.write( "
Algebra.Com's Answer #811111 by ikleyn(52787)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "Given Point P moving along curve y = x^2 - 1 and point Q moving along line y = x - 3,
\n" ); document.write( "find the coordinates of point Q and the distance between P and Q
\n" ); document.write( "when the distance between those two points is minimized.
\n" ); document.write( "~~~~~~~~~~~~~~~\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            My common sense tells me that we should find the point on the parabola, where the tangent line
\n" ); document.write( "            to the parabola is parallel to the given line, i.e. has the same slope of 1 as the given straight line.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "            Then the sough distance is the distance from this point to the line.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "To find the point on the parabola with the slope of the tangent line equal to one,\r\n" );
document.write( "take the derivative and equate it to 1\r\n" );
document.write( "\r\n" );
document.write( "    \"%28dy%29%2F%28dx%29\" = 2x = 1,  which gives  x= 0.5, y= 0.5^2 - 3 = 0.25 - 3 = -2.75.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "To find the distance from the point (0.5,-2.75) to the line y = x-3, use the general formula for the distance\r\n" );
document.write( "from the point (p,q) in the coordinate plane to the straight line Ax + By + C = 0.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "This formula is  d = \"abs%28Ap%2BBq%2BC%29%2Fsqrt%28A%5E2%2BB%5E2%29+\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "In our case,  the equation of the line is x - y - 3 = 0,  so  A = 1,  B = -1, C = -3,  p= 0.5,  q= -2.75.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "We substitute these values into the formula (*) and get the answer\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "    the distance  d = \"abs%281%2A0.5+%2B+%28-1%29%2A%28-2.75%29+%2B+%28-3%29%29%2Fsqrt%281%5E2+%2B+%28-1%29%5E2%29\" = \"abs%280.5+%2B+2.75+-+3%29%2Fsqrt%282%29\" = \"0.25%2Fsqrt%282%29\" = \"%280.25%2Asqrt%282%29%29%2F2\" = \"0.125%2Asqrt%282%29\" = 0.17678 (rounded).\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "ANSWER.  The minimal distance is  \"0.125%2Asqrt%282%29\" = 0.17678 (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( "//////////////\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Do not forget to post your  \"THANKS\"  to me for my teaching.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );