I want to derive the closed form of
$$\sum_{i=1}^n d (i - 1)$$
d is a constant
Don't be harsh on me as I am getting back to math after some years of not using it ;)
I am finding only the result online, but for learning purpose I would love a step by step proof.
Meanwhile I am reading for a while finite calculus as in the end I want not only to understand, but do this myself.
Thank you!
we want: $$S=\sum_{r=1}^n d(r-1)$$ and we know that this is a summation where each term of $(r-1)$ is being multiplied by $d$, so we can say that this is the same as the whole summation multiplied by d, hence: $$\sum_{r=1}^n d(r-1)=d\sum_{r=1}^n (r-1)$$ now we can split this into two different summations: $$d\sum_{r=1}^n (r-1)=d\left(\sum_{r=1}^n r-\sum_{r=1}^n 1\right)$$ There is a known general formula for the summation of r: $$\sum_{r=1}^n r=\frac{n(n+1)}{2}$$ and we can see than $n$ lots of $1$ is just $n$, so: $$\sum_{r=1}^n1=n$$ so our summation becomes: $$S=d\left(\frac{n(n+1)}{2}-n\right)=\frac{dn(n-1)}{2}$$