I was solving the following limit problem :
$$L=\lim_{n\to\infty}\sum_{r=1}^{n}\frac{r}{n^2+r^2}$$
Upon opening sum, we have :
$$L= \frac{1}{n^2+1}+\frac{2}{n^2+4}...+\frac{n}{n^2+n}$$
Clearly, each term approaches to zero as $n\to\infty$ . But , my teacher said we cannot add all zeroes and say that answer is zero. This is because there are infinitely many zeroes and $(0\times\infty$) is indeterminate. However, in various limits problems where we had to use series expansions ( like of $\lim_{x\to0}\frac{e^x-1}{x} , \frac{\sin(x)}{x}$, etc.) , we did put zeroes and ignored the sum of infinite zeroes.
For example :
$$\frac{\sin(x)}{x} = 1- \frac{x^2}{6}+\frac{x^4}{120}...$$ As $x\to0$ ,
$$\lim_{x\to0}\frac{\sin(x)}{x}=1+0 +0+0+0...$$ Similarly, for any $n≤r≤1$,
$$\lim_{n\to\infty}\frac{r}{n^2+r^2}=0 $$ So that ; $$\lim_{n\to\infty}\sum\frac{r}{n^2+r^2}=0 + 0 + 0... $$
We get the correct answer in first case but it's wrong in second.
Question:
When and why can the sum of infinite zeroes be exact zero or indeterminate ?
Edit:
I am not interested in finding the answer to this limit problem. My question is about when and when not can we add infinitely many terms approaching zero. The limit used above in my question was just an example to illustrate my main question.