Five friends live on the same street. Their houses are at points A, B, C, D, and E, with the distances shown.

The five friends decide to meet at point P so that the total walking distance for all five friends is minimized. What is AP?

PLEASE HELP ALL HELP IS APPRECIATED

vockeyvockvock Feb 9, 2021

#1**+2 **

Make this into a number line like this:

The sum of the distances from P to A, B, C, D, and E, respectively, are \(|x| + |x-1| + |x-2| + |x-5| + |x-7|\).

P will be equal to the x value that will result in the minimum possible distance.

The global minimum will only occur in critical points, which in this case are 0, 1, 2, 5, and 7.

Testing them out, 2 will result in the smallest possible sum of the distances of 11. \(\)

That means P will be on point C, which means AP will be equal to \(\boxed{2}\)

(by the way, I'm not too good at calculating global minima, so maybe there is a faster way to do it than to just test out critical points)

textot Feb 10, 2021