Problem with summation, how did he find this result?

  • Thread starter Thread starter Jncik
  • Start date Start date
  • Tags Tags
    Summation
Jncik
Messages
95
Reaction score
0

Homework Statement



Hi

I was trying to understand an algorithm analysis problem and I came to this point:

[PLAIN]http://img820.imageshack.us/img820/1834/unledytw.png

can someone explain me what he did there? Is there any other step between that should have been written in order for it to be more comprehensible?

thanks in advance
 
Last edited by a moderator:
Physics news on Phys.org
There may be a relevant identity, but in any case you can write out the first double summation and rearrange the terms in order to get the second equality.

(2/2 + 2/3 + ... 2/n) + (2/2 + 2/3 + ... 2/(n-1)) + ... + (2/2)
= (n-1)*2/2 + (n-2)*2/3 + ... + 1*2/n

All that remains is to convince yourself that this is actually what the second line reads.
 
Jncik said:

Homework Statement



Hi

I was trying to understand an algorithm analysis problem and I came to this point:

[PLAIN]http://img820.imageshack.us/img820/1834/unledytw.png

can someone explain me what he did there? Is there any other step between that should have been written in order for it to be more comprehensible?

thanks in advance

You are summing over a triangle in the k-i plane:

[URL]http://math.la.asu.edu/~kurtz/pix/doublesum.jpg[/URL]

It is just like reversing the order of integration in a double integral. You can read the limits from the picture.
 
Last edited by a moderator:
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top