How to come up with Gauss arithmetic progression solution in this sum

90 Views Asked by At

I need to solve this: $\sum\limits_{k=0}^n k\\$

Using this specific method: $n + \sum\limits_{k=0}^{n-1} k\ = 0 + \sum\limits_{k=1}^n k\\$

Now this has to evaluate to: $\ n+\frac{n(n-1)}{2} = \frac{n(n+1)}{2} \\$

I don't know how to reach that result using that method, my results don't look like this.

2

There are 2 best solutions below

6
On BEST ANSWER

Writing $n + \sum\limits_{k=0}^{n-1} k = 0 + \sum\limits_{k=1}^n k$ does not take you much far, but the method is good if you consider the sums of squares instead. Set $$ S_1(n)=\sum_{k=0}^n k, \quad S_2(n)=\sum_{k=0}^n k^2, $$ and write \begin{align} S_2(n)+(n+1)^2 &=S_2(n+1)\\ &=0+\sum_{k=1}^{n+1}k^2\\ &=\sum_{k=0}^{n}(k+1)^2\\ &=\sum_{k=0}^{n}(k^2+2k+1)\\ &=\sum_{k=0}^{n}k^2+2\sum_{k=0}^{n}k+\sum_{k=0}^{n}1\\ &=S_2(n)+2S_1(n)+(n+1) \end{align} Comparing the starting point to the final one, we get $$ 2S_1(n)=(n+1)^2-(n+1)=n(n+1) $$

0
On

You say:

Now this has to evaluate to: $\ n+\frac{n(n-1)}{2} = \frac{n(n+1)}{2} \\$

I don't know how to reach that result using that method, my results don't look like this.

Well, if you expand the left hand side you get:

$$n+\frac{n(n-1)}{2}=\frac{2n}{2}+\frac{n(n-1)}{2}=\frac{2n+n^{2}-n}{2}=\frac{n+n^{2}}{2}=\frac{n(n+1)}{2}$$

Which is equal to the right hand side above.

References: Young Gauss and the sum of the first n positive integers further details some history about how to perform the sum.