Sum of Products of All Pairs of Natural Numbers

Click For Summary

Homework Help Overview

The problem involves finding the sum of the products of every pair of the first 'n' natural numbers, which falls under the subject area of combinatorial mathematics and summation techniques.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss expanding the expression of the sum of natural numbers and relate it to polynomial forms. There are attempts to express the problem in terms of known summation formulas, such as those for squares and linear sums. Some participants question the validity of their approaches and seek further guidance on specific steps.

Discussion Status

The discussion is active, with participants exploring different methods and interpretations of the problem. Some have offered insights into breaking down the problem into general summations, while others express uncertainty about specific steps or formulas. There is no explicit consensus, but several productive lines of reasoning are being pursued.

Contextual Notes

Participants mention constraints such as the need to consider specific cases (like r=n) and the implications of summing certain terms. There is also a reference to the potential complexity of handling non-square terms in the summation.

draotic
Messages
52
Reaction score
0

Homework Statement


Find the sum of the products of every pair of the first 'n' natural numbers.


Homework Equations


sigma n^2 = n(n+1)(2n+1)/6


The Attempt at a Solution


S=1.2 + 1.3 + 1.4 ...+ 2.3 + 2.4 ...n-1(n)
i can't figure out how to proceed ..
 
Physics news on Phys.org
Think about expanding the expression (1+2+...+n)*(1+2+...+n) like it was a polynomial.
 
(1+2+...n)^2 = (1.1 +2.2 ...n.n) + (1.2+1.3 ...1.n ...n-1.n)
please guide me further
 
You have a formula for summing the squares 1^2+2^2+...+n^2. You've probably got a formula for summing 1+2+..+n as well. Use it.
 
That's a good question and very conceptual. Try to break your problem into a general summation which can be expressed by a variable.

gif.latex?\large%20S=1.1+1.2+...+2.3+2.4+...gif

gif.latex?\large%20\Rightarrow%20S=1(2+3+...+n)+2(3+4+...+n)+...gif


Don't you worry about n(0), that thing is created to be zero, as you'll see in next step.

We can take the numbers outside the brackets as r, whose value varies from r=1,2,...,(n-1),n.

Now about the summation of numbers inside the bracket. You can take out their sum by AP. Since the first term of any bracket is (r+1) and the last term is always n, the number of terms can be figured as (n-r), since you're not counting first r natural number.

Therefore, our general term can be written as:

gif.gif


NOTE: Try considering r=n. It is a huge relief that Tn=0, or else we would have to manually subtract it in the end. Always consider manually checking last term in the general term, they may give you a problem.

Now fearlessly take summation of our series.

gif.gif


Now open it and you'll get the following:

gif.gif


Simple equation in summation of r, r2 and r3
 
AGNuke said:
That's a good question and very conceptual. Try to break your problem into a general summation which can be expressed by a variable.

gif.latex?\large%20S=1.1+1.2+...+2.3+2.4+...gif

gif.latex?\large%20\Rightarrow%20S=1(2+3+...+n)+2(3+4+...+n)+...gif


Don't you worry about n(0), that thing is created to be zero, as you'll see in next step.

We can take the numbers outside the brackets as r, whose value varies from r=1,2,...,(n-1),n.

Now about the summation of numbers inside the bracket. You can take out their sum by AP. Since the first term of any bracket is (r+1) and the last term is always n, the number of terms can be figured as (n-r), since you're not counting first r natural number.

Therefore, our general term can be written as:

gif.gif


NOTE: Try considering r=n. It is a huge relief that Tn=0, or else we would have to manually subtract it in the end. Always consider manually checking last term in the general term, they may give you a problem.

Now fearlessly take summation of our series.

gif.gif


Now open it and you'll get the following:

gif.gif


Simple equation in summation of r, r2 and r3
Thanx for the reply
summing up your equation , i got
n[n+1/2]^2 [ (3n-2)(n-1) / 12 ]
will you check if this right . . . .
 
i am told that this is a better way to do it..
but i can't begin to undrstand the (sigma n)^2 - sigma n^2 thing
 

Attachments

  • Sol.PNG
    Sol.PNG
    18.4 KB · Views: 509
gif.latex?\large%20\frac{\left%20(\sum_{r=1}^{n}r%20\right%20)^{2}-\sum_{r=1}^{n}r^{2}}{2}.gif


This is a better solution, but I was afraid of it since I was not fully sure whether it will work or not, but I guess in the end, my hunch was right! :biggrin:

Its simple enough. Let's see.

gif.latex?\large%20\left%20(\sum_{r=1}^{n}r%20\right%20)^{2}=(1+2+...+n)(1+2+...+n).gif


gif.latex?\large%20\Rightarrow%201(1+2+...+n)+2(1+2+...+n)+...+n(1+2+...gif


gif.latex?\large%201.1+1.2+...+2.1+2.2+...+3.3+...n.gif


As you can see, after multiplying, some squares are obtained, which we remove by Ʃr2.

Further more, You can see every non-square term will repeat two time, so we divide the remaining part by 2 and here we are.
 
AGNuke said:
gif.latex?\large%20\frac{\left%20(\sum_{r=1}^{n}r%20\right%20)^{2}-\sum_{r=1}^{n}r^{2}}{2}.gif


This is a better solution, but I was afraid of it since I was not fully sure whether it will work or not, but I guess in the end, my hunch was right! :biggrin:

Its simple enough. Let's see.

gif.latex?\large%20\left%20(\sum_{r=1}^{n}r%20\right%20)^{2}=(1+2+...+n)(1+2+...+n).gif


gif.latex?\large%20\Rightarrow%201(1+2+...+n)+2(1+2+...+n)+...+n(1+2+...gif


gif.latex?\large%201.1+1.2+...+2.1+2.2+...+3.3+...n.gif


As you can see, after multiplying, some squares are obtained, which we remove by Ʃr2.

Further more, You can see every non-square term will repeat two time, so we divide the remaining part by 2 and here we are.
Thanx AGNuke , that was some real help !
 
  • #10
Welcome! :wink:
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
14
Views
5K
Replies
5
Views
4K
  • · Replies 8 ·
Replies
8
Views
4K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 13 ·
Replies
13
Views
9K