1

I want to find a maximum for $\sum_i^n x_i$ subject to $\sum_i^n x_i^2 \leq c$, where c is some constant.

I've done some searching and that's hinted at using the Cauchy-Schwarz inequality, but I don't yet see how to use it here.

1 Answers1

1

$$ \left\lvert \sum_i 1x_i \right\rvert^2 \leqslant \left( \sum_i 1 \right) \left( \sum_i x_i^2 \right) \leqslant nc, $$ applying Cauchy-Schwarz. Equality occurs precisely when the vectors $(1,1,\dotsc,1)$ and $(x_1,x_2,\dotsc,x_n)$ are parallel. It's easy after that.

Chappers
  • 67,606