View Full Version : Sequences and Series
draotic
Nov24-11, 04:08 AM
1. The problem statement, all variables and given/known data
Find the sum of the products of every pair of the first 'n' natural numbers.
2. Relevant equations
sigma n^2 = n(n+1)(2n+1)/6
3. The attempt at a solution
S=1.2 + 1.3 + 1.4 .....+ 2.3 + 2.4 ........n-1(n)
i cant figure out how to proceed ..
Think about expanding the expression (1+2+...+n)*(1+2+...+n) like it was a polynomial.
draotic
Nov24-11, 10:36 AM
(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.
http://latex.codecogs.com/gif.latex?\large%20S=1.1+1.2+...+2.3+2.4+...+(n-1)n
http://latex.codecogs.com/gif.latex?\large%20\Rightarrow%20S=1(2+3+...+n)+2( 3+4+...+n)+...+(n-1)n+n(0)
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:
http://latex.codecogs.com/gif.latex?\large%20T_{r}=r\left%20[%20\frac{\left%20(%20n-r%20\right%20)}{2}\left%20(%20r+1+n%20\right%20)%2 0\right%20]
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.
http://latex.codecogs.com/gif.latex?\large%20S=\sum_{r=1}^{n}r\left%20[%20\frac{\left%20(%20n-r%20\right%20)}{2}\left%20(%20r+1+n%20\right%20)%2 0\right%20]
Now open it and you'll get the following:
http://latex.codecogs.com/gif.latex?\large%20S=\frac{n(n+1)}{2}\sum_{r=1}^{n }r-\frac{1}{2}\sum_{r=1}^{n}r^{2}-\frac{1}{2}\sum_{r=1}^{n}r^{3}
Simple equation in summation of r, r2 and r3
draotic
Nov25-11, 03:42 AM
That's a good question and very conceptual. Try to break your problem into a general summation which can be expressed by a variable.
http://latex.codecogs.com/gif.latex?\large%20S=1.1+1.2+...+2.3+2.4+...+(n-1)n
http://latex.codecogs.com/gif.latex?\large%20\Rightarrow%20S=1(2+3+...+n)+2( 3+4+...+n)+...+(n-1)n+n(0)
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:
http://latex.codecogs.com/gif.latex?\large%20T_{r}=r\left%20[%20\frac{\left%20(%20n-r%20\right%20)}{2}\left%20(%20r+1+n%20\right%20)%2 0\right%20]
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.
http://latex.codecogs.com/gif.latex?\large%20S=\sum_{r=1}^{n}r\left%20[%20\frac{\left%20(%20n-r%20\right%20)}{2}\left%20(%20r+1+n%20\right%20)%2 0\right%20]
Now open it and you'll get the following:
http://latex.codecogs.com/gif.latex?\large%20S=\frac{n(n+1)}{2}\sum_{r=1}^{n }r-\frac{1}{2}\sum_{r=1}^{n}r^{2}-\frac{1}{2}\sum_{r=1}^{n}r^{3}
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 . . . .
draotic
Nov25-11, 04:11 AM
i am told that this is a better way to do it..
but i cant begin to undrstand the (sigma n)^2 - sigma n^2 thing
http://latex.codecogs.com/gif.latex?\large%20\frac{\left%20(\sum_{r=1}^{n}r% 20\right%20)^{2}-\sum_{r=1}^{n}r^{2}}{2}
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.
http://latex.codecogs.com/gif.latex?\large%20\left%20(\sum_{r=1}^{n}r%20\rig ht%20)^{2}=(1+2+...+n)(1+2+...+n)
http://latex.codecogs.com/gif.latex?\large%20\Rightarrow%201(1+2+...+n)+2(1+ 2+...+n)+...+n(1+2+...+n)
http://latex.codecogs.com/gif.latex?\large%201.1+1.2+...+2.1+2.2+...+3.3+... n.n
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.
draotic
Nov25-11, 11:16 PM
http://latex.codecogs.com/gif.latex?\large%20\frac{\left%20(\sum_{r=1}^{n}r% 20\right%20)^{2}-\sum_{r=1}^{n}r^{2}}{2}
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.
http://latex.codecogs.com/gif.latex?\large%20\left%20(\sum_{r=1}^{n}r%20\rig ht%20)^{2}=(1+2+...+n)(1+2+...+n)
http://latex.codecogs.com/gif.latex?\large%20\Rightarrow%201(1+2+...+n)+2(1+ 2+...+n)+...+n(1+2+...+n)
http://latex.codecogs.com/gif.latex?\large%201.1+1.2+...+2.1+2.2+...+3.3+... n.n
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 !
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.