I am having a little difficulty trying to solve a beginner proof in the topic of inner product spaces.
The statement says,
suppose $a_1,…,a_n \in \mathbb R$,
Prove that $(a_1+…+a_n)^{2}/n \le a_1^2+…+a_n^2$
I am thinking I definitely need to use the Cauchy shwarz inequality but there is a few things I am unclear on. Is $(a_1+…+a_n)^{2}$= $\lt a_1+…+a_n,a_1…+a_n \gt $, and how else to approach. Any answers or help would be appreciated, thanks a lot!
Hint: $$ \frac{(a_1 + \cdots + a_n)^2}{n} = \left( \frac{a_1}{\sqrt{n}} + \cdots + \frac{a_n}{\sqrt{n}} \right)^2. $$ Can you use Cauchy-Schwarz on this?