i need help in solving this particular summation

44 Views Asked by At

Lets assume i am asked to find the result of the following summation

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

Down below is my attempt at solving this summation

i know i can break down the summation like this...

$\sum_{i=1}^{n-2} i$ + $\sum_{i=1}^{n-2} -1$

this is where i am stuck....i thought at first that i can apply the following rule to the first summation.

$\sum_{i=1}^{n} i$ = $n(n +1)/ 2$

but the $n - 2$ is really throwing me off.

Can someone give me some advice on what to do next?

3

There are 3 best solutions below

2
On BEST ANSWER

Introduce a new variable, $m=n-2$.

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

0
On

Just apply the formula

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

0
On

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

so $$\boxed{\sum_{i=1}^{n-2} (i-1)=\frac12(n-2)(n-3)}$$