Solutions to Exercises 3.3
1. If we take into account only the arithmetical operations involved into
computing the Euclidean distance between two points versus computing
2. Sort the numbers in ascending order, compute the differences between ad-
jacent numbers in the sorted list, and find the smallest such difference. If
3. a. If we put the post office at location the average distance between it
and all the points 1
2 is given by the formula 1
P
=1 |−
is minimized when belongs to each of the intervals [1
]⊃[2
−1]⊃ ⊃
[2
2+1]If must be one of the points given, either 2or 2+1 solves
the problem.
Let 1be odd. Then, the sum P
=1 |−|is minimized when =
b. Assuming that the points 1
2 are given in increasing order, the
answer is the point that is the closest to =(1+)2themiddlepoint
between 1and (The middle point would be the obvious solution if the
25