Jump to content

Summation Question

Featured Replies

Hi, simple question I have here. I was wondering how you would go from the following expression:

 

equation.gif

 

to this one:

 

equation1.gif?

 

 

 

 

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].

  • Author

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

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].

Archived

This topic is now archived and is closed to further replies.

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.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.