The distance from a line to a point not on the line is the shortest (perpendicular) distance from the point to the line.
y = 2x-5 has slope 2.
Any line perpendicular to y = 2x-5 has slope -1/2.
We are looking for the point, P, on the line such that the slope of the line through P and (-6,-2) is equal to -1/2.
Since P lies on the line, P = (x, 2x-5).
So, (2x-5-(-2))/(x-(-6)) = -1/2
(2x-3)/(x+6) = -1/2
2(2x-3) = -1(x+6)
4x-6 = -x-6
5x = 0
x = 0 So, P = (0,-5)
The distance, D, that we are looking for is the distance between (-6,-2) and (0,5).
D = √[(0-(-6))2 + (-5-(-2))2] = √45 = 3√5 ≈ 6.7
Michael J.
09/13/16