
William W. answered 11/18/22
Experienced Tutor and Retired Engineer
Finding the point on the line -5x + 7y - 5 = 0 that is closest to the point (1, -2) doesn't require calculus but can be done using calculus. You want to minimize the distance. To do so, we start with the distance equation:
d = √[(x2 - x1)2 + (y2 - y1)2]
We can plug in the point (1, -2) as one of the points. Let's choose (x1, y1) which then makes the equation:
d = √[(x2 - 1)2 + (y2 + 2)2]
The other point (x2, y2) is on the line so must comply with the equation -5x + 7y - 5 = 0 or 7y = 5x + 5 or y = (5x)/7 + 5/7 so we can substitute "(5x)/7 + 5/7" for y2 and just use "x" for x2 giving us:
d = √[(x - 1)2 + ((5x)/7 + 5/7 + 2)2] then simplify:
d = √[(x - 1)2 + ((5x)/7 + 5/7 + 14/7)2]
d = √[(x - 1)2 + ((5x)/7 + 19/7)2]
d = √[(x2 - 2x + 1) + ((25x2)/49 + (190x)/49 + 361/49)]
d = √[x2 + (25x2)/49 - 2x + (190x)/49 + 1 + 361/49]
d = √[(49x2)/49 + (25x2)/49 - (98x)/49 + (190x)/49 + 49/49 + 361/49]
d = √[(74x2)/49 + (92x)/49 + 410/49]
d(x) = (1/7)[74x2 + 92x + 410]1/2
Then take the derivative (using power rule and chain rule) and set it equal to zero and solve.
Note that the only way it can equal zero is when the numerator equals zero.
d'(x) =(1/14)[(74x2 + 92x + 410]-1/2 • [148x + 92]
1/14[(74x2 + 92x + 410]-1/2 • [148x + 92] = 0
148x + 92 = 0
x = -23/37
y = (5x)/7 + 5/7 = 5(-23/37)/7 + 5/7 = 10/37
So the point is (-23/37, 10/37)
HOWEVER, the easy way to solve this problem is using geometry. The point closest will be a point on the line that is perpendicular to -5x + 7y - 5 = 0 (which has a slope of 5/7) so the perpendicular has a slope of -7/5 and since it passes through (1, -2) the line is:
y + 2 = -7/5(x - 1)
To find the point on the line -5x + 7y - 5 = 0 that is also on y + 2 = -7/5(x - 1), solve the system of equations,
-5x + 7y - 5 = 0 is -5x + 7y = 5
y + 2 = -7/5(x - 1) is y = -7/5x - 3/5 or 7x + 5y = -3
-5x + 7y = 5 is -35x + 49y = 35
7x + 5y = -3 is 35x + 25y = -15
-35x + 49y = 35
35x + 25y = -15
----------------------
74y = 20
y = 20/74 = 10/37
Then using -5x + 7y = 5 or x = (7y)/5 - 1 so x = 7(10/37)/5 - 1 = -23/37