AJ L. answered 04/20/23
Patient and knowledgeable Calculus Tutor committed to student mastery
Recall that the shortest distance between a line and a point is its perpendicular distance. So, the line perpendicular to x+y-5=0 at (1,1) is y=x, so we can just find x and y with simple substitution:
x+y-5=0
x+x-5=0
2x-5=0
2x=5
x=2.5
Since y=x, then y=2.5 as well, which means the point that is closest to (-1,-1) on the line x+y-5=0 is (2.5,2.5)
Hope this helped!