Jump to content

Summation Question


liars_paradox

Recommended Posts

Assuming that n, m are constants:

 

[math]\sum_{j=i+1}^n \frac{1}{m} = (n- (i+1)+1) \cdot \frac{1}{m} = \frac{n-i}{m}[/math]

 

[math]\frac{1}{n}\sum_{i=1}^{n}(1 + \sum_{j=i+1}^n \frac{1}{m}) =\frac{1}{n} \sum_{i=1}^{n}(1 + \frac{n-i}{m}) = [/math]

 

[math] = \frac{1}{n} \cdot n \cdot (1 + \frac{n-i}{m}) = 1 + \frac{1}{n} \frac{n(n-i)}{m} = 1 + \frac{1}{nm} \cdot n(n-i) = [/math]

 

[math] = 1 + \frac{1}{mn} \sum_{i = 1}^{n} (n-i)[/math]

 

Don't know why you would want to simplify only partially though; the above result can still be simplified to [math]\frac{m+n-i}{m}[/math]. Basically all of the simplification made use of the fact that [math]\sum_{i=j}^{k} c = (j-k+1)\cdot c[/math] where [math] c \in \mathbb{R}[/math].

Link to comment
Share on other sites

Assuming that n, m are constants:

 

[math]\sum_{j=i+1}^n \frac{1}{m} = (n- (i+1)+1) \cdot \frac{1}{m} = \frac{n-i}{m}[/math]

What happened to the 2 here? Did you just simply drop it or did something else happen to it?

 

[math]\frac{1}{n}\sum_{i=1}^{n}(1 + \sum_{j=i+1}^n \frac{1}{m}) =\frac{1}{n} \sum_{i=1}^{n}(1 + \frac{n-i}{m}) = [/math]

 

[math] = \frac{1}{n} \cdot n \cdot (1 + \frac{n-i}{m}) = 1 + \frac{1}{n} \frac{n(n-i)}{m} = 1 + \frac{1}{nm} \cdot n(n-i) = [/math]

 

[math] = 1 + \frac{1}{mn} \sum_{i = 1}^{n} (n-i)[/math]

 

Don't know why you would want to simplify only partially though; the above result can still be simplified to [math]\frac{m+n-i}{m}[/math]. Basically all of the simplification made use of the fact that [math]\sum_{i=j}^{k} c = (j-k+1)\cdot c[/math] where [math] c \in \mathbb{R}[/math].

 

And, what about your formula: [math]\sum_{i=j}^{k} c = (j-k+1)\cdot c[/math]? Wouldn't it be more like [math]\sum_{i=j}^{k} c = (k-j+1)\cdot c[/math], where j is subtracted from k as opposed to it being the other way around?

Edited by liars_paradox
Link to comment
Share on other sites

I can't see a two anywhere. If you mean the two ones, don't forget that the minus sign will flip the signs inside the parenthesis, so [math](n- (i+1)+1)[/math] will become [math](n - i - 1+1)[/math].

 

And yes, my mistake; it should be [math] \sum_{i=j}^{k} c = (k-j+1)\cdot c [/math].

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.