Given a sequence $(x_n) \to 0$. Define $(y_n) = \frac{x_1 + \dots + x_n}{n}$. Prove that $(y_n) \to 0$.
Attempt: So we know $(x_n)$ converges to 0. So there exist some large enough $N \in \mathbb{N}$ such that when $n \ge N$, we have $|x_n - 0| < \epsilon$. This convergence also implies that $(x_n)$ is bounded. So $|x_n| \le M$ for some $M$.
Now, $|y_n - 0| = |\frac{x_1 + \dots > x_n}{n}| \le \frac{|x_1| + \dots |x_n|}{n} = \frac{|x_1| + \dots |x_{N-1}|}{n} + \frac{|x_{N}| + \dots + |x_n|}{n} \le \frac{(N-1)M}{n} + \frac{(n-N+1)\epsilon}{n}$
I understand that now, we just need to bound these two terms at the end here. But I am not sure how exactly the bounding works here? I'd appreciate if someone could explain how to choose that bound and why it works. Thank you.