document.write( "Question 749603: find the distance from (-6,-3) to the line defined by y=3x+5 . \n" ); document.write( "
Algebra.Com's Answer #456095 by josgarithmetic(39623)\"\" \"About 
You can put this solution on YOUR website!
A line containing (-6,-3) and is perpendicular to y=3x+5 also contains the point on both lines; this is the point closest to (-6,-3) on y=3x+5.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You want the line \"y=-%281%2F3%29x%2Bb\" which contains (-6,-3).
\n" ); document.write( "\"b=y%2B%281%2F3%29x\"
\n" ); document.write( "b=-3+(1/3)(-6)
\n" ); document.write( "b=-3-2
\n" ); document.write( "\"b=-5\".
\n" ); document.write( "The perpendicular line is \"y=-%281%2F3%29x-5\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "What is the intersection of \"y=-%281%2F3%29x-5\" with \"y=3x%2B5\" ?\r
\n" ); document.write( "\n" ); document.write( "\"-%281%2F3%29x-5=3x%2B5\"
\n" ); document.write( "\"-3x-%281%2F3%29x=10\"
\n" ); document.write( "\"3x%2B%281%2F3%29x=-10\"
\n" ); document.write( "\"9x%2B1x=-30\"
\n" ); document.write( "\"10x=-30\"
\n" ); document.write( "\"x=-3\"
\n" ); document.write( "Substituting this \"y=3%28x%29%2B5\"
\n" ); document.write( "\"y=3%28-3%29%2B5\"
\n" ); document.write( "\"y=-9%2B5\"
\n" ); document.write( "\"y=-4\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "That is the point (-3,-4). This is the point on BOTH lines, shortest distance on the y=3x+5 to (-6,-3).\r
\n" ); document.write( "\n" ); document.write( "How far is (-3,-4) from (-6,-3)?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Distance: \"sqrt%28%28-3-%28-6%29%29%5E2%2B%28-4-%28-3%29%29%5E2%29\"
\n" ); document.write( "\"sqrt%283%5E2%2B1%5E2%29\"
\n" ); document.write( "\"highlight%28sqrt%2810%29%29\"------------this is how far is y=3x+5 to (-6,-3).
\n" ); document.write( "
\n" ); document.write( "
\n" );