1

I am trying to solve this double sigma but my answer doesn't seem right. $$\sum\limits_{i=1}^n \sum\limits_{j=i}^{n^2}1=-i\sum\limits_{i=1}^n n^2 = -in^3$$

zz20s
  • 6,712
ocram
  • 743
  • 2
  • 7
  • 15

2 Answers2

1

Second term should be $$\sum_{i=1}^n (n^2 - i+1) = n^3+n - \sum_{i=1}^n i = n^3+n - \frac{n(n+1)}2$$

Ant
  • 21,098
1

Yeah, I'm not sure what you're doing, but if you wind up with the index of summation outside the summation you're doing something wrong. "$i,j$" are not variables here, they are placeholder symbols that is used to compactify notation. As a result, they have no meaning on their own and can't exist outside the summation. This is similar to how the "dummy variable" of integration isn't a real variable and can't exist outside the integral.

Isolating the inside give us $$\sum_{j=i}^{n^2}j^0=n^2-i+1$$ and now we plug this into the outside sum to get $$\sum_{i=1}^{n}(n^2-i+1)=n^3-\frac{n^2+n}{2}+n$$