I do not know how to start with the following exercise:
Let $x_1,x_2,\ldots,x_m \in \mathbb{R}^n$ be arbitrary and $a_1,a_2,\ldots,a_m$ strictly positive real numbers. Solve the following problem:
$$\min_{x \in \mathbb{R}^n} \sum_{k=1}^{m} a_k \|x-x_k\|^2$$
I think that this problem corresponds to finding the point hat is geometricallly "closest" to the $x_k$ (under weighted distances) but I do not know how to go further from here.
Could you help me?