$$\sum_{i=1}^{n}f(i)+k = \sum_{i=1}^{n}\{f(i)+k\} = k+\sum_{i=1}^{n}f(i) $$
I'm more confused about the working of expression: $$\sum_{i=1}^{n}\{f(i)+k\}$$
Are all the 3 expressions equivalent?
$$\sum_{i=1}^{n}f(i)+k = \sum_{i=1}^{n}\{f(i)+k\} = k+\sum_{i=1}^{n}f(i) $$
I'm more confused about the working of expression: $$\sum_{i=1}^{n}\{f(i)+k\}$$
Are all the 3 expressions equivalent?
Nope. But these are:$$\sum_{i=1}^{n}f(i)+nk = \sum_{i=1}^{n}\{f(i)+k\} = nk+\sum_{i=1}^{n}f(i) $$
If you're summing a constant $n$ times, you need to multiply it by $n$ if you want to bring it outside the summation
The second and third are different. The second one is
$$\{f(1)+k\}+\{f(2)+k\}+\{f(3)+k\}+...$$ which contains $n$ lots of $k$, so it equals $kn+\sum_{i=1}^nf(i)$.
The first one is ambiguous; I am not certain whether the sum includes $k$ within its scope, so it is equal to either the second or third one.