Very short question. Could you please explain me why
$$\sum_{i=0}^{n-1} a = na$$ with $a$ a constant? I know that
$$\sum_{i=1}^{n} a = na$$
but in my case the sum starts from zero and finishes for $(n-1)$.
Thanks.
Very short question. Could you please explain me why
$$\sum_{i=0}^{n-1} a = na$$ with $a$ a constant? I know that
$$\sum_{i=1}^{n} a = na$$
but in my case the sum starts from zero and finishes for $(n-1)$.
Thanks.
On
What is the definition of $\sum_{i=0}^{n-1} x_i$? It is exactly $x_0+x_1+...x_{n-1}$. If $x_0=x_1=...x_{n-1}=a$ then it means you just sum $a$ $n$ times. And that gives $na$.
In both cases – $$\sum_{i=0}^{n-1}a\quad \text { and }\quad\sum_{i=1}^{n}a$$
– there are exactly $n$ summands.