Given points in the complex plane, determine a point the sum of whose squared distances from the points and the real axis is a minimum.
Solution
Let stand for an arbitrary complex number and denote by its imaginary part. Then we want to minimize the expression
If denotes the centroid of the given points, so that , then,
using , we easily obtain
Hence,
But, if , , where are real numbers, then
which takes its minimum when . Hence
\min f = \frac{n^2 b^2}{(n+1)^2} + \frac{n b^2}{(n+1)^2} + \sum_{k=1}^{n} |m - a_k|^2 = \frac{n(\operatorname{Im}(m))^2}{n+1} + \sum_{k=1}^{n} |m - a_k|^2.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.