1
$\begingroup$

How do I calculate $$\sum_{j=i}^{n}j?$$

WolframAlpha gave me $-\frac{1}{2}(i-n-1)(i+n)$ but I don't understand how it got there

$\endgroup$
2
  • $\begingroup$ This is the sum of an arithmetic progression. $\endgroup$ Oct 5, 2017 at 6:26
  • $\begingroup$ See this anecdote about Gauss to see how you can compute your sum by hand in seconds. $\endgroup$
    – Arthur
    Oct 5, 2017 at 6:32

3 Answers 3

4
$\begingroup$
  • We know $$\sum_{i=1}^{n}i = \frac{n(n+1)}{2}.$$

Therefor, we have

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

$\endgroup$
1
$\begingroup$

Alternatively: $$\sum_{j=i}^{n}j=i+(i+1)+(i+2)+\cdots +(\underbrace{i+k}_{n})=$$ $$i\cdot (k+1)+\frac{(k+1)k}{2}=\frac{(k+1)(2i+k)}{2}=$$ $$\frac{(n-i+1)(2i+n-i)}{2}=\frac{(n-i+1)(n+i)}{2}.$$

$\endgroup$
1
$\begingroup$

$$i+(i+1)+(i+2)+...+n=\\\underbrace{i}_{a_1}+\underbrace{i+1}_{a_2}+\underbrace{i+2}_{a_3}+...\\\text{ common-difference }=d=1$$ for arithmetic sum we have $$S_k=\frac{k(a_1+a_k)}{2}$$ number of terms $$=\frac{\text{the last}-\text{the first}}{d}+1\\=\frac{n-i}{1}+1=n-i+1$$ so $$\quad{\underbrace{i+(i+1)+(i+2)+...+n}_{(n-i+1) \text{ terms }}\\S_{n-i+1}=\frac{(n-i+1)(a_1+a_{n-i+1})}{2}=\\\frac{(n-i+1)(i+n)}{2}}$$

$\endgroup$
1
  • $\begingroup$ The common ratio should be common difference. $\endgroup$ Oct 5, 2017 at 6:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .