Suppose I have a sequence $\{a_i\}_{i=1}^{\infty}$. I know that $a_i \geq 0$ for all $i$ and $\sum_{i=1}^{\infty}a_i < \infty$. Can I say that
$$ \lim_{i \to \infty} a_i = 0$$
Intuitively, I think this is true. If the limit tends to a positive number, the sum would explode as well. However, I'm having a hard time proving it formally. Can I get a hint?
We have $$\sum_{i=0}^n a_i\to S\ ,\qquad \sum_{i=0}^{n-1} a_i\to S$$ as $n\to\infty$, so $$a_n=\Bigl(\sum_{i=0}^n a_i\Bigr)-\Bigl(\sum_{i=0}^{n-1} a_i\Bigr)\to S-S=0\ .$$