Let $x_1,x_2,\cdots,x_{2m+1}\in \mathbb{R}$ such that $|x_{i}|\le 1$ and $x_1+x_2+\cdots+x_{2m+1}=0$. Show that $$\sum_{i=1}^{2m+1}x^2_i\le 2m.$$
My try: Let $x_{i}=\sin{y_{i}}$, then $\sum\limits_{i=1}^{2m+1}\sin y_i=0$, and show that $$\sum_{i=1}^{2m+1}\sin^2 y_i\le 2m.$$ It seems neither Cauchy-Schwarz inequality nor AM-GM inequality can be used.
And it is clear that $$\sum_{i=1}^{2m+1}x^2_{i}\le 1+1+\cdots+1=2m+1.$$ But I cannot prove for $2m$.
This answer is an excerpt from my answer to another question.
Without loss of generality, suppose $x_1, \cdots, x_k \geqslant 0$ and $x_{k + 1}, \cdots, x_{2n + 1} \leqslant 0$.
If $\sum\limits_{j = 1}^k x_j^2 \leqslant k - 1$, then$$ \sum_{j = 1}^{2n + 1} x_j^2 = \sum_{j = 1}^k x_j^2 + \sum_{j = k + 1}^{2n + 1} x_j^2 \leqslant (k - 1) + (2n - k + 1) = 2n. $$ If $\sum\limits_{j = k + 1}^{2n + 1} x_j^2 \leqslant 2n - k$, analogously there is $\sum\limits_{j = 1}^{2n + 1} x_j^2 \leqslant 2n$.
Now suppose$$ \sum_{j = 1}^k x_j^2 > k - 1, \quad \sum_{j = k + 1}^{2n + 1} x_j^2 > 2n - k. \tag{1} $$ Because$$ k - 1 < \sum_{j = 1}^k x_j^2 \leqslant \sum_{j = 1}^k x_j = -\left( \sum_{j = k + 1}^{2n + 1} x_j \right) \leqslant 2n - k, $$ then $2k < 2n + 1$, which implies $k \leqslant n$. Thus$$ n \leqslant 2n - k < \sum_{j = k + 1}^{2n + 1} x_j^2 \leqslant -\left( \sum_{j = k + 1}^{2n + 1} x_j \right) = \sum_{j = 1}^k x_j \leqslant k \leqslant n, $$ a contradiction. Therefore, (1) cannot hold.