Problem

Source: Romanian ROM TST 2004, problem 12, created by Harazi

Tags: inequalities, induction, n-variable inequality, Romanian TST, 2004



Let $n\geq 2$ be an integer and let $a_1,a_2,\ldots,a_n$ be real numbers. Prove that for any non-empty subset $S\subset \{1,2,3,\ldots, n\}$ we have \[ \left( \sum_{i \in S} a_i \right)^2 \leq \sum_{1\leq i \leq j \leq n } (a_i + \cdots + a_j ) ^2 . \] Gabriel Dospinescu