document.write( "Question 547990: Find the shortest distance between the point (4,2) and the line
\n" ); document.write( "y = 3/4x - 31.
\n" ); document.write( "

Algebra.Com's Answer #356676 by jim_thompson5910(35256)\"\" \"About 
You can put this solution on YOUR website!
\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: Finding a distance between a point given by coordinates (x, y) and a line given by equation y=ax+b
We want to find the perpendicular distance between a point given by coordinates (\"4\",\"2\")
\n" ); document.write( " and a line given by equation \"y=0.75%2Ax%2B-31\"
\n" ); document.write( "
\n" ); document.write( " First, let's draw a diagram of general situation with point P (xo, yo) and
\n" ); document.write( " line L: y= a.x + b. The required distance is PC. (in the diagram below)
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Methodology
\n" ); document.write( " We will first find the vertices of the triangle in order to get the side lengths and then by applying
\n" ); document.write( " Sine Rule on right angle triangle PAB and PBC we will calculate the desired distance PC.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Step1
\n" ); document.write( " Calculation of the vertices of triangle PAB:
\n" ); document.write( "
\n" ); document.write( " Draw a vertical line passing through the point 'P'. This line \"x=4\" will cut the given line 'L'
\n" ); document.write( " at point 'A'. The X coordinate of A(x1) will be same as \"xo=4\". To find the Y-coordinate of
\n" ); document.write( " 'A' we will use the fact that point 'A' lies on the given line 'L' and satisfies the equation
\n" ); document.write( " of the line 'L'
.
\n" ); document.write( " Now, plug this \"x1=4\" in to the equation of line: y=0.75*x+-31
\n" ); document.write( " \"y1=0.75%2A4+%2B-31\"
\n" ); document.write( " \"y1=-28\"
\n" ); document.write( "
\n" ); document.write( " Hence, Point (A)(\"x1=4\",\"y1=-28\")
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Similarly,
\n" ); document.write( " Draw a horizontal line passing through the point 'P'. This line \"y=2\" will cut the given line 'L'
\n" ); document.write( " at point 'B'. The Y coordinate of B(y2) will be same as \"yo=2\". To find the X-coordinate of
\n" ); document.write( " B we will use the fact that point 'B' lies on the given line 'L' and satisfies the equation
\n" ); document.write( " of the line 'L'
.
\n" ); document.write( " Now, plug this \"y2=2\" in to the equation of line: y=0.75*x+-31
\n" ); document.write( " \"2=0.75%2Ax2%2B-31\"
\n" ); document.write( " \"x2=+%282--31%29%2F0.75\"
\n" ); document.write( " \"x2=44\"
\n" ); document.write( "
\n" ); document.write( " Hence, Point (B)(\"x2=44\",\"y2=2\")
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Now, we have all the vertices of the triangle PAB
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Step2
\n" ); document.write( " Calculation of the side lengths using distance formula:
\n" ); document.write( "
\n" ); document.write( " \"d=sqrt%28%28x1-x2%29%5E2+%2B+%28y1-y2%29%5E2%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Hence, The side lengths PA, PB and AB are
\n" ); document.write( " \"PA=30\"
\n" ); document.write( " \"PB=40\"
\n" ); document.write( " \"AB=50\"
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " Step3
\n" ); document.write( " Apply Sine rule on common angle B in triangle PAB and triangle PBC.
\n" ); document.write( " Both triangle PAB and triangle PBC are right angle triangle and points 'A', 'B' and 'C' lay on the given line L.
\n" ); document.write( "
\n" ); document.write( " \"Sin%28B%29=+AP%2FAB=PC%2FBP\"
\n" ); document.write( "
\n" ); document.write( " \"PC=%28AP%2ABP%29%2FAB=+24\"
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " PC is the required perpendicular distance of the point P (4, 2) from line given
\n" ); document.write( " lineL1: y=0.75*x+-31.
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( " For better understanding of this concept, look at the Lesson based on the above concept.
\n" ); document.write( " Lesson
\n" ); document.write( "
\n" ); document.write( "
\n" );