1

Suppose we have a set $S$ of $N$ real numbers. Show that $$\sum_{s_i\in S}|s_i-x|^0 $$ is minimal if $x$ is equal to the mode of S.

I'm a bit confused about that, because assuming $0^0 = 1$ the whole sum should always be equal to $N$. So it looks like this sum cannot be minimised in any way.

UPDATE: So it turns out the statement of the question as written above was not correct. It was taken from a book, but in the book the statement was slightly different. It asked

Show that for $$\lim_{q->0} \sum_{s_i\in S}|s_i-x|^q $$ is minimal if $x$ is equal to the mode of S.

I believe taking the limit $q \rightarrow 0$ instead of setting $q=0$ is what makes the difference.

asmaier
  • 2,763

1 Answers1

1

I agree that the sum is always equal to $N.$ This doesn't mean the sum cannot be minimised in any way: it means the sum is minimised for all values of $x\in\mathbb{R}.$ Moreover, this means that the proposition in the question is true, that is, if $x$ is the mode, then $x\in\mathbb{R},$ and so $x$ does technically minimise the expression $\displaystyle\sum_{s_i\in S}|s_i-x|^0 $ because every $x\in\mathbb{R}$ minimises the expression.

It is a weird and somewhat uninteresting/trivial proposition though.

Adam Rubinson
  • 24,300