Why is $$\sum_{i=0}^{n}1=(n+1)?$$ I mean, as 1 does not depend on $i$, so shouldn't be the sum equals to 1 (as I was adding nothing, just keeping 1)?
2026-04-14 07:53:49.1776153229
Why is $\sum_{i=0}^{n}1=(n+1)$?
367 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
In general, for any function $f$
$$\sum_{i=0}^n f(i) = f(0)+f(1)+f(2) + \dots + f(n)$$
Hence, if we let $f$ be the constant function $1$, then
$$\sum_{i=0}^n 1 = 1+ 1+ \dots + 1 = n+1$$