MathLabs

Problem 3

Let x1,x2,…,xnx_1, x_2, \ldots, x_n be real numbers satisfying x12+x22+⋯+xn2=1x_1^2 + x_2^2 + \cdots + x_n^2 = 1. Prove that for every integer k≥2k \ge 2 there are integers a1,a2,…,ana_1, a_2, \ldots, a_n, not all 00, such that ∣ai∣≤k−1|a_i| \le k - 1 for all ii and ∣a1x1+a2x2+⋯+anxn∣≤(k−1)nkn−1|a_1 x_1 + a_2 x_2 + \cdots + a_n x_n| \le \dfrac{(k-1)\sqrt{n}}{k^n - 1}.
Step 3 of 6: Bound every S(c) by Cauchy–Schwarz
In plain words

Cauchy–Schwarz says a weighted sum can never be much bigger than the sizes of its two ingredient vectors multiplied together — here that ceiling is exactly (k−1)n(k-1)\sqrt n.

0≤S(c)≤(k−1)nfor every c∈{0,…,k−1}n0 \le S(c) \le (k-1)\sqrt{n} \quad \text{for every } c \in \{0,\ldots,k-1\}^n
Detailed analysis

Since yi≥0y_i\ge0 and ci≥0c_i\ge0, clearly S(c)≥0S(c)\ge0. By the Cauchy–Schwarz inequality, S(c)=∑ciyi≤∑ci2⋅∑yi2≤n(k−1)2⋅1=(k−1)nS(c)=\sum c_iy_i\le\sqrt{\sum c_i^2}\cdot\sqrt{\sum y_i^2}\le\sqrt{n(k-1)^2}\cdot1=(k-1)\sqrt n, using ci≤k−1c_i\le k-1 and ∑yi2=1\sum y_i^2=1. So every one of the knk^n values S(c)S(c) lies in the interval [0,(k−1)n][0,(k-1)\sqrt n].