Let $a_1,...,a_n$ be a sequence of positive numbers. Show that
$$(a_1+a_2+\cdots+a_n)\left(\frac{1}{a_1}+\frac{1}{a_2}+\cdots+\frac{1}{a_n}\right)\geq n^2$$
Hint: Use the fact that for $x>0$ we have $x+(1/x)\geq 2$.
My idea is to use induction. But I can't seem to make it work. On the other hand, I don't see how the hint is going to take me where I need to go.