Trying to find an easier way to compute the double sum

  • Thread starter Thread starter docnet
  • Start date Start date
  • Tags Tags
    Sum
Click For Summary
SUMMARY

The discussion centers on the computation of the double sum $$\sum_{i=0}^n\sum_{j=i+1}^n j$$ and its equivalence to the sum of squares $$\sum_{i=1}^n i^2$$. Participants explored various methods to prove this equality without directly calculating the sums. Key identities used include the formula for the sum of the first n integers and the sum of the first n squares, specifically $$\sum_{i=0}^n i^2 = \frac{n(n+1)(2n+1)}{6}$$. The conversation concludes with a confirmation that the double sum indeed equals the sum of squares, supported by algebraic manipulation and the binomial theorem.

PREREQUISITES
  • Understanding of double summation notation and concepts
  • Familiarity with algebraic identities, particularly the sum of squares
  • Knowledge of the binomial theorem and its applications
  • Basic skills in algebraic manipulation and proof techniques
NEXT STEPS
  • Study the derivation of the sum of squares formula $$\sum_{i=0}^n i^2 = \frac{n(n+1)(2n+1)}{6}$$
  • Explore the binomial theorem and its implications in combinatorial proofs
  • Learn about different summation techniques, including changing summation order
  • Investigate advanced topics in combinatorial mathematics, such as generating functions
USEFUL FOR

Mathematicians, educators, and students interested in combinatorial mathematics, algebraic proofs, and summation techniques will benefit from this discussion.

docnet
Messages
796
Reaction score
486
Homework Statement
.
Relevant Equations
.
I computed the double sum
$$\sum_{i=0}^n\sum_{j=i+1}^n j = \sum_{i=0}^n\big(\frac{n(n+1)}{2}-\frac{i(i+1)}{2}\big)=\frac{n(n+1)(2n+1)}{6}$$
and realized the double sum is equal to $$\sum_{i=1}^ni^2$$
which leads to
$$\sum_{i=0}^n\sum_{j=i+1}^n j = \sum_{i=1}^ni^2$$

Is there a proof of this equality that doesn't require computing out the sums?

I thought that I should try changing the boundaries of integration

##0\leq i+1\leq j\leq n## so

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

but I was unable to even do this properly since the above isn't equal to ##\frac{n(n+1)(2n+1)}{6}##
 
Last edited:
Physics news on Phys.org
docnet said:
I thought that I should try changing the boundaries of integration
Summation, not integration...
docnet said:
##0\leq i+1\leq j\leq n## so

$$\sum_{i=0}^n\sum_{j=i+1}^n j = \sum_{j=0}^n\sum_{i=0}^j j \dots$$

but I was unable to even do this properly since the above isn't equal to ##\frac{n(n+1)(2n+1)}{6}##
I would work with the two summations above, with paper and pencil, to see if they are generating the same terms. If not, that's your answer.
 
If I understand correctly, write\begin{align*}
\sum_{i=0}^n \sum_{j=i+1}^n j &= \sum_{i=0}^n \left( \frac{n(n+1)}{2} - \frac{i(i+1)}{2} \right) \\
&= \frac{n(n+1)^2}{2} - \dfrac{1}{2} \sum_{i=0}^n i^2 - \dfrac{1}{2} \sum_{i=0}^n i \\
&= \frac{n(n+1)^2}{2} - \dfrac{1}{2} \sum_{i=0}^n i^2 - \dfrac{n(n+1)}{4} \\
&= \dfrac{3}{2} \cdot \dfrac{n(n+1)(2n+1)}{6} - \dfrac{1}{2} \sum_{i=0}^n i^2
\end{align*}Can you finish it?
 
ergospherical said:
If I understand correctly, write\begin{align*}
\sum_{i=0}^n \sum_{j=i+1}^n j &= \sum_{i=0}^n \left( \frac{n(n+1)}{2} - \frac{i(i+1)}{2} \right) \\
&= \frac{n(n+1)^2}{2} - \dfrac{1}{2} \sum_{i=0}^n i^2 - \dfrac{1}{2} \sum_{i=0}^n i \\
&= \frac{n(n+1)^2}{2} - \dfrac{1}{2} \sum_{i=0}^n i^2 - \dfrac{n(n+1)}{4} \\
&= \dfrac{3}{2} \cdot \dfrac{n(n+1)(2n+1)}{6} - \dfrac{1}{2} \sum_{i=0}^n i^2
\end{align*}Can you finish it?
Hi, Thank you so much!

This is the way I computed the sum initially.

$$\dfrac{3}{2} \cdot \dfrac{n(n+1)(2n+1)}{6} - \dfrac{1}{2} \sum_{i=0}^n i^2$$

I used the identity
$$ \sum_{i=0}^n i^2=\dfrac{n(n+1)(2n+1)}{6}$$

so
$$\dfrac{3}{2} \cdot \dfrac{n(n+1)(2n+1)}{6} - \dfrac{1}{2} \sum_{i=0}^n i^2=\dfrac{n(n+1)(2n+1)}{6}$$

In the OP I was wondering if this was a coincidence that the double sum was equal to
$$\sum_{i=0}^n i^2$$

sorry, I suck at syntax.
 
Last edited:
this is the explanation I could find for the sum of squares: In elementary algebra, the binomial theorem (or binomial expansion) describes the algebraic expansion of powers of a binomial.
Screen Shot 2021-11-25 at 4.46.19 AM.png
 
  • Informative
Likes Office_Shredder
The double sum is equal to
1 + 2 + 3 + 4 + ... + n
+ 2 + 3 + 4 + ... + n
+ 3 + 4 + ... + n
...
+n
=1*1 + 2*2 + 3*3 + ... + n*n
 
  • Love
Likes docnet
mjc123 said:
The double sum is equal to
1 + 2 + 3 + 4 + ... + n
+ 2 + 3 + 4 + ... + n
+ 3 + 4 + ... + n
...
+n
=1*1 + 2*2 + 3*3 + ... + n*n
well that answers my wuestion nicely. thank you :)
 
  • Love
Likes docnet

Similar threads

  • · Replies 9 ·
Replies
9
Views
3K
Replies
4
Views
2K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
2
Views
2K
  • · Replies 29 ·
Replies
29
Views
6K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K